Navigation
API > API/Runtime > API/Runtime/SlateCore
Used to gather all the referenced UObjects used by Slate when rendering a frame. We're forced to do this because several draw calls only use resources for a frame and then allow them to be garbage collected, so Slate needs to keep those objects alive for the duration that they are used.
| Name | FSlateObjectReferenceCollector |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Rendering/SlateObjectReferenceCollector.h |
| Include Path | #include "Rendering/SlateObjectReferenceCollector.h" |
Syntax
class FSlateObjectReferenceCollector : public FReferenceCollector
Inheritance Hierarchy
- FReferenceCollector → FSlateObjectReferenceCollector
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Rendering/SlateObjectReferenceCollector.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ReferencedObjects | TArray< UObject * > & | Rendering/SlateObjectReferenceCollector.h |
Functions
Public
Overridden from FReferenceCollector
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Rendering/SlateObjectReferenceCollector.h | |||
virtual bool IsIgnoringArchetypeRef() |
Rendering/SlateObjectReferenceCollector.h | ||
virtual bool IsIgnoringTransient() |
Rendering/SlateObjectReferenceCollector.h |