docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TryLockGPUSceneUpdate

    TryLockGPUSceneUpdate(int)

    Try to lock the mutex that ensure no update of the gpu scene is done between lock/unlock, returns true if the mutex has been locked, false if it was already locked

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public bool TryLockGPUSceneUpdate(int scene)
    Parameters
    Type Name Description
    int scene

    Identifier of the GPU scene to try to lock update for

    Returns
    Type Description
    bool
    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)