Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Rendering
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Rendering/SlateRenderBatch.h |
| Include | #include "Rendering/SlateRenderBatch.h" |
Syntax
class FSlateRenderBatch
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8: 1 | bIsMergable | Whether or not the batch can be merged with others in the same layer | |
| uint8: 1 | bIsMerged | ||
| const FSlateClippingState * | ClippingState | The Stored clipping state for the corresponding clipping state index. | |
| ICustomSlateElement * | CustomDrawer | ||
| ESlateDrawEffect | DrawEffects | ||
| ESlateBatchDrawFlag | DrawFlags | ||
| ESlateDrawPrimitive | DrawPrimitiveType | ||
| FVector2f | DynamicOffset | Dynamically modified offset that occurs when we have relative position stored render batches. | |
| int32 | IndexOffset | ||
| int32 | InstanceCount | ||
| ISlateUpdatableInstanceBufferRenderProxy * | InstanceData | ||
| int32 | InstanceOffset | ||
| int32 | LayerId | The layer we need to sort by | |
| int32 | NextBatchIndex | ||
| int32 | NumIndices | Number of indices in the batch | |
| int32 | NumVertices | Number of vertices in the batch | |
| int8 | SceneIndex | ||
| FShaderParams | ShaderParams | ||
| const FSlateShaderResource * | ShaderResource | Shader Resource to use with this batch. | |
| ESlateShader | ShaderType | ||
| FSlateIndexArray * | SourceIndices | ||
| FSlateVertexArray * | SourceVertices | Source Data. | |
| int32 | VertexOffset |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSlateRenderBatch
(
int32 InLayer, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddIndex
(
SlateIndex Index |
||
| void | AddIndices
(
TArray< SlateIndex >&& InIndices |
||
| void | AddIndices
(
const TArray< SlateIndex >& InIndices |
||
| void | AddVertex
(
FSlateVertex&& Vertex |
||
| void | AddVertices
(
const TArray< FSlateVertex >& InVertices |
||
| void | AddVertices
(
TArray< FSlateVertex >&& InVertices |
||
| void | EmplaceIndex
(
SlateIndex Index |
||
| void | EmplaceVertex
(
FSlateVertex&& Vertex |
||
| const FSlateClippingState * | |||
| ESlateDrawEffect | |||
| ESlateBatchDrawFlag | GetDrawFlags () |
||
| ESlateDrawPrimitive | |||
| uint32 | |||
| int32 | GetLayer () |
||
| uint32 | |||
| uint32 | |||
| const FShaderParams & | |||
| const FSlateShaderResource * | |||
| ESlateShader | |||
| uint32 | |||
| bool | |||
| bool | IsBatchableWith
(
const FSlateRenderBatch& Other |
||
| bool | |||
| void | ReserveIndices
(
uint32 Num |
||
| void | ReserveVertices
(
uint32 Num |