FCanvas::Flush_RenderThread

Sends a message to the rendering thread to draw the batched elements.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/CanvasTypes.h

Include

#include "CanvasTypes.h"

Source

/Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp

Syntax

void Flush_RenderThread
(
    FRHICommandListImmediate & RHICmdList,
    bool bForce,
    bool bInsideRenderPass
)

Remarks

Sends a message to the rendering thread to draw the batched elements.

Parameters

Parameter

Description

RHICmdList

command list to use

bForce

force the flush even if Allow_Flush is not enabled

bInsideRenderPass

Set to true if flushing inside a render pass (e.g. Render Graph pass). This will skip creating a render pass internally, and assert if the command list is not in a render pass.

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