![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <FastReferenceCollector.h>
Public Member Functions | |
| UE_NONCOPYABLE (FWorkerContext) | |
| COREUOBJECT_API | FWorkerContext () |
| COREUOBJECT_API | ~FWorkerContext () |
| FORCEINLINE UObject * | GetReferencingObject () |
| TConstArrayView< UObject * > | GetInitialObjects () |
| void | ResetInitialObjects () |
| void | SetInitialObjectsUnpadded (TArray< UObject * > &Objects) |
| void | SetInitialObjectsPrepadded (TConstArrayView< UObject * > PaddedObjects) |
| int64 | GetAllocatedSize () const |
| FORCEINLINE int32 | GetWorkerIndex () const |
| void | AllocateWorkerIndex () |
| void | FreeWorkerIndex () |
Public Attributes | |
| FWorkBlockifier | ObjectsToSerialize |
| TConstArrayView< UObject ** > | InitialNativeReferences |
| FWorkCoordinator * | Coordinator = nullptr |
| TArray< FWeakReferenceInfo > | WeakReferences |
| FProcessorStats | Stats |
| TArray< FGarbageReferenceInfo > | GarbageReferences |
| FSuspendedStructBatch | IncrementalStructs |
| bool | bIsSuspended = false |
| bool | bDidWork = false |
| FDebugSchemaStackNode * | SchemaStack = nullptr |
Friends | |
| template<typename ProcessorType , typename CollectorType > | |
| class | TFastReferenceCollector |
| class | FSlowAROManager |
Thread-local context containing initial objects and references to collect
| UE::GC::FWorkerContext::FWorkerContext | ( | ) |
| UE::GC::FWorkerContext::~FWorkerContext | ( | ) |
| void UE::GC::FWorkerContext::AllocateWorkerIndex | ( | ) |
| void UE::GC::FWorkerContext::FreeWorkerIndex | ( | ) |
|
inline |
Returns the size of memory allocated by internal arrays
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| PaddedObjects | must already be padded to allow reading valid objects past the end |
| Objects | must outlive this context. It's data is padded by repeating the last object to allow prefetching past the end. |
| UE::GC::FWorkerContext::UE_NONCOPYABLE | ( | FWorkerContext | ) |
|
friend |
|
friend |
| FWorkCoordinator* UE::GC::FWorkerContext::Coordinator = nullptr |
| TArray<FGarbageReferenceInfo> UE::GC::FWorkerContext::GarbageReferences |
| FSuspendedStructBatch UE::GC::FWorkerContext::IncrementalStructs |
| TConstArrayView<UObject**> UE::GC::FWorkerContext::InitialNativeReferences |
| FWorkBlockifier UE::GC::FWorkerContext::ObjectsToSerialize |
| FDebugSchemaStackNode* UE::GC::FWorkerContext::SchemaStack = nullptr |
| FProcessorStats UE::GC::FWorkerContext::Stats |
| TArray<FWeakReferenceInfo> UE::GC::FWorkerContext::WeakReferences |