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