Enum RenderPassEvent
Controls when the render pass executes.
Syntax
public enum RenderPassEvent
Fields
Name |
Description |
Value |
AfterRendering |
Executes a ScriptableRenderPass after rendering all effects.
|
|
AfterRenderingDeferredLights |
Executes a ScriptableRenderPass after rendering deferred shading pass.
|
|
AfterRenderingGbuffer |
Executes a ScriptableRenderPass after rendering gbuffer pass.
|
|
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.
|
|
BeforeRenderingDeferredLights |
Executes a ScriptableRenderPass before rendering deferred shading pass.
|
|
BeforeRenderingGbuffer |
Executes a ScriptableRenderPass before rendering gbuffer pass.
|
|
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.
|
|