NiagaraEmitterInstanceBatcher::AddSortedGPUSimulation

Register work for GPU sorting (using the GPUSortManager).

Windows
MacOS
Linux

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraEmitterInstanceBatcher.h

Include

#include "NiagaraEmitterInstanceBatcher.h"

Source

/Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraEmitterInstanceBatcher.cpp

Syntax

bool AddSortedGPUSimulation
(
    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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss