Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraGpuComputeDispatchInterface.h |
Include |
#include "NiagaraGpuComputeDispatchInterface.h" |
bool AddSortedGPUSimulation
(
struct FNiagaraGPUSortInfo & SortInfo
)
Register work for GPU sorting (using the GPUSortManager). The constraints of the sort request are defined in SortInfo.SortFlags. The sort task bindings are set in SortInfo.AllocationInfo. The initial keys and values are generated in the GenerateSortKeys() callback.
Return true if the work was registered, or false it GPU sorting is not available or impossible.