From b7511abf1a1f302b5c7ebf50faaf65b62d7bb6ed Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 2 Nov 2021 09:30:25 +0800 Subject: * TextMesh --- Runtime/Graphics/VertexBuffer.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Runtime/Graphics/VertexBuffer.h') diff --git a/Runtime/Graphics/VertexBuffer.h b/Runtime/Graphics/VertexBuffer.h index b03df3b..c651bdb 100644 --- a/Runtime/Graphics/VertexBuffer.h +++ b/Runtime/Graphics/VertexBuffer.h @@ -23,9 +23,11 @@ public: VertexBufferType_Dynamic,// device }; - VertexBuffer(VertexBufferType type); + VertexBuffer(int vbSize, int ibSize, VertexBufferType type); ~VertexBuffer(); + + void Draw(); private: -- cgit v1.1-26-g67d0