34 bool allLoaded =
true;
#define TRACY_ZONE_SCOPED_NAMED(name)
Base class for asset wrappers. The data is stored in the private member variable 'data' in form of en...
CpuLoadingState loadingState
ModelAsset(std::filesystem::path path)
void registerCreatedAssetWithModel(Asset::AssetBase *asset)
Registers an asset like a texture or 3d model with this gltf model.
std::optional< tinygltf::Model > model
void unload() override
Unload overwrite which empties out the model data.
void updateLoadingState() override
Updates the loading state based on whether all registered sub-assets are loaded.
std::filesystem::path path
std::vector< Asset::AssetBase * > assetsFromPath
@ LOADED
All components of the asset have been loaded, and it is ready to be used.
@ LOADING
While the asset is currently being processed in the asset pipeline.
@ UNLOADED
When the asset is not loaded yet but the frame is already existing for the heavy data to be loaded in...
Log category system implementation.