Navigation
API > API/Runtime > API/Runtime/Engine > API/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 |
void Register
&40;
const FGPUSortKeyGenDelegate & CallbackDelegate,
EGPUSortFlags UsedFlags,
const FName & InName
&41;
Remarks
Register a client system into the sort manager. Client systems are systems that will call AddTask(). Those systems need to register a callback, the possible used flags for their tasks and a name. The callback is required because the initial content to perform GPU sorts is only configured long after AddTask() gets called in the rendering loop.
Parameters
| Name | Description |
|---|---|
| CallbackDelegate | The callback that will be used to set the initial keys and values for each batch elements. |
| UsedFlags | The possibly used flags for each of the client system tasks, used to perform some optimizations. |
| InName | A name defining this client system, used for GPU markers. |