Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2017-08-15 17:20:14 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-08-15 17:25:47 +0300
commitb6308d79e59dfe52ce425541cc07ec90a430a635 (patch)
tree2997e9f366edc8111f401ff1a61a539a7f1d647c /intern/gawain/gawain/gwn_attr_binding.h
parentd9e253abce63bc5fbdc38e9aaff40db3124b07c0 (diff)
Cleanup: use 'gwn' prefix for gawain filenames
Looking up names project wide or setting breakpoints wasn't so. Names like common.h or element.h are also too generic.
Diffstat (limited to 'intern/gawain/gawain/gwn_attr_binding.h')
-rw-r--r--intern/gawain/gawain/gwn_attr_binding.h19
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..e8c46696b7c
--- /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 {
+ uint64_t loc_bits; // store 4 bits for each of the 16 attribs
+ uint16_t enabled_bits; // 1 bit for each attrib
+} Gwn_AttrBinding;