Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Rendering/SlateRenderer.h |
Include |
#include "Rendering/SlateRenderer.h" |
FSlateResourceHandle GetResourceHandle
(
const FSlateBrush & Brush
)
Creates a handle to a Slate resource A handle is used as fast path for looking up a rendering resource for a given brush when adding Slate draw elements This can be cached and stored safely in code. It will become invalid when a resource is destroyed It is expensive to create a resource so do not do it in time sensitive areas
The created resource handle.
Parameter |
Description |
---|---|
Brush |
The brush to get a rendering resource handle |