docs.unity3d.com
    Show / Hide Table of Contents

    Enum RenderPassEvent

    Controls when the render pass executes.

    Namespace: UnityEngine.Rendering.Universal
    Syntax
    public enum RenderPassEvent : int

    Fields

    Name Description Value
    AfterRendering

    Executes a ScriptableRenderPass after rendering all effects.

    AfterRenderingOpaques

    Executes a ScriptableRenderPass after rendering opaque objects.

    AfterRenderingPostProcessing

    Executes a ScriptableRenderPass after rendering post-processing effects but before final blit, post-processing AA effects and color grading.

    AfterRenderingPrePasses

    Executes a ScriptableRenderPass after rendering prepasses, f.ex, depth prepass. Camera matrices and stereo rendering are already setup at this point.

    AfterRenderingShadows

    Executes a ScriptableRenderPass after rendering shadowmaps. Camera matrices and stereo rendering are not setup this point.

    AfterRenderingSkybox

    Executes a ScriptableRenderPass after rendering the sky.

    AfterRenderingTransparents

    Executes a ScriptableRenderPass after rendering transparent objects.

    BeforeRendering

    Executes a ScriptableRenderPass before rendering any other passes in the pipeline. Camera matrices and stereo rendering are not setup this point. You can use this to draw to custom input textures used later in the pipeline, f.ex LUT textures.

    BeforeRenderingOpaques

    Executes a ScriptableRenderPass before rendering opaque objects.

    BeforeRenderingPostProcessing

    Executes a ScriptableRenderPass before rendering post-processing effects.

    BeforeRenderingPrepasses

    Executes a ScriptableRenderPass before rendering prepasses, f.ex, depth prepass. Camera matrices and stereo rendering are already setup at this point.

    BeforeRenderingShadows

    Executes a ScriptableRenderPass before rendering shadowmaps. Camera matrices and stereo rendering are not setup this point.

    BeforeRenderingSkybox

    Executes a ScriptableRenderPass before rendering the sky.

    BeforeRenderingTransparents

    Executes a ScriptableRenderPass before rendering transparent objects.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023