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
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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.

    Back to top Copyright © 2021 Unity Technologies
    Generated by DocFX
    on Thursday, December 2, 2021
    Terms of use