engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FRenderCommandFence类 参考

Used to track pending rendering commands from the game thread. 更多...

#include <RenderCommandFence.h>

Public 成员函数

void BeginFence (bool bSyncToRHIAndGPU=false)
 Adds a fence command to the rendering command queue. 更多...
 
void Wait (bool bProcessGameThreadTasks=false) const
 Waits for pending fence commands to retire. 更多...
 

详细描述

Used to track pending rendering commands from the game thread.

成员函数说明

◆ BeginFence()

void FRenderCommandFence::BeginFence ( bool  bSyncToRHIAndGPU = false)

Adds a fence command to the rendering 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.

参数
bSyncToRHIAndGPU,trueif we should wait for the RHI thread or GPU, otherwise we only wait for the render thread.

◆ Wait()

void FRenderCommandFence::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

该类的文档由以下文件生成: