![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GPUSortManager.h>
Public Member Functions | |
| ENGINE_API | FKeyGenInfo (uint32 NumElements, bool bHighPrecisionKeys) |
Public Attributes | |
| uint32 | ElementKeyMask |
| uint32 | ElementKeyShift |
| uint32 | SortKeyMask |
| FUintVector4 | SortKeyParams |
A little helper to generate the batch element keys based on the number of elements in the batch and the sort precision.
| uint32 FGPUSortManager::FKeyGenInfo::ElementKeyMask |
ElementKey = (ElementIndex & EmitterKeyMask) << ElementKeyShift. SortKey = (Key32 >> SortKeyShift) & SortKeyMask.
| uint32 FGPUSortManager::FKeyGenInfo::ElementKeyShift |
| uint32 FGPUSortManager::FKeyGenInfo::SortKeyMask |
| FUintVector4 FGPUSortManager::FKeyGenInfo::SortKeyParams |
(SortKeyMask, SortKeyShift, SortKeySignBit, -)