Navigation
API > API/Runtime > API/Runtime/SlateCore
An interface for a custom slate elements. Lifetime must support pipelining to the render thread.
| Name | ICustomSlateElement |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Rendering/RenderingCommon.h |
| Include Path | #include "Rendering/RenderingCommon.h" |
Syntax
class ICustomSlateElement
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~ICustomSlateElement() |
Rendering/RenderingCommon.h |
Structs
| Name | Remarks |
|---|---|
| FDrawPassInputs |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsHDR | bool | Rendering/RenderingCommon.h | ||
| bWireFrame | bool | Rendering/RenderingCommon.h | ||
| HDRDisplayColorGamut | EDisplayColorGamut | Rendering/RenderingCommon.h | ||
| UsedSlatePostBuffers | ESlatePostRT | Rendering/RenderingCommon.h | ||
| ViewOffset | FVector2f | Rendering/RenderingCommon.h | ||
| ViewRect | FIntRect | Rendering/RenderingCommon.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Draw_RenderThread
(
FRDGBuilder& GraphBuilder, |
Called from the render thread during element drawing. | Rendering/RenderingCommon.h | |
virtual PRAGMA_DISABLE_DEPRECATION_WARNINGS void Draw_RenderThread
(
FRHICommandListImmediate& RHICmdList, |
Rendering/RenderingCommon.h | ||
virtual void DrawRenderThread
(
FRHICommandListImmediate& RHICmdList, |
Rendering/RenderingCommon.h | ||
virtual void PostCustomElementAdded
(
FSlateElementBatcher& ElementBatcher |
Called from the game thread during element batching. | Rendering/RenderingCommon.h | |
virtual bool UsesAdditionalRHIParams() |
Rendering/RenderingCommon.h |