Class ColorGradingLutPass
Renders a color grading LUT texture.
Inherited Members
Namespace: UnityEngine.Rendering.Universal.Internal
Syntax
public class ColorGradingLutPass : ScriptableRenderPass
Constructors
ColorGradingLutPass(RenderPassEvent, PostProcessData)
Declaration
public ColorGradingLutPass(RenderPassEvent evt, PostProcessData data)
Parameters
Type | Name | Description |
---|---|---|
RenderPassEvent | evt | |
PostProcessData | data |
Methods
Cleanup()
Declaration
public void Cleanup()
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 |
Overrides
OnFinishCameraStackRendering(CommandBuffer)
Called upon finish rendering a camera stack. You can use this callback to release any resources created by this render pass that need to be cleanup once all cameras in the stack have finished rendering. This method will be called once after rendering the last camera in the camera stack. Cameras that don't have an explicit camera stack are also considered stacked rendering. In that case the Base camera is the first and last camera in the stack.
Declaration
public override void OnFinishCameraStackRendering(CommandBuffer cmd)
Parameters
Type | Name | Description |
---|---|---|
CommandBuffer | cmd | Use this CommandBuffer to cleanup any generated data |
Overrides
Setup(RenderTargetHandle)
Declaration
public void Setup(in RenderTargetHandle internalLut)
Parameters
Type | Name | Description |
---|---|---|
RenderTargetHandle | internalLut |