Used Transform instead of Matrix4f in SceneOrient, MaterialRenderList/RenderAssignBuffer supports updating the L2WMatrix of only the changed objects

This commit is contained in:
2024-08-04 22:35:31 +08:00
parent 3768507169
commit 5213651054
14 changed files with 196 additions and 81 deletions

View File

@@ -31,5 +31,11 @@ public:
for(auto *it:data_list)
it->value->Render(rcb);
}
void UpdateTransform()
{
for(auto *it:data_list)
it->value->UpdateTransform();
}
};//class MaterialRenderMap
VK_NAMESPACE_END