MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / LoadAsync

Function LoadAsync

Source/Engine/Content/Content.h:179–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177 /// <returns>Loaded asset or null if cannot</returns>
178 template<typename T>
179 FORCE_INLINE static T* LoadAsync(const Guid& id)
180 {
181 return static_cast<T*>(LoadAsync(id, T::TypeInitializer));
182 }
183
184 /// <summary>
185 /// Loads asset and holds it until it won't be referenced by any object. Returns null if asset is missing. Actual asset data loading is performed on a other thread in async.

Callers 5

LoadAsyncInternalMethod · 0.85
LoadAssetFunction · 0.85
LoadAsyncMethod · 0.85
LoadAsyncMethod · 0.85
FindObjectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected