applySettingsCallback
The optional callback to apply the pass settings to the material property block.
Read time 1 minuteLast updated 2 hours ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public PostProcessingPass.ApplyFilterPassSettingsDelegate applySettingsCallback { readonly get; set; }
Remarks
Before it runs, the block holds the properties of PostProcessingPass.parameterBindings and of PostProcessingPass.writeParametersCallback. The callback can override them. A pass with this callback draws one element at a time. Use it only for values that differ between elements and that PostProcessingPass.writeParametersCallback can't write, such as a texture for each element. Assign a texture that is the same for every element to the material instead.