|
CriWare Unreal Engine
Plug-ins for CriWare solutions.
|
#include <AtomThread.h>
Public 成员函数 | |
| ~FAtomCommandFence () | |
| void | BeginFence () |
| bool | IsFenceComplete () const |
| void | Wait (bool bProcessGameThreadTasks=false) const |
Private 属性 | |
| UE::Tasks::FTask | Fence |
Used to track pending atom commands from the game thread.
| FAtomCommandFence::~FAtomCommandFence | ( | ) |
| void FAtomCommandFence::BeginFence | ( | ) |
Adds a fence command to the atom command queue. Conceptually, the pending fence count is incremented to reflect the pending fence command. Once the rendering thread has executed the fence command, it decrements the pending fence count.
| bool FAtomCommandFence::IsFenceComplete | ( | ) | const |
| void FAtomCommandFence::Wait | ( | bool | bProcessGameThreadTasks = false | ) | const |
Waits for pending fence commands to retire.
| bProcessGameThreadTasks,if | true we are on a short callstack where it is safe to process arbitrary game thread tasks while we wait |
Waits for pending fence commands to retire.
|
mutableprivate |
The last atom batch task