PopulateContextMenu(T, SerializedProperty, ref GenericMenu)
Populate a context menu with custom methods for your IRenderPipelineGraphicsSettings.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Rendering
- Assembly: UnityEditor.CoreModule
PopulateContextMenu(T, SerializedProperty, GenericMenu)
void PopulateContextMenu(T setting, SerializedProperty property, ref GenericMenu menu)
Parameters
The IRenderPipelineGraphicsSettings that the contextual menu changed. Its type matches the generic type used in the interface.
The SerializedProperty targeting the drawn IRenderPipelineGraphicsSettings.
The GenericMenu being constructed, to be amended with some custom commands.