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
Syntax
public class DrawSkyboxPass : ScriptableRenderPass
Constructors
DrawSkyboxPass(RenderPassEvent)
Creates a new DrawSkyboxPass
instance.
Declaration
public DrawSkyboxPass(RenderPassEvent evt)
Parameters
Type | Name | Description |
---|---|---|
RenderPassEvent | evt | The |
See Also
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 |