docs.unity.cn
    Show / Hide Table of Contents

    Constructor EntityCommandBuffer

    EntityCommandBuffer(AllocatorManager.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(AllocatorManager.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.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023