memory usage reductions

This commit is contained in:
Turánszki János
2022-10-03 11:35:53 +02:00
parent 89a7448d18
commit 4c579db2fb
17 changed files with 235 additions and 140 deletions
+1 -1
View File
@@ -753,7 +753,7 @@ void EmitterWindow::UpdateData()
std::string ss;
ss += "Emitter Mesh: " + (meshName != nullptr ? meshName->name : "NO EMITTER MESH") + " (" + std::to_string(emitter->meshID) + ")\n";
ss += "Memort Budget: " + std::to_string(emitter->GetMemorySizeInBytes() / 1024.0f / 1024.0f) + " MB\n";
ss += "Memory usage: " + std::to_string(emitter->GetMemorySizeInBytes() / 1024.0f / 1024.0f) + " MB\n";
ss += "\n";
auto data = emitter->GetStatistics();