# PostProcessingPass

> Represents a post-processing effect that can be applied to a visual element. This is used as part of a FilterFunctionDefinition.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public struct PostProcessingPass
```

## Properties

| Property                                                                                                                                                | Description                                                                            |
| ------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| [applySettingsCallback](/engine/6000.7/script-reference/unityengine/uielements/postprocessingpass/applysettingscallback.md)                             | The optional callback to apply the pass settings to the material property block.       |
| [computeRequiredReadMarginsCallback](/engine/6000.7/script-reference/unityengine/uielements/postprocessingpass/computerequiredreadmarginscallback.md)   | The optional callback to compute the required read margins for the effect.             |
| [computeRequiredWriteMarginsCallback](/engine/6000.7/script-reference/unityengine/uielements/postprocessingpass/computerequiredwritemarginscallback.md) | The optional callback to compute the required write margins for the effect.            |
| [material](/engine/6000.7/script-reference/unityengine/uielements/postprocessingpass/material.md)                                                       | The material to use for the effect.                                                    |
| [parameterBindings](/engine/6000.7/script-reference/unityengine/uielements/postprocessingpass/parameterbindings.md)                                     | The parameter bindings for the effect.                                                 |
| [passIndex](/engine/6000.7/script-reference/unityengine/uielements/postprocessingpass/passindex.md)                                                     | The pass index to use in the material.                                                 |
| [writeMargins](/engine/6000.7/script-reference/unityengine/uielements/postprocessingpass/writemargins.md)                                               | The extra margins, in points, required for the effect to write to destination texture. |

## Delegates

| Delegate                                                                                                                                                           | Description                                                                          |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
| [PostProcessingPass.ApplyFilterPassSettingsDelegate](/engine/6000.7/script-reference/unityengine/uielements/postprocessingpass/applyfilterpasssettingsdelegate.md) | The optional callback to prepare the material property block for the effect.         |
| [PostProcessingPass.ComputeRequiredMarginsDelegate](/engine/6000.7/script-reference/unityengine/uielements/postprocessingpass/computerequiredmarginsdelegate.md)   | The optional callback to compute the required read and write margins for the effect. |
