AddFrameRenderPrerequisite

Adds a task that must be completed either before the next scene draw or a flush rendering commands This can be called from any thread though it probably doesn't make sense to call it from the render thread.

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RenderingThread.h

Include

#include "RenderingThread.h"

Source

/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp

Syntax

void AddFrameRenderPrerequisite
(
    const FGraphEventRef & TaskToAdd
)

Remarks

Adds a task that must be completed either before the next scene draw or a flush rendering commands This can be called from any thread though it probably doesn't make sense to call it from the render thread. Adds a task that must be completed either before the next scene draw or a flush rendering commands Note, normally, you don't need the render command themselves in this list workers that queue render commands are usually sufficient

Parameters

Parameter

Description

TaskToAdd, task

to add as a pending render thread task

TaskToAdd, task

to add as a pending render thread task

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