Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FSlateRenderer
Description
Register the active scene pointer with the renderer. The returned scope captures the previously registered scene index and restores it when destroyed.
| Name | RegisterCurrentScene |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Rendering/SlateRenderer.h |
| Include Path | #include "Rendering/SlateRenderer.h" |
UE::Slate::FSceneRegistrationScope RegisterCurrentScene
(
FSceneInterface * Scene
)