docs.unity.cn
    Show / Hide Table of Contents

    Class ArrayUnpool

    An non-pooled array allocator, to avoid forking logic when pooling is not desired.

    Inheritance
    Object
    ArrayPool
    ArrayUnpool
    Inherited Members
    ArrayPool.sm_defaultCtor
    ArrayPool.sm_noParameters
    Namespace: USD.NET
    Syntax
    public class ArrayUnpool : ArrayPool

    Methods

    Free(Type, UInt32, Array)

    Declaration
    public override void Free(Type type, uint size, Array array)
    Parameters
    Type Name Description
    Type type
    UInt32 size
    Array array
    Overrides
    ArrayPool.Free(Type, UInt32, Array)

    FreeHandle(Type, Object)

    Declaration
    public override void FreeHandle(Type type, object handle)
    Parameters
    Type Name Description
    Type type
    Object handle
    Overrides
    ArrayPool.FreeHandle(Type, Object)

    FreeHandle<T>(T)

    Declaration
    public override void FreeHandle<T>(T handle)
    Parameters
    Type Name Description
    T handle
    Type Parameters
    Name Description
    T
    Overrides
    USD.NET.ArrayPool.FreeHandle<T>(T)

    Malloc<T>(UInt32)

    Declaration
    public override T[] Malloc<T>(uint size)
    Parameters
    Type Name Description
    UInt32 size
    Returns
    Type Description
    T[]
    Type Parameters
    Name Description
    T
    Overrides
    ArrayPool.Malloc<T>(UInt32)

    MallocHandle(Type)

    Declaration
    public override object MallocHandle(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    Object
    Overrides
    ArrayPool.MallocHandle(Type)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, June 23, 2023