Restructured Asset Manager with Generalised Template Types for Asset Data #111
|
@ -52,7 +52,7 @@ namespace Sandbox
|
|||
if (asset.name == "Cube.012")
|
||||
handles.emplace_back(SHResourceManager::LoadOrGet<SHMesh>(asset.id));
|
||||
break;
|
||||
case AssetType::TEXTURE:
|
||||
case AssetType::IMAGE:
|
||||
texHandles.emplace_back(SHResourceManager::LoadOrGet<SHTexture>(asset.id));
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue