FRenderCommandFence::BeginFence

Adds a fence command to the rendering command queue.

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RenderCommandFence.h

Include

#include "RenderCommandFence.h"

Source

/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp

Syntax

void BeginFence
(
    bool bSyncToRHIAndGPU
)

Remarks

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.

Parameters

Parameter

Description

bSyncToRHIAndGPU, true

if we should wait for the RHI thread or GPU, otherwise we only wait for the render thread.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss