From 3239ba18797b1aa098056aa0c2a70e250a27a06c Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 24 Oct 2021 13:24:13 +0800 Subject: * port shader --- Runtime/Graphics/VertexBuffer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Runtime/Graphics/VertexBuffer.h') diff --git a/Runtime/Graphics/VertexBuffer.h b/Runtime/Graphics/VertexBuffer.h index 33c0783..9179e0d 100644 --- a/Runtime/Graphics/VertexBuffer.h +++ b/Runtime/Graphics/VertexBuffer.h @@ -69,6 +69,9 @@ private: class SharedVertexBuffer { public: + SharedVertexBuffer(); + ~SharedVertexBuffer(); + void GetChunk(uint attrs, int maxVerts, int maxIndices, RenderMode mode, void **out_vb, void **out_ib); void ReleaseChunk(int actualVerts, int actualIndices); -- cgit v1.1-26-g67d0