docs.unity.cn
    Show / Hide Table of Contents

    Method SetPendingBufferList

    SetPendingBufferList(ref UnsafeList<EntityCommandBuffer>)

    Sets the list of command buffers to play back when this system updates.

    Declaration
    public void SetPendingBufferList(ref UnsafeList<EntityCommandBuffer> buffers)
    Parameters
    Type Name Description
    UnsafeList<EntityCommandBuffer> buffers

    The list of buffers to play back. This list replaces any existing pending command buffers on this system.

    Implements
    IECBSingleton.SetPendingBufferList(ref UnsafeList<EntityCommandBuffer>)
    Remarks

    This method is only intended for internal use, but must be in the public API due to language restrictions. Command buffers created with CreateCommandBuffer(WorldUnmanaged) are automatically added to the system's list of pending buffers to play back.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, August 10, 2023