docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetUntypedBufferAccessor

    GetUntypedBufferAccessor(ref DynamicComponentTypeHandle)

    Give unsafe access to the buffers with type chunkBufferTypeHandle in the chunk.

    Declaration
    public readonly UnsafeUntypedBufferAccessor GetUntypedBufferAccessor(ref DynamicComponentTypeHandle chunkBufferTypeHandle)
    Parameters
    Type Name Description
    DynamicComponentTypeHandle chunkBufferTypeHandle

    An object containing type and job safety information. To create this object, call GetBufferTypeHandle<T>(bool). Pass the object to a job using a public field you define as part of the job struct.

    Returns
    Type Description
    UnsafeUntypedBufferAccessor

    An interface to this chunk's component values for the target buffer component type.

    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)