Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Rendering
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Rendering/RenderingCommon.h |
| Include | #include "Rendering/RenderingCommon.h" |
Syntax
class ICustomSlateElement
Remarks
An interface for a custom slate drawing element Implementers of this interface are expected to handle destroying this interface properly when a separate rendering thread may have access to it. (I.E this cannot be destroyed from a different thread if the rendering thread is using it)
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Draw_RenderThread
(
FRHICommandListImmediate& RHICmdList, |
Called from the rendering thread when it is time to render the element | |
| void | DrawRenderThread
(
FRHICommandListImmediate& RHICmdList, |
||
| void | PostCustomElementAdded
(
FSlateElementBatcher& ElementBatcher |
Called from the game thread during element batching | |
| bool | If true will cast to an ICustomSlateElementRHI & call Draw_RenderThread with additional RHI params on that instead. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FSlateCustomDrawParams | Struct describing current draw state for the custom drawer |