Class ColorGradingLutPass
Renders a color grading LUT texture.
Inherited Members
Namespace: UnityEngine.Rendering.Universal.Internal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
public class ColorGradingLutPass : ScriptableRenderPass
Constructors
ColorGradingLutPass(RenderPassEvent, PostProcessData)
Creates a new ColorGradingLutPass
instance.
Declaration
public ColorGradingLutPass(RenderPassEvent evt, PostProcessData data)
Parameters
Type | Name | Description |
---|---|---|
RenderPassEvent | evt | The |
PostProcessData | data | The |
See Also
Methods
Cleanup()
Cleans up resources used by the pass.
Declaration
public void Cleanup()
ConfigureDescriptor(in PostProcessingData, out RenderTextureDescriptor, out FilterMode)
Get a descriptor and filter mode for the required texture for this pass
Declaration
public void ConfigureDescriptor(in PostProcessingData postProcessingData, out RenderTextureDescriptor descriptor, out FilterMode filterMode)
Parameters
Type | Name | Description |
---|---|---|
PostProcessingData | postProcessingData | |
RenderTextureDescriptor | descriptor | |
FilterMode | filterMode |
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
Setup(in RTHandle)
Sets up the pass.
Declaration
public void Setup(in RTHandle internalLut)
Parameters
Type | Name | Description |
---|---|---|
RTHandle | internalLut | The RTHandle to use to render to. |
See Also
RTHandle