docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method CreateSnapshotBufferLookup

    CreateSnapshotBufferLookup()

    Create a new SnapshotDataBufferComponentLookup instance that can be used on the main thread or in job. This method introduce a sync point, because internally retrieve all the necessary DynamicBuffer<T>.

    Declaration
    public SnapshotDataBufferComponentLookup CreateSnapshotBufferLookup()
    Returns
    Type Description
    SnapshotDataBufferComponentLookup

    A valid SnapshotDataBufferComponentLookup instance

    Remarks

    The method requires that the Update(ref SystemState) method has been called and that all the internal handles has been updated.

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