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_vertex_format_private.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_vertex_format_private.h')
-rw-r--r--intern/gawain/gawain/gwn_vertex_format_private.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/intern/gawain/gawain/gwn_vertex_format_private.h b/intern/gawain/gawain/gwn_vertex_format_private.h
new file mode 100644
index 00000000000..c1a0f734eda
--- /dev/null
+++ b/intern/gawain/gawain/gwn_vertex_format_private.h
@@ -0,0 +1,16 @@
+
+// Gawain vertex format (private interface for use inside Gawain)
+//
+// This code is part of the Gawain library, with modifications
+// specific to integration with Blender.
+//
+// Copyright 2016-2017 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
+
+void VertexFormat_pack(Gwn_VertFormat*);
+unsigned padding(unsigned offset, unsigned alignment);
+unsigned vertex_buffer_size(const Gwn_VertFormat*, unsigned vertex_ct);