docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor LRUCacheAllocationStrategy

    LRUCacheAllocationStrategy(int, int, int, int)

    Create a new LRUAllocationStrategy objct.

    Declaration
    public LRUCacheAllocationStrategy(int poolMaxSize, int poolCapacity, int poolCacheMaxSize, int initialPoolCacheCapacity)
    Parameters
    Type Name Description
    int poolMaxSize

    The max size of each pool.

    int poolCapacity

    The initial capacity to create each pool list with.

    int poolCacheMaxSize

    The max size of the internal pool cache.

    int initialPoolCacheCapacity

    The initial number of pools to create.

    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)