docs.unity3d.com
Search Results for

    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
    Implements
    IAllocationStrategy
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.ResourceManagement.Util
    Assembly: Unity.ResourceManager.dll
    Syntax
    public class LRUCacheAllocationStrategy : IAllocationStrategy

    Constructors

    Name Description
    LRUCacheAllocationStrategy(int, int, int, int)

    Create a new LRUAllocationStrategy objct.

    Methods

    Name Description
    New(Type, int)

    Create a new object of type t.

    Release(int, object)

    Release an object.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)