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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback