CriWare Unreal Engine
Plug-ins for CriWare solutions.
Loading...
Searching...
No Matches
FAtomCommandFence Class Reference

#include <AtomThread.h>

Public Member Functions

 ~FAtomCommandFence ()
void BeginFence ()
bool IsFenceComplete () const
void Wait (bool bProcessGameThreadTasks=false) const

Private Attributes

UE::Tasks::FTask Fence

Detailed Description

Used to track pending atom commands from the game thread.

Constructor & Destructor Documentation

◆ ~FAtomCommandFence()

FAtomCommandFence::~FAtomCommandFence ( )

Member Function Documentation

◆ BeginFence()

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.

◆ IsFenceComplete()

bool FAtomCommandFence::IsFenceComplete ( ) const

◆ Wait()

void FAtomCommandFence::Wait ( bool bProcessGameThreadTasks = false) const

Waits for pending fence commands to retire.

Parameters
bProcessGameThreadTasks,iftrue 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.

Member Data Documentation

◆ Fence

UE::Tasks::FTask FAtomCommandFence::Fence
mutableprivate

The last atom batch task


The documentation for this class was generated from the following files:
  • C:/git/uev2/Engine/Plugins/Runtime/CriWare/CriWare/Source/CriWareCore/Public/Atom/AtomThread.h
  • C:/git/uev2/Engine/Plugins/Runtime/CriWare/CriWare/Source/CriWareCore/Private/Atom/AtomThread.cpp