# PopulateContextMenu(T, PropertyDrawer, ref GenericMenu)

> Allows to populate context menu with custom methods for your IRenderPipelineGraphicsSettings.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Rendering](/engine/6000.6/script-reference/unityeditor/rendering.md)
* **Assembly:** UnityEditor.CoreModule

## PopulateContextMenu(T, PropertyDrawer, GenericMenu)

> **Warning:**
>
> **Deprecated.** IRenderPipelineGraphicsSettingsContextMenu\\\<T\\> is deprecated and will be removed in a future release. Use IRenderPipelineGraphicsSettingsContextMenu2\\\<T\\> instead. #from(6000.0)

```csharp
void PopulateContextMenu(T setting, PropertyDrawer drawer, ref GenericMenu menu)
```

### Parameters

**** (T): The [IRenderPipelineGraphicsSettings](/engine/6000.6/script-reference/unityengine/rendering/irenderpipelinegraphicssettings.md) being inspected.**** (\[PropertyDrawer]\(/engine/6000.6/script-reference/unityeditor/propertydrawer)): The PropertyDrawer being used to draw settings.**** (\[GenericMenu]\(/engine/6000.6/script-reference/unityeditor/genericmenu)): The UITK [GenericDropdownMenu](/engine/6000.6/script-reference/unityengine/uielements/genericdropdownmenu.md) being constructed.
