Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FCanvas > API/Runtime/Engine/FCanvas/Flush_RenderThread
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/CanvasTypes.h |
| Include | #include "CanvasTypes.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp |
void Flush_RenderThread
&40;
FRHICommandListImmediate & RHICmdList,
bool bForce
&41;
Remarks
Sends a message to the rendering thread to draw the batched elements.
Parameters
| Name | 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. |