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()
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)
Declaration
public void Setup(in RTHandle internalLut)
Parameters
Type | Name | Description |
---|---|---|
RTHandle | internalLut |