docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AllowPassCulling

    AllowPassCulling(bool)

    Allow or not pass culling By default all passes can be culled out if the render graph detects it's not actually used. In some cases, a pass may not write or read any texture but rather do something with side effects (like setting a global texture parameter for example). This function can be used to tell the system that it should not cull this pass.

    Declaration
    public void AllowPassCulling(bool value)
    Parameters
    Type Name Description
    bool value

    True to allow pass culling.

    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)