docs.unity.cn
    Show / Hide Table of Contents

    Class LRUCacheAllocationStrategy

    Allocation strategy that uses internal pools of objects to avoid allocations that can trigger GC calls.

    Inheritance
    Object
    LRUCacheAllocationStrategy
    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.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, March 4, 2022
    Terms of use