Navigation
API > API/Plugins > API/Plugins/ShaderAuditCore > API/Plugins/ShaderAuditCore/SShaderCostTreeMap > API/Plugins/ShaderAuditCore/SShaderCostTreeMap/FArguments
Description
Optional hook: invoked when building the right-click context menu for a material asset. Lets the editor add entries (e.g., "Find Similar Instances") without the widget itself depending on editor-only modules.
| Name | OnExtendAssetContextMenu |
| Type | function |
| Header File | /Engine/Plugins/Developer/ShaderToolkit/Source/ShaderAuditCore/Public/Widgets/SShaderCostTreeMap.h |
| Include Path | #include "Widgets/SShaderCostTreeMap.h" |
WidgetArgsType & OnExtendAssetContextMenu
(
const FOnExtendShaderAssetContextMenu & InDelegate
)