docs.unity.cn
    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 Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Tuesday, June 29, 2021