diff options
Diffstat (limited to 'intern/gawain/gawain/gwn_attr_binding.h')
-rw-r--r-- | intern/gawain/gawain/gwn_attr_binding.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/intern/gawain/gawain/gwn_attr_binding.h b/intern/gawain/gawain/gwn_attr_binding.h new file mode 100644 index 00000000000..a209e1c4f0f --- /dev/null +++ b/intern/gawain/gawain/gwn_attr_binding.h @@ -0,0 +1,19 @@ + +// Gawain vertex attribute binding +// +// This code is part of the Gawain library, with modifications +// specific to integration with Blender. +// +// Copyright 2016 Mike Erwin +// +// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of +// the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. + +#pragma once + +#include "gwn_common.h" + +typedef struct Gwn_AttrBinding { + uint64_t loc_bits; // store 4 bits for each of the 16 attribs + uint16_t enabled_bits; // 1 bit for each attrib +} Gwn_AttrBinding; |