merge vertexbuffer and indexbuffer to buffer.cpp/h file

This commit is contained in:
2025-11-22 15:19:48 +08:00
parent d24ca28e74
commit 104b08ef24
23 changed files with 337 additions and 230 deletions

View File

@ -21,6 +21,7 @@ public:
private:
float m_ClearColor[4] = { 0.2f, 0.2f, 0.2f, 1.0f };
glm::vec4 m_TriangleColor = { 0.4f, 0.5f, 0.6f, 1.0f };
std::unique_ptr<Prism::VertexBuffer> m_VertexBuffer;
std::unique_ptr<Prism::IndexBuffer> m_IndexBuffer;