Class ColorGradingLutPass
Renders a color grading LUT texture.
Implements
IRenderGraphRecorder
Inherited Members
Namespace: UnityEngine.Rendering.Universal.Internal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
public class ColorGradingLutPass : ScriptableRenderPass, IRenderGraphRecorder
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 | The pass will use settings from |
RenderTextureDescriptor | descriptor | The |
FilterMode | filterMode | The |
ConfigureDescriptor(in UniversalPostProcessingData, out RenderTextureDescriptor, out FilterMode)
Get a descriptor and filter mode for the required texture for this pass
Declaration
public void ConfigureDescriptor(in UniversalPostProcessingData postProcessingData, out RenderTextureDescriptor descriptor, out FilterMode filterMode)
Parameters
Type | Name | Description |
---|---|---|
UniversalPostProcessingData | postProcessingData | The pass will use settings from |
RenderTextureDescriptor | descriptor | The |
FilterMode | filterMode | The |
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
Implements
UnityEngine.Rendering.RenderGraphModule.IRenderGraphRecorder