Class DrawSkyboxPass
Draw the skybox into the given color buffer using the given depth buffer for depth testing.
This pass renders the standard Unity skybox.
Inherited Members
Namespace: UnityEngine.Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
public class DrawSkyboxPass : ScriptableRenderPass
Constructors
DrawSkyboxPass(RenderPassEvent)
Declaration
public DrawSkyboxPass(RenderPassEvent evt)
Parameters
Type | Name | Description |
---|---|---|
RenderPassEvent | evt |
Methods
Execute(ScriptableRenderContext, ref RenderingData)
Execute the pass. This is where custom rendering occurs. Specific details are left to the implementation
Declaration
public override void Execute(ScriptableRenderContext context, ref RenderingData renderingData)
Parameters
Type | Name | Description |
---|---|---|
ScriptableRenderContext | context | Use this render context to issue any draw commands during execution |
RenderingData | renderingData | Current rendering state information |