This commit is contained in:
Dynamitos
2023-11-17 18:46:37 +01:00
parent c38d659b4c
commit 897eda18b0
9 changed files with 14 additions and 5697 deletions
+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)
{