Choose your operating system:
Windows
macOS
Linux
| FRefCountedObject
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/GPUSortManager.h |
Include |
#include "GPUSortManager.h" |
class FGPUSortManager : public FRefCountedObject
A manager that handles different GPU sort tasks. Each task has different constraints about when the data can be generated and when the sorted results need to be available. The usecase involes registering a sort task through AddTask() and then initializing the sort data through the KeyGen callback. The sort manager can be enabled or disabled through "fx.AllowGPUSorting"
Name | Description | ||
---|---|---|---|
|
PostPostRenderEvent |
||
|
PostPreRenderEvent |
Name | Description | |
---|---|---|
|
FGPUSortManager ( |
Creates the sort manager, this is when the settings are configured. |
Name | Description | |
---|---|---|
|
~FGPUSortManager() |
Name | Description | ||
---|---|---|---|
|
AddTask ( |
Add a GPU sort task to process this frame. |
|
|
OnPostRenderOpaque ( |
Callback that needs to be called in the rendering loop, after calls to FFXSystemInterface::PostRenderOpaque() are issued. |
|
|
OnPreRender ( |
Callback that needs to be called in the rendering loop, after calls to FFXSystemInterface::PreRender() are issued. |
|
|
Register ( |
Register a client system into the sort manager. |
Name |
Description |
|
---|---|---|
|
FAllocationInfo |
Information about the bindings for a given sort task. |
|
FKeyGenInfo |
A little helper to generate the batch element keys based on the number of elements in the batch and the sort precision. |
|
FPostPostRenderEvent |
Event to register and receive post-postrender notification. |
|
FPostPreRenderEvent |
Event to register and receive post-prerender notification. |
Name |
Description |
|
---|---|---|
|
ESortBatchProcessingOrder |
Defines the order in which sort batches are processed every frame. |
Name |
Description |
---|---|
FCallbackArray |
|
FDynamicValueBufferArray |
|
FSortBatchArray |
Expected that few will be enough, since we only need severals batches when ESortBatchProcessingOrder::KeyGenAfterPreRenderAndSortAfterPostRenderOpaque. |
FValueBufferArray |