![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SlateInvalidationWidgetHeap.h>
Classes | |
| struct | FWidgetOrderLess |
Public Types | |
| using | FElement = FSlateInvalidationWidgetHeapElement |
| using | SortPredicate = FWidgetOrderLess |
| using | FElementContainer = TArray< FElement, TInlineAllocator< NumberOfPreAllocatedElement > > |
Public Member Functions | |
| FSlateInvalidationWidgetPreHeap (FSlateInvalidationWidgetList &InOwnerList) | |
| void | HeapPushUnique (FSlateInvalidationWidgetList::InvalidationWidgetType &InvalidationWidget) |
| FSlateInvalidationWidgetIndex | HeapPop () |
| void | HeapPopDiscard () |
| FSlateInvalidationWidgetIndex | HeapPeek () const |
| const FElement & | HeapPeekElement () const |
| int32 | RemoveRange (const FSlateInvalidationWidgetList::FIndexRange &Range) |
| void | Reset (bool bResetContained) |
| int32 | Num () const |
| bool | Contains_Debug (const FSlateInvalidationWidgetIndex WidgetIndex) const |
| bool | IsValidHeap_Debug () |
| const FElementContainer & | GetRaw () const |
| template<typename Predicate > | |
| void | ForEachIndexes (Predicate Pred) |
Static Public Attributes | |
| static constexpr int32 | NumberOfPreAllocatedElement = 32 |
Heap of widget that is ordered by increasing sort order. The list need to always stay ordered.
| using FSlateInvalidationWidgetPreHeap::FElementContainer = TArray<FElement, TInlineAllocator<NumberOfPreAllocatedElement> > |
|
inline |
|
inline |
Does it contains the widget index.
|
inline |
Iterate over each element in the list in any order.
|
inline |
Returns the raw list.
|
inline |
Returns the biggest WidgetIndex from the list.
|
inline |
Returns the biggest WidgetIndex from the list.
|
inline |
Returns and removes the biggest WidgetIndex from the list.
|
inline |
Removes the biggest WidgetIndex from the list.
|
inline |
Insert into the list at the proper order (see binary heap) only if it's not already contains by the list.
|
inline |
@retuns true if the heap is heapified.
|
inline |
Returns the number of elements in the list.
|
inline |
Remove range
Empties the list, but doesn't change memory allocations.