SetValueAndNotify<T>(IRenderPipelineGraphicsSettings, ref T, T, string)
Sets the value of a given property. If the new value is different from the previous one, the method raises a notification of the change.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
SetValueAndNotify<T>(IRenderPipelineGraphicsSettings, T, T, string)
public static void SetValueAndNotify<T>(this IRenderPipelineGraphicsSettings settings, ref T currentPropertyValue, T newValue, string propertyName = null)
Parameters
The IRenderPipelineGraphicsSettings instance that contains the property.
The property name. It can be inferred automatically.