FNiagaraGpuComputeDispatchInterface::AddSortedGPUSimulation

Register work for GPU sorting (using the GPUSortManager).

Choose your operating system:

Windows

macOS

Linux

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraGpuComputeDispatchInterface.h

Include

#include "NiagaraGpuComputeDispatchInterface.h"

Syntax

bool AddSortedGPUSimulation
(
    struct FNiagaraGPUSortInfo & SortInfo
)

Remarks

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.