Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/RenderingThread.h |
Include |
#include "RenderingThread.h" |
Source |
/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp |
void AddFrameRenderPrerequisite
(
const FGraphEventRef & TaskToAdd
)
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
Parameter |
Description |
---|---|
TaskToAdd, task |
to add as a pending render thread task |
TaskToAdd, task |
to add as a pending render thread task |