UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSlateElementBatcher Class Reference

#include <ElementBatcher.h>

Public Member Functions

SLATECORE_API FSlateElementBatcher (TSharedRef< FSlateRenderingPolicy > InRenderingPolicy)
 
SLATECORE_API ~FSlateElementBatcher ()
 
SLATECORE_API void AddElements (FSlateWindowElementList &ElementList)
 
bool RequiresVsync () const
 
bool HasFXPassses () const
 
bool CompositeHDRViewports () const
 
ESlatePostRT GetUsedSlatePostBuffers () const
 
ESlatePostRT GetResourceUpdatingPostBuffers () const
 
void SetResourceUpdatingPostBuffers (ESlatePostRT InResourceUpdatingPostBuffers)
 
void SetCompositeHDRViewports (bool bInCompositeHDRViewports)
 
SLATECORE_API void ResetBatches ()
 
FColor PackVertexColor (const FLinearColor &InLinearColor) const
 

Detailed Description

A class which batches Slate elements for rendering

Constructor & Destructor Documentation

◆ FSlateElementBatcher()

FSlateElementBatcher::FSlateElementBatcher ( TSharedRef< FSlateRenderingPolicy InRenderingPolicy)

◆ ~FSlateElementBatcher()

FSlateElementBatcher::~FSlateElementBatcher ( )

Member Function Documentation

◆ AddElements()

void FSlateElementBatcher::AddElements ( FSlateWindowElementList ElementList)

Batches elements to be rendered

Parameters
DrawElementsThe elements to batch

◆ CompositeHDRViewports()

bool FSlateElementBatcher::CompositeHDRViewports ( ) const
inline

◆ GetResourceUpdatingPostBuffers()

ESlatePostRT FSlateElementBatcher::GetResourceUpdatingPostBuffers ( ) const
inline

◆ GetUsedSlatePostBuffers()

ESlatePostRT FSlateElementBatcher::GetUsedSlatePostBuffers ( ) const
inline

◆ HasFXPassses()

bool FSlateElementBatcher::HasFXPassses ( ) const
inline

Whether or not any post process passes were batched

◆ PackVertexColor()

FColor FSlateElementBatcher::PackVertexColor ( const FLinearColor InLinearColor) const
inline

◆ RequiresVsync()

bool FSlateElementBatcher::RequiresVsync ( ) const
inline

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

◆ ResetBatches()

void FSlateElementBatcher::ResetBatches ( )

Resets all stored data accumulated during the batching process

◆ SetCompositeHDRViewports()

void FSlateElementBatcher::SetCompositeHDRViewports ( bool  bInCompositeHDRViewports)
inline

◆ SetResourceUpdatingPostBuffers()

void FSlateElementBatcher::SetResourceUpdatingPostBuffers ( ESlatePostRT  InResourceUpdatingPostBuffers)
inline

The documentation for this class was generated from the following files: