docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PostLoadCommandBuffer

    Component that contains an EntityCommandBuffer, which is used to execute commands after a scene is loaded.

    Inheritance
    object
    PostLoadCommandBuffer
    Implements
    IComponentData
    IQueryTypeParameter
    Namespace: Unity.Entities
    Assembly: Unity.Entities.dll
    Syntax
    public class PostLoadCommandBuffer : IComponentData, IQueryTypeParameter
    Remarks

    This component includes a reference counter. When the reference counter is equal to 0, the CommandBuffer is disposed of.

    Constructors

    Name Description
    PostLoadCommandBuffer()

    Initializes and returns an instance of PostLoadCommandBuffer.

    Fields

    Name Description
    CommandBuffer

    Represents an EntityCommandBuffer.

    Methods

    Name Description
    Clone()

    Increments the reference counter and returns a reference to the component.

    Dispose()

    Decrements the reference counter. When the reference counter reaches 0, the CommandBuffer is disposed.

    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)