feat: multiple index buffers per mesh support

This commit is contained in:
MihailRis
2025-07-24 21:40:00 +03:00
parent 6debc92ae5
commit 4a6ccf4847
7 changed files with 81 additions and 43 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ struct ChunkMeshData {
};
struct ChunkMesh {
std::unique_ptr<Mesh<ChunkVertex> > mesh;
std::unique_ptr<Mesh<ChunkVertex>> mesh;
SortingMeshData sortingMeshData;
std::unique_ptr<Mesh<ChunkVertex> > sortedMesh = nullptr;
};