Interface AllocatorManager.IAllocator | Collections | 0.7.1-preview.3
docs.unity3d.com
    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 © 2023 Unity Technologies — Terms of use
    • 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 18 October 2023