Interface AllocatorManager.IAllocator | Collections | 0.8.0-preview.5
docs.unity.cn
    Show / Hide Table of Contents

    Interface AllocatorManager.IAllocator

    An allocator with a tryable allocate/free/realloc function pointer.

    Namespace: Unity.Collections
    Syntax
    public interface IAllocator

    Properties

    AllocatedBytes

    Declaration
    long AllocatedBytes { get; }
    Property Value
    Type Description
    Int64

    BudgetInBytes

    Declaration
    long BudgetInBytes { get; }
    Property Value
    Type Description
    Int64

    Function

    Declaration
    AllocatorManager.TryFunction Function { get; }
    Property Value
    Type Description
    AllocatorManager.TryFunction

    Methods

    Try(ref AllocatorManager.Block)

    Declaration
    int Try(ref AllocatorManager.Block block)
    Parameters
    Type Name Description
    AllocatorManager.Block block
    Returns
    Type Description
    Int32
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX