PostProcessingPass
Represents a post-processing effect that can be applied to a visual element. This is used as part of a FilterFunctionDefinition.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public struct PostProcessingPass
Properties
Property | Description |
|---|---|
| applySettingsCallback | The optional callback to apply the pass settings to the material property block. |
| computeRequiredReadMarginsCallback | The optional callback to compute the required read margins for the effect. |
| computeRequiredWriteMarginsCallback | The optional callback to compute the required write margins for the effect. |
| material | The material to use for the effect. |
| parameterBindings | The parameter bindings for the effect. |
| passIndex | The pass index to use in the material. |
| writeMargins | The extra margins, in points, required for the effect to write to destination texture. |
Delegates
Delegate | Description |
|---|---|
| PostProcessingPass.ApplyFilterPassSettingsDelegate | The optional callback to prepare the material property block for the effect. |
| PostProcessingPass.ComputeRequiredMarginsDelegate | The optional callback to compute the required read and write margins for the effect. |