docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AllowGlobalStateModification

    AllowGlobalStateModification(bool)

    Allow commands in the command buffer to modify global state. This will introduce a render graph sync-point in the frame and cause all passes after this pass to never be reordered before this pass. This may nave negative impact on performance and memory use if not used carefully so it is recommended to only allow this in specific use cases. This will also set AllowPassCulling to false.

    Declaration
    void AllowGlobalStateModification(bool value)
    Parameters
    Type Name Description
    bool value

    True to allow global state modification.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)