UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::GC::TFastReferenceCollector< ProcessorType, CollectorType > Class Template Reference

#include <FastReferenceCollector.h>

+ Inheritance diagram for UE::GC::TFastReferenceCollector< ProcessorType, CollectorType >:

Public Member Functions

 TFastReferenceCollector (ProcessorType &InProcessor)
 
void ProcessObjectArray (FWorkerContext &Context)
 

Additional Inherited Members

- Static Public Member Functions inherited from FGCInternals
static FORCEINLINE FUObjectItemGetResolvedOwner (FFieldPath &Path)
 
static FORCEINLINE void ClearCachedField (FFieldPath &Path)
 

Detailed Description

template<typename ProcessorType, typename CollectorType>
class UE::GC::TFastReferenceCollector< ProcessorType, CollectorType >

Helper class that looks for UObject references by traversing UClass token stream and calls AddReferencedObjects. Provides a generic way of processing references that is used by Unreal Engine garbage collection. Can be used for fast (does not use serialization) reference collection purposes.

IT IS CRITICAL THIS CLASS DOES NOT CHANGE WITHOUT CONSIDERING PERFORMANCE IMPACT OF SAID CHANGES

See also
FSimpleReferenceProcessorBase and TDefaultCollector for documentation on required APIs

Constructor & Destructor Documentation

◆ TFastReferenceCollector()

template<typename ProcessorType , typename CollectorType >
UE::GC::TFastReferenceCollector< ProcessorType, CollectorType >::TFastReferenceCollector ( ProcessorType &  InProcessor)
inline

Member Function Documentation

◆ ProcessObjectArray()

template<typename ProcessorType , typename CollectorType >
void UE::GC::TFastReferenceCollector< ProcessorType, CollectorType >::ProcessObjectArray ( FWorkerContext Context)
inline

The documentation for this class was generated from the following files: