Navigation
API > API/Plugins > API/Plugins/ShaderAuditCore
A single contribution an extension makes to the session view UI. An extension may return multiple contributions (e.g. a toolbar button AND a view tab).
| Name | FShaderAuditExtensionContribution |
| Type | struct |
| Header File | /Engine/Plugins/Developer/ShaderToolkit/Source/ShaderAuditCore/Public/IShaderAuditExtension.h |
| Include Path | #include "IShaderAuditExtension.h" |
Syntax
struct FShaderAuditExtensionContribution
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CreateToolbarWidget | TFunction< TSharedRef< SWidget >(TSharedPtr< FShaderAuditSession >)> | Factory for a widget appended to the toolbar. May be null. | IShaderAuditExtension.h | |
| CreateViewWidget | TFunction< TSharedRef< SWidget >(TSharedPtr< FShaderAuditSession >)> | Factory for the view tab widget. Required when ViewTabLabel is set. | IShaderAuditExtension.h | |
| ViewTabLabel | FText | If non-empty, a view tab button with this label is added to the toolbar and a corresponding slot is created in the view switcher. | IShaderAuditExtension.h |