CriWare Unreal Engine
Plug-ins for CriWare solutions.
载入中...
搜索中...
未找到
FAtomCommandFence类 参考

#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::~FAtomCommandFence ( )

成员函数说明

◆ 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.

参数
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.

类成员变量说明

◆ Fence

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

The last atom batch task


该类的文档由以下文件生成:
  • 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