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

#include <CanvasTypes.h>

Public Member Functions

 FCanvasSortElement (int32 InDepthSortKey=0)
 
bool operator== (const FCanvasSortElement &Other) const
 

Public Attributes

int32 DepthSortKey
 
TArray< class FCanvasBaseRenderItem * > RenderBatchArray
 

Detailed Description

Contains all of the batched elements that need to be rendered at a certain depth sort key

Constructor & Destructor Documentation

◆ FCanvasSortElement()

FCanvas::FCanvasSortElement::FCanvasSortElement ( int32  InDepthSortKey = 0)
inline

Init constructor

Member Function Documentation

◆ operator==()

bool FCanvas::FCanvasSortElement::operator== ( const FCanvasSortElement Other) const
inline

Equality is based on sort key

Parameters
Other- instance to compare against
Returns
true if equal

Member Data Documentation

◆ DepthSortKey

int32 FCanvas::FCanvasSortElement::DepthSortKey

sort key for this set of render batch elements

◆ RenderBatchArray

TArray<class FCanvasBaseRenderItem*> FCanvas::FCanvasSortElement::RenderBatchArray

list of batches that should be rendered at this sort key level


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