Navigation
API > API/Plugins > API/Plugins/ShaderAuditCore
Extension point for the ShaderAudit session view.
Modules implement this interface and register via IModularFeatures to contribute toolbar widgets, view tabs, and session lifecycle behavior to ShaderAudit without any compile-time dependency from ShaderAudit to the extension module.
Registration: IModularFeatures::Get().RegisterModularFeature(IShaderAuditExtension::FeatureName, this);
The session view discovers all registered extensions and integrates their contributions. Late registration (after the view is already constructed) is supported.
| Name | IShaderAuditExtension |
| Type | class |
| Header File | /Engine/Plugins/Developer/ShaderToolkit/Source/ShaderAuditCore/Public/IShaderAuditExtension.h |
| Include Path | #include "IShaderAuditExtension.h" |
Syntax
class IShaderAuditExtension : public IModularFeature
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IShaderAuditExtension() |
IShaderAuditExtension.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FeatureName | const FName | IShaderAuditExtension.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArray< FShaderAuditExtensionContribution > GetContributions() |
Return the UI contributions this extension makes to each session view. | IShaderAuditExtension.h | |
FText GetDisplayName() |
Human-readable name shown in UI (e.g. tooltips). | IShaderAuditExtension.h | |
FName GetExtensionId() |
Unique identifier for this extension (used as key in ExtensionData maps). | IShaderAuditExtension.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnSessionClosed
(
int32 SessionId |
Called when a session is about to be closed. Clean up any external state. | IShaderAuditExtension.h | |
virtual void OnSessionLoaded
(
TSharedPtr< FShaderAuditSession > Session |
Called when a session finishes loading. Use to auto-attach data, kick off background work, etc. | IShaderAuditExtension.h |