From 80dca084b568e4e77d2a4031ce8625cdabc660ab Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 28 Oct 2021 01:52:12 +0800 Subject: + custom vertex buffer --- Runtime/Graphics/CustomVertexLayout.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Runtime/Graphics/CustomVertexLayout.h') 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 attributes; }; +namespace VertexLayout +{ + + extern void SetupCustomVertexLayout(CustomVertexLayout& layout); + +} + -- cgit v1.1-26-g67d0