docs.unity.cn
    Show / Hide Table of Contents

    Constructor LRUCacheAllocationStrategy

    LRUCacheAllocationStrategy(Int32, Int32, Int32, Int32)

    Create a new LRUAllocationStrategy objct.

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

    The max size of each pool.

    Int32 poolCapacity

    The initial capacity to create each pool list with.

    Int32 poolCacheMaxSize

    The max size of the internal pool cache.

    Int32 initialPoolCacheCapacity

    The initial number of pools to create.

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