Refactor old ContentLoadingManager into Content for simplicity

This commit is contained in:
Wojtek Figat
2024-10-11 23:05:09 +02:00
parent ff495e1319
commit f8371d037b
10 changed files with 314 additions and 439 deletions

View File

@@ -974,6 +974,7 @@ Asset::LoadResult Model::load()
auto chunk15 = GetChunk(15);
if (chunk15 && chunk15->IsLoaded() && EnableModelSDF == 1)
{
PROFILE_CPU_NAMED("SDF");
MemoryReadStream sdfStream(chunk15->Get(), chunk15->Size());
int32 version;
sdfStream.ReadInt32(&version);