Navigation
API > API/Runtime > API/Runtime/RenderCore
Used to track pending rendering commands from the game thread.
| Name | FRenderCommandFence |
| Type | class |
| Header File | /Engine/Source/Runtime/RenderCore/Public/RenderCommandFence.h |
| Include Path | #include "RenderCommandFence.h" |
Syntax
class FRenderCommandFence
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRenderCommandFence() |
Ctor/dtor. | RenderCommandFence.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FRenderCommandFence() |
RenderCommandFence.h |
Enums
Public
| Name | Remarks |
|---|---|
| ESyncDepth |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CompletionTask | UE::Tasks::FTask | Task that represents completion of this fence | RenderCommandFence.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BeginFence
(
ESyncDepth SyncDepth |
Inserts this fence in the rendering pipeline. | RenderCommandFence.h | |
bool IsFenceComplete() |
Return true if the fence is complete | RenderCommandFence.h | |
void Wait
(
bool bProcessGameThreadTasks |
Waits for pending fence commands to retire. Waits for pending fence commands to retire. | RenderCommandFence.h |