summaryrefslogtreecommitdiff
path: root/Runtime/Graphics/DefaultVertexLayout.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/DefaultVertexLayout.h
parent1b6f71b2777bdc74d63f988346a8cfee766718b0 (diff)
+ custom vertex buffer
Diffstat (limited to 'Runtime/Graphics/DefaultVertexLayout.h')
-rw-r--r--Runtime/Graphics/DefaultVertexLayout.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Runtime/Graphics/DefaultVertexLayout.h b/Runtime/Graphics/DefaultVertexLayout.h
index 2d78518..fbb1f76 100644
--- a/Runtime/Graphics/DefaultVertexLayout.h
+++ b/Runtime/Graphics/DefaultVertexLayout.h
@@ -35,6 +35,7 @@ struct DefaultVertexLayout
namespace VertexLayout
{
+ // ibo无论是default还是custom布局都是short
extern uint GetDefaultIndexSize();
extern GLenum GetDefaultIndexFormat();