docs.unity3d.com
    Show / Hide Table of Contents

    Constructor EntityCommandBuffer

    EntityCommandBuffer(Allocator)

    Creates a new command buffer.

    Declaration
    public EntityCommandBuffer(Allocator label)
    Parameters
    Type Name Description
    Allocator label

    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.

    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