Navigation
API > API/Runtime > API/Runtime/SlateCore
ISlateViewport::Paint must return this interface. By default, it is a no-op. If a Slate Viewport needs to establish some global state while its host SWidget and while that SWidget's child widget(s) are painted, then it should clean up that state in the destructor of the PaintScope that it returns.
| Name | FPaintScope |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Rendering/RenderingCommon.h |
| Include Path | #include "Rendering/RenderingCommon.h" |
Syntax
class FPaintScope
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FPaintScope() |
Rendering/RenderingCommon.h |