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 © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, June 26, 2023