docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor EntityCommandBuffer

    EntityCommandBuffer(AllocatorHandle)

    Creates a new command buffer.

    Declaration
    public EntityCommandBuffer(AllocatorManager.AllocatorHandle allocator)
    Parameters
    Type Name Description
    AllocatorManager.AllocatorHandle allocator

    Memory allocator to use for chunks and data

    EntityCommandBuffer(Allocator, PlaybackPolicy)

    Creates a new command buffer.

    Declaration
    public EntityCommandBuffer(Allocator label, PlaybackPolicy playbackPolicy)
    Parameters
    Type Name Description
    Allocator label

    Memory allocator to use for chunks and data

    PlaybackPolicy playbackPolicy

    Specifies if the EntityCommandBuffer can be played a single time or more than once.

    EntityCommandBuffer(AllocatorHandle, PlaybackPolicy)

    Creates a new command buffer.

    Declaration
    public EntityCommandBuffer(AllocatorManager.AllocatorHandle allocator, PlaybackPolicy playbackPolicy)
    Parameters
    Type Name Description
    AllocatorManager.AllocatorHandle allocator

    Memory allocator to use for chunks and data

    PlaybackPolicy playbackPolicy

    Specifies if the EntityCommandBuffer can be played a single time or more than once.

    In This Article
    Back to top
    Copyright © 2024 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)