# FilterPassContext

> The context of the filter.

## Definition

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

```csharp
public struct FilterPassContext
```

## Properties

| Property                                                                                                                 | Description                                                                                                                                   |
| ------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------- |
| [filterFunction](/engine/6000.6/script-reference/unityengine/uielements/filterpasscontext/filterfunction.md)             | The filter function for which the specified pass is being executed.                                                                           |
| [filterPassIndex](/engine/6000.6/script-reference/unityengine/uielements/filterpasscontext/filterpassindex.md)           | The index of the pass.                                                                                                                        |
| [postProcessingPass](/engine/6000.6/script-reference/unityengine/uielements/filterpasscontext/postprocessingpass.md)     | The filter pass that is being executed.                                                                                                       |
| [readsGamma](/engine/6000.6/script-reference/unityengine/uielements/filterpasscontext/readsgamma.md)                     | Indicates if sampling the source texture yields a color in the gamma color space.                                                             |
| [scaledPixelsPerPoint](/engine/6000.6/script-reference/unityengine/uielements/filterpasscontext/scaledpixelsperpoint.md) | The number of pixels per point in the texture being filtered. Multiply point-based parameter values by this factor to convert them to pixels. |
| [writesGamma](/engine/6000.6/script-reference/unityengine/uielements/filterpasscontext/writesgamma.md)                   | Indicates if the shader must return a color in the gamma color space.                                                                         |
