Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/GPUSort.h |
Include |
#include "GPUSort.h" |
Source |
/Engine/Source/Runtime/Engine/Private/GPUSort.cpp |
int32 SortGPUBuffers
(
FRHICommandListImmediate & RHICmdList,
FGPUSortBuffers SortBuffers,
int32 BufferIndex,
uint32 KeyMask,
int32 Count,
ERHIFeatureLevel::Type FeatureLevel
)
Sort a buffer on the GPU.
The index of the buffer containing sorted results.
Parameter |
Description |
---|---|
SortBuffers |
The buffer to sort including required views and a ping- pong location of appropriate size. |
BufferIndex |
Index of the buffer containing keys. |
KeyMask |
Bitmask indicating which key bits contain useful information. |
Count |
How many items in the buffer need to be sorted. |