UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FGPUSortManager::FKeyGenInfo Struct Reference

#include <GPUSortManager.h>

Public Member Functions

ENGINE_API FKeyGenInfo (uint32 NumElements, bool bHighPrecisionKeys)
 

Public Attributes

uint32 ElementKeyMask
 
uint32 ElementKeyShift
 
uint32 SortKeyMask
 
FUintVector4 SortKeyParams
 

Detailed Description

A little helper to generate the batch element keys based on the number of elements in the batch and the sort precision.

Constructor & Destructor Documentation

◆ FKeyGenInfo()

FGPUSortManager::FKeyGenInfo::FKeyGenInfo ( uint32  NumElements,
bool  bHighPrecisionKeys 
)

Member Data Documentation

◆ ElementKeyMask

uint32 FGPUSortManager::FKeyGenInfo::ElementKeyMask

ElementKey = (ElementIndex & EmitterKeyMask) << ElementKeyShift. SortKey = (Key32 >> SortKeyShift) & SortKeyMask.

◆ ElementKeyShift

uint32 FGPUSortManager::FKeyGenInfo::ElementKeyShift

◆ SortKeyMask

uint32 FGPUSortManager::FKeyGenInfo::SortKeyMask

◆ SortKeyParams

FUintVector4 FGPUSortManager::FKeyGenInfo::SortKeyParams

(SortKeyMask, SortKeyShift, SortKeySignBit, -)


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