FGPUSortManager::OnPreRender

Callback that needs to be called in the rendering loop, after calls to [FFXSystemInterface::PreRender()](API\Runtime\Engine\FFXSystemInterface\PreRender) are issued.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/GPUSortManager.h

Include

#include "GPUSortManager.h"

Source

/Engine/Source/Runtime/Engine/Private/GPUSortManager.cpp

Syntax

void OnPreRender
(
    FRHICommandListImmediate & RHICmdList
)

Remarks

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.

Parameters

Parameter

Description

RHICmdList

The command list to be used.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss