---
title: writeParametersCallback
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/uielements/postprocessingpass/writeparameterscallback
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/uielements/postprocessingpass/writeparameterscallback.md
last_updated: 2026-11-18
generated_at: 2026-11-24T07:19:18.243Z
locale: en-us
---

# writeParametersCallback

> The optional callback that writes the per-element parameters of the pass.

## Definition

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

```csharp
public PostProcessingPass.WriteParametersDelegate writeParametersCallback { readonly get; set; }
```

### Remarks

UI Toolkit calls it once per frame and filtered element, before rendering. Before it runs, each property of [PostProcessingPass.parameterBindings](/engine/7000.0/script-reference/unityengine/uielements/postprocessingpass/parameterbindings.md) receives its filter parameter. The writer is not valid after the call.

When the material has GPU instancing enabled and the shader declares the properties with Unity's instancing macros, UI Toolkit draws the pass of many filtered elements together, each element with its own values. Otherwise, it draws one element at a time with the same values.
