![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <RenderCommandFence.h>
Public Types | |
| enum class | ESyncDepth { RenderThread , RHIThread , Swapchain } |
Public Member Functions | |
| RENDERCORE_API void | BeginFence (ESyncDepth SyncDepth=ESyncDepth::RenderThread) |
| RENDERCORE_API void | Wait (bool bProcessGameThreadTasks=false) const |
| RENDERCORE_API bool | IsFenceComplete () const |
| RENDERCORE_API | FRenderCommandFence () |
| RENDERCORE_API | ~FRenderCommandFence () |
Used to track pending rendering commands from the game thread.
|
strong |
|
default |
|
default |
| void FRenderCommandFence::BeginFence | ( | ESyncDepth | SyncDepth = ESyncDepth::RenderThread | ) |
Inserts this fence in the rendering pipeline.
| SyncDepth,determines | which stage of the pipeline will signal the fence. |
| bool FRenderCommandFence::IsFenceComplete | ( | ) | const |
Waits for pending fence commands to retire.
| bProcessGameThreadTasks,if | true 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.