Add support for allocator type in Dictionary

This commit is contained in:
Wojtek Figat
2021-07-08 00:33:51 +02:00
parent f5e5686853
commit 4765e1af12
17 changed files with 170 additions and 181 deletions

View File

@@ -121,7 +121,7 @@ public:
/// Gets the raw dictionary of assets (loaded or during load).
/// </summary>
/// <returns>The collection of assets.</returns>
static const Dictionary<Guid, Asset*>& GetAssetsRaw();
static const Dictionary<Guid, Asset*, HeapAllocation>& GetAssetsRaw();
/// <summary>
/// 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.