Class LRUCacheAllocationStrategy
Allocation strategy that uses internal pools of objects to avoid allocations that can trigger GC calls.
Implements
Inherited Members
Namespace: UnityEngine.ResourceManagement.Util
Assembly: Unity.ResourceManager.dll
Syntax
public class LRUCacheAllocationStrategy : IAllocationStrategy
Constructors
Name | Description |
---|---|
LRUCacheAllocationStrategy(int, int, int, int) | Create a new LRUAllocationStrategy objct. |
Methods
Name | Description |
---|---|
New(Type, int) | Create a new object of type t. |
Release(int, object) | Release an object. |