Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Rendering
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Rendering/ElementBatcher.h |
| Include | #include "Rendering/ElementBatcher.h" |
Syntax
class FSlateElementBatch
Remarks
Represents an a set of slate draw elements that are batched together These later get converted into FSlateRenderBatches for final rendering
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | IndexArrayIndex | Index into an array of index arrays where this batches indices are found (before submitting to the index buffer) | |
| uint32 | NumElementsInBatch | Number of elements in the batch | |
| int32 | VertexArrayIndex | Index into an array of vertex arrays where this batches vertices are found (before submitting to the vertex buffer) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSlateElementBatch
(
TWeakPtr< ICustomSlateElement, ESPMode::ThreadSafe > InCustomDrawer, |
|||
FSlateElementBatch
(
const FSlateShaderResource* InShaderResource, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const TWeakPtr< ICustomSlateElement, ESPMode::ThreadSafe > | |||
| ESlateDrawEffect | |||
| ESlateBatchDrawFlag | GetDrawFlags () |
||
| int32 | |||
| const ISlateUpdatableInstanceBuffer * | |||
| uint32 | |||
| ESlateDrawPrimitive | |||
| int8 | |||
| const FShaderParams & | |||
| const FSlateShaderResource * | |||
| ESlateShader | |||
| void | SaveClippingState
(
const TArray< FSlateClippingState >& PrecachedClipStates |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator==
(
const FSlateElementBatch& Other |