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)
Creates a new DrawSkyboxPass
instance.
Declaration
public DrawSkyboxPass(RenderPassEvent evt)
Parameters
Type | Name | Description |
---|---|---|
RenderPassEvent | evt | The |
See Also
Fields
m_IsActiveTargetBackBuffer
Used to indicate if the active target of the pass is the back buffer
Declaration
public bool m_IsActiveTargetBackBuffer
Field Value
Type | Description |
---|---|
bool |
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 |