docs.unity3d.com
Search Results for

    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.
    In This Article
    Back to top
    Copyright © 2025 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)