docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IECBSingleton

    Interface for use with EntityCommandBufferSystems to store the list of pending buffers, which can be accessed from a bursted ISystem. You should implement a singleton with this interface every time you inherit from EntityCommandBufferSystem.

    Namespace: Unity.Entities
    Assembly: Unity.Entities.dll
    Syntax
    public interface IECBSingleton

    Methods

    Name Description
    SetAllocator(Allocator)

    Set the allocator that command buffers created with this singleton should be allocated with.

    SetAllocator(AllocatorHandle)

    Set the allocator that command buffers created with this singleton should be allocated with.

    SetPendingBufferList(ref UnsafeList<EntityCommandBuffer>)

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

    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)