This commit is contained in:
Dynamitos committed 2023-11-17 18:46:37 +01:00
1 parent c38d659b4c
commit 897eda18b0
9 files changed
+14 -5697

No files matched your search

+4
View File
@@ -13,6 +13,10 @@ constexpr static uint64 NUM_DEFAULT_ELEMENTS = 1024 * 1024;
void VertexData::resetMeshData()
{
for (auto& [_, mat] : materialData)
{
mat.material->getDescriptorLayout()->reset();
}
materialData.clear();
if (dirty)
{