FSlateElementBatch

Represents an a set of slate draw elements that are batched together These later get converted into FSlateRenderBatches for final rendering

Windows
MacOS
Linux

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

Name Description

Public variable

int32

 

IndexArrayIndex

Index into an array of index arrays where this batches indices are found (before submitting to the index buffer)

Public variable

uint32

 

NumElementsInBatch

Number of elements in the batch

Public variable

int32

 

VertexArrayIndex

Index into an array of vertex arrays where this batches vertices are found (before submitting to the vertex buffer)

Constructors

Name Description

Public function

FSlateElementBatch

(
    TWeakPtr< ICustomSlateElement, ESPM...,
    const FSlateDrawElement& InDrawEle...
)

Public function

FSlateElementBatch

(
    const FSlateShaderResource* In...,
    const FShaderParams& InShaderParam...,
    ESlateShader ShaderType,
    ESlateDrawPrimitive PrimitiveType,
    ESlateDrawEffect InDrawEffects,
    ESlateBatchDrawFlag InBatchFlags,
    const FSlateDrawElement& InDrawEle...,
    int32 InstanceCount,
    uint32 InstanceOffset,
    ISlateUpdatableInstanceBuffer*...
)

Functions

Operators

Name Description

Public function Const

bool

 

operator==

(
    const FSlateElementBatch& Other
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss