Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/ENUM_CLASS_FLAGS
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/GPUSortManager.h |
| Include | #include "GPUSortManager.h" |
ENUM_CLASS_FLAGS
(
EGPUSortFlags
)
Remarks
Callback used by the FGPUSortManager to make each client system initialize the sort keys for a specific sort batch. Sort batches are created when GPU sort tasks are registered in FGPUSortManager::AddTask(). Note that the system that is getting this callback must only initialize the data for the elements is has registered in this batch.
Parameters
| Name | Description |
|---|---|
| RHICmdList | The command list used to initiate the keys and values on GPU. |
| BatchId | The GPUSortManager batch id (regrouping several similar sort tasks). |
| NumElementsInBatch | The number of elements grouped in the batch (each element maps to a sort task) |
| Flags | Details about the key precision (see EGPUSortFlags::AnyKeyPrecision) and the keygen location (see EGPUSortFlags::AnyKeyGenLocation). |
| KeysUAV | The UAV that holds all the initial keys used to sort the values. |
| ValuesUAV | The UAV that holds the initial values to be sorted accordingly to the keys. |