UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UObjectClusters.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3/*=============================================================================
4 UObjectClusters.h: Unreal UObject Cluster helper functions
5=============================================================================*/
6
7#pragma once
8
9#include "Containers/Array.h"
10#include "CoreMinimal.h"
11#include "Misc/Build.h"
12
13class FString;
14
15#ifndef UE_GCCLUSTER_VERBOSE_LOGGING
16#define UE_GCCLUSTER_VERBOSE_LOGGING (0 && !UE_BUILD_SHIPPING)
17#endif
18
19#if !UE_BUILD_SHIPPING
20
21// Dumps a single cluster to log
23
24// Dumps all clusters to log.
26
27// Attempts to find clusters with no references to them
29
30#endif // !UE_BUILD_SHIPPING
31
32// Whether object clusters can be created or not.
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
bool CanCreateObjectClusters()
Definition UObjectClusters.cpp:854
COREUOBJECT_API void DumpClusterToLog(const struct FUObjectCluster &Cluster, bool bHierarchy, bool bIndexOnly)
COREUOBJECT_API void FindStaleClusters(const TArray< FString > &Args)
Definition UObjectClusters.cpp:486
COREUOBJECT_API void ListClusters(const TArray< FString > &Args)
Definition UObjectClusters.cpp:388
Definition Array.h:670
Definition UObjectArray.h:1570