Navigation
API > API/Runtime > API/Runtime/SlateCore
Represents an a set of slate draw elements that are batched together These later get converted into FSlateRenderBatches for final rendering
| Name | FSlateElementBatch |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Rendering/ElementBatcher.h |
| Include Path | #include "Rendering/ElementBatcher.h" |
Syntax
class FSlateElementBatch
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSlateElementBatch
(
TWeakPtr< ICustomSlateElement, ESPMode::ThreadSafe > InCustomDrawer, |
Rendering/ElementBatcher.h | ||
FSlateElementBatch
(
const FSlateShaderResource* InShaderResource, |
Rendering/ElementBatcher.h |
Structs
| Name | Remarks |
|---|---|
| FBatchKey |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| IndexArrayIndex | int32 | Index into an array of index arrays where this batches indices are found (before submitting to the index buffer) | Rendering/ElementBatcher.h | |
| NumElementsInBatch | uint32 | Number of elements in the batch | Rendering/ElementBatcher.h | |
| VertexArrayIndex | int32 | Index into an array of vertex arrays where this batches vertices are found (before submitting to the vertex buffer) | Rendering/ElementBatcher.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BatchKey | FBatchKey | A secondary key which represents elements needed to make a batch unique | Rendering/ElementBatcher.h | |
| ShaderResource | const FSlateShaderResource * | Shader resource to use with this batch. Used as a primary key. No batch can have multiple textures | Rendering/ElementBatcher.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TWeakPtr< ICustomSlateElement, ESPMode::ThreadSafe > GetCustomDrawer() |
Rendering/ElementBatcher.h | ||
ESlateDrawEffect GetDrawEffects() |
Rendering/ElementBatcher.h | ||
ESlateBatchDrawFlag GetDrawFlags() |
Rendering/ElementBatcher.h | ||
int32 GetInstanceCount() |
Rendering/ElementBatcher.h | ||
const ISlateUpdatableInstanceBuffer * GetInstanceData() |
Rendering/ElementBatcher.h | ||
uint32 GetInstanceOffset() |
Rendering/ElementBatcher.h | ||
ESlateDrawPrimitive GetPrimitiveType() |
Rendering/ElementBatcher.h | ||
int8 GetSceneIndex() |
Rendering/ElementBatcher.h | ||
const FShaderParams & GetShaderParams() |
Rendering/ElementBatcher.h | ||
const FSlateShaderResource * GetShaderResource() |
Rendering/ElementBatcher.h | ||
ESlateShader GetShaderType() |
Rendering/ElementBatcher.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FSlateElementBatch& Other |
Rendering/ElementBatcher.h |