Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/GPUSortManager.h |
Include |
#include "GPUSortManager.h" |
Source |
/Engine/Source/Runtime/Engine/Private/GPUSortManager.cpp |
bool AddTask
(
FAllocationInfo & OutInfo,
int32 ValueCount,
EGPUSortFlags TaskFlags
)
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.
Parameter |
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. |