AssetManifest.GetUniqueKeys() Method
Definition¶
Namespace: Brine2D.Assets
Returns the deduplicated set of RefCountKeys for this manifest. Computed once from GetAll() and cached for the lifetime of the instance, so Brine2D.Assets.AssetCache.PreloadAsync(Brine2D.Assets.AssetManifest,System.IProgress{Brine2D.Assets.AssetLoadProgress},System.Threading.CancellationToken) and Brine2D.Assets.AssetCache.Unload(Brine2D.Assets.AssetManifest) can iterate unique keys without allocating on every call.
internal Brine2D.Assets.RefCountKey[] GetUniqueKeys();