IAssetLoader.Unload(AssetManifest) Method
Definition¶
Namespace: Brine2D.Assets
Resets all AssetRef<T> fields on manifest and
decrements internal reference counts. Assets whose count reaches zero are unloaded
from the cache and their GPU/audio resources are freed. Assets still referenced by
another tracked manifest or by a direct GetOrLoad*Async call remain cached.
In-flight loads for keys that reach zero will be cancelled and their native resources will be disposed automatically.
void Unload(Brine2D.Assets.AssetManifest manifest);
Parameters¶
manifest AssetManifest