Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FGPUSortManager
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddTask
(
FAllocationInfo& OutInfo, |
GPUSortManager.h | ||
bool AddTask
(
FRHICommandListBase& RHICmdList, |
Add a GPU sort task to process this frame. | GPUSortManager.h |
AddTask(FAllocationInfo &, int32, EGPUSortFlags)
| Name | AddTask |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/GPUSortManager.h |
| Include Path | #include "GPUSortManager.h" |
| Source | /Engine/Source/Runtime/Engine/Private/GPUSortManager.cpp |
bool AddTask
(
FAllocationInfo & OutInfo,
int32 ValueCount,
EGPUSortFlags TaskFlags
)
AddTask(FRHICommandListBase &, FAllocationInfo &, int32, EGPUSortFlags)
Description
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.
| Name | AddTask |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/GPUSortManager.h |
| Include Path | #include "GPUSortManager.h" |
| Source | /Engine/Source/Runtime/Engine/Private/GPUSortManager.cpp |
bool AddTask
(
FRHICommandListBase & RHICmdList,
FAllocationInfo & OutInfo,
int32 ValueCount,
EGPUSortFlags TaskFlags
)
Parameters
| Name | Remarks |
|---|---|
| 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. |