diff options
author | chai <chaifix@163.com> | 2021-10-28 01:52:12 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-28 01:52:12 +0800 |
commit | 80dca084b568e4e77d2a4031ce8625cdabc660ab (patch) | |
tree | d8c0172aeddca648ec89cbbbda72a938f3ef7433 /Runtime/Graphics/CustomVertexLayout.h | |
parent | 1b6f71b2777bdc74d63f988346a8cfee766718b0 (diff) |
+ custom vertex buffer
Diffstat (limited to 'Runtime/Graphics/CustomVertexLayout.h')
-rw-r--r-- | Runtime/Graphics/CustomVertexLayout.h | 9 |
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); + +} + |