Navigation
Unreal Engine C++ API Reference > Runtime > SlateCore > Rendering
Inheritance Hierarchy
- FReferenceCollector
- FSlateObjectReferenceCollector
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Rendering/SlateObjectReferenceCollector.h |
Include | #include "Rendering/SlateObjectReferenceCollector.h" |
Syntax
class FSlateObjectReferenceCollector : public FReferenceCollector
Remarks
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.
Variables
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FSlateObjectReferenceCollector
(
TArray< UObject* >& InReferencedSet |
Overridden from FReferenceCollector
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | HandleObjectReference
(
UObject*& InObject, |
Handle object reference. Called by AddReferencedObject. |
![]() ![]() ![]() |
bool | If true archetype references should not be added to this collector. | |
![]() ![]() ![]() |
bool | If true transient objects should not be added to this collector. |