Navigation
Unreal Engine C++ API Reference > Runtime > Engine > FGPUSortManager
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/GPUSortManager.h |
Include | #include "GPUSortManager.h" |
Source | /Engine/Source/Runtime/Engine/Private/GPUSortManager.cpp |
bool AddTask
&40;
FAllocationInfo & OutInfo,
int32 ValueCount,
EGPUSortFlags TaskFlags
&41;
Remarks
Add a GPU sort task to process this frame. Tasks are expected to be created before OnPreRender() gets called.
Return true if the task was added to a batch, false otherwise, could be because GPU sorting is disabled.
Parameters
Name | Description |
---|---|
OutInfo | The details about the allocation bindings, if success. |
IndexCount | The number of values that need to be sorted by this task. |
SortFlags | The sort task requirements. |