docs.unity3d.com
    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
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on Thursday, October 19, 2023