14 auto pTerrain = ATerrainInterface::GetSingleton();
15 auto pPersistantBlock = pTerrain->m_pTerrainVIS->m_pPersistantTerrainBlock;
18 auto pTRB =
new ( pPersistantBlock->GetMemBlock() ) Toshi::TTRB();
20 pPersistantBlock->SetupTRB( pTRB, pPersistantBlock );
22 auto pTRBJob = pTerrain->GetFreeTRBLoaderJob();
23 pTRBJob->InitJob( pTRB, m_szSkelFilePath );
25 auto pSkeletonJob = pTerrain->GetFreeSkeletonLoaderJob();
26 pSkeletonJob->InitJob(
this, pTRBJob );
28 AAssetStreaming::GetSingleton()->AddMainThreadJob( pTRBJob );
29 AAssetStreaming::GetSingleton()->AddMainThreadJob( pSkeletonJob );