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 |
void OnPreRender
(
class FRDGBuilder & GraphBuilder
)
Callback that needs to be called in the rendering loop, after calls to FFXSystemInterface::PreRender() are issued. At this point, no other GPU sort tasks are allowed to be created through AddTask() as the sort batches get finalized. At this point, any task with the EGPUSortFlags::SortAfterPreRender will possibly be done, unless it also had the EGPUSortFlags::SortAfterPostRenderOpaque flag. Tasks with EGPUSortFlags::KeyGenAfterPreRender get their client callbacks issued to set the initial keys and values.
Parameter |
Description |
---|---|
RHICmdList |
The command list to be used. |