Class LRUCacheAllocationStrategy
Allocation strategy that uses internal pools of objects to avoid allocations that can trigger GC calls.
Namespace: UnityEngine.ResourceManagement.Util
Syntax
public class LRUCacheAllocationStrategy : object, 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. |