MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / refreshAsset

Method refreshAsset

Engine/source/assets/assetBase.cpp:286–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284//-----------------------------------------------------------------------------
285
286void AssetBase::refreshAsset(void)
287{
288 // Debug Profiling.
289 PROFILE_SCOPE(AssetBase_RefreshAsset);
290
291 // Finish if asset is not owned or is not initialized.
292 if (mpOwningAssetManager == NULL || !mAssetInitialized)
293 return;
294
295 // Yes, so refresh the asset via the asset manager.
296 mpOwningAssetManager->refreshAsset(getAssetId());
297}
298
299//-----------------------------------------------------------------------------
300

Callers 3

importAssetsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected