docs.unity.cn
    Show / Hide Table of Contents

    Dynamic buffer components

    A dynamic buffer component is a component that acts as a resizable array.

    Topic Description
    Introducing dynamic buffer components Understand dynamic buffer components and their use cases.
    Create a dynamic buffer component Create a new dynamic buffer component to use in your application.
    Access all dynamic buffers in a chunk Use a BufferAccessor<T> to get all dynamic buffers of a particular type in a chunk.
    Reuse a dynamic buffer for multiple entities Access a dynamic buffer on the main thread and use it's data for multiple entities.
    Access dynamic buffers from jobs Create a BufferLookup lookup to access dynamic buffers when not on the main thread.
    Modify dynamic buffers with an EntityCommandBuffer Use an EntityCommandBuffer to defer dynamic buffer modifications.
    Reinterpret a dynamic buffer Reinterpret the contents of a dynamic buffer as another type.
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023