FSlateRenderer::AddWidgetRendererUpdate

Lets the renderer know that we need to render some widgets to a render target.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Rendering/SlateRenderer.h

Include

#include "Rendering/SlateRenderer.h"

Syntax

virtual void AddWidgetRendererUpdate
(
    const struct FRenderThreadUpdateContext & Context,
    bool bDeferredRenderTargetUpdate
)

Remarks

Lets the renderer know that we need to render some widgets to a render target.

Parameters

Parameter

Description

Context

The context that describes what we're rendering to

bDeferredRenderTargetUpdate

Whether or not the update is deferred until the end of the frame when it is potentially less expensive to update the render target. See GDeferRetainedRenderingRenderThread for more info. Care must be taken to destroy anything referenced in the context when it is safe to do so.

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