docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate AllocatorManager.TryFunction

    Used for calling an allocator function.

    Namespace: Unity.Collections
    Assembly: Unity.Collections.dll
    Syntax
    public delegate int AllocatorManager.TryFunction(IntPtr allocatorState, ref AllocatorManager.Block block)
    Parameters
    Type Name Description
    IntPtr allocatorState

    IntPtr to allocator's custom state.

    AllocatorManager.Block block

    The block to allocate.

    Returns
    Type Description
    int
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)