RecreatePipelineOnChangeAttribute
This attribute is used on field of a IRenderPipelineGraphicsSettings to ensure pipeline would be recreated if the value is changed.
Read time 3 minutesLast updated 6 days ago
Definition
- Type: Class
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
- Inherits from: Attribute
- Implements: _Attribute
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]public class RecreatePipelineOnChangeAttribute : Attribute, _Attribute
Remarks
If the settings change through the default inspector or through the Reset or through SetValueAndNotify, RenderPipelineEditorUtility.RecreateRenderPipelineMatchingSettings is called onto the settings.