You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically the ResourceLoader will have a matrix of resource type, resource version, and reader version instead of just a map of resource type ... Also change ResourceInitData.IsXml to be ResourceInitData.ReaderType
pretty much we want to support doing this in ResourceLoader.LoadResource
auto factory = mFactories[fileToLoad->InitData->Type][fileToLoad->InitData->Version][fileToLoad->InitData->ReaderType];
if (factory == nullptr) {
SPDLOG_ERROR("Failed to load resource: Factory does not exist ({} - {})", fileToLoad->InitData->Type,
fileToLoad->InitData->Path);
}
return factory->ReadResource(fileToLoad);
The text was updated successfully, but these errors were encountered:
pretty much we want to support doing this in
ResourceLoader.LoadResource
The text was updated successfully, but these errors were encountered: