summaryrefslogtreecommitdiff
path: root/Runtime/Graphics/CustomVertexLayout.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-10-28 01:52:12 +0800
committerchai <chaifix@163.com>2021-10-28 01:52:12 +0800
commit80dca084b568e4e77d2a4031ce8625cdabc660ab (patch)
treed8c0172aeddca648ec89cbbbda72a938f3ef7433 /Runtime/Graphics/CustomVertexLayout.h
parent1b6f71b2777bdc74d63f988346a8cfee766718b0 (diff)
+ custom vertex buffer
Diffstat (limited to 'Runtime/Graphics/CustomVertexLayout.h')
-rw-r--r--Runtime/Graphics/CustomVertexLayout.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/Runtime/Graphics/CustomVertexLayout.h b/Runtime/Graphics/CustomVertexLayout.h
index 402e663..86dcf90 100644
--- a/Runtime/Graphics/CustomVertexLayout.h
+++ b/Runtime/Graphics/CustomVertexLayout.h
@@ -9,7 +9,14 @@
struct CustomVertexLayout
{
- GLuint buffer;
+ GLuint buffer; // ´´½¨Ê±Áô¿Õ
std::vector<VertexAttributeDescriptor> attributes;
};
+namespace VertexLayout
+{
+
+ extern void SetupCustomVertexLayout(CustomVertexLayout& layout);
+
+}
+