FSlateElementBatcher

A class which batches Slate elements for rendering

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Rendering/ElementBatcher.h

Include

#include "Rendering/ElementBatcher.h"

Syntax

class FSlateElementBatcher

Remarks

A class which batches Slate elements for rendering

Constructors

Name Description

Public function

FSlateElementBatcher

Destructors

Name Description

Public function

~FSlateElementBatcher()

Functions

Name Description

Public function

void

 

AddElements

(
    FSlateWindowElementList& ElementLi...
)

Batches elements to be rendered

Public function Const

bool

 

HasFXPassses()

Whether or not any post process passes were batched

Public function Const

FColor

 

PackVertexColor

(
    const FLinearColor& InLinearColor
)

Public function Const

bool

 

RequiresVsync()

Returns true if the elements in this batcher require v-sync.

Public function

void

 

ResetBatches()

Resets all stored data accumulated during the batching process