UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FObjectMemoryAnalyzer Struct Reference

#include <ObjectMemoryAnalyzer.h>

Classes

struct  EAnalyzeFlags
 
struct  EPrintFlags
 
struct  ESortKey
 
struct  FCompareFSortBySize
 

Public Member Functions

COREUOBJECT_API FObjectMemoryAnalyzer (uint32 Flags=0)
 
COREUOBJECT_API FObjectMemoryAnalyzer (class UClass *BaseClass, uint32 Flags=0)
 
COREUOBJECT_API FObjectMemoryAnalyzer (class UObject *Object, uint32 Flags=0)
 
COREUOBJECT_API FObjectMemoryAnalyzer (const TArray< class UObject * > &ObjectList, uint32 Flags=0)
 
COREUOBJECT_API void AnalyzeObject (class UObject *Object)
 
COREUOBJECT_API void AnalyzeObjects (const TArray< class UObject * > &ObjectList)
 
COREUOBJECT_API void AnalyzeObjects (class UClass *BaseClass)
 
COREUOBJECT_API int32 GetResults (TArray< FObjectMemoryUsage > &Results)
 
COREUOBJECT_API const FObjectMemoryUsageGetObjectMemoryUsage (class UObject *Obj)
 
COREUOBJECT_API void PrintResults (FOutputDevice &Ar, uint32 PrintFlags=0)
 

Detailed Description

Analyzes memory usage of UObjects

Constructor & Destructor Documentation

◆ FObjectMemoryAnalyzer() [1/4]

FObjectMemoryAnalyzer::FObjectMemoryAnalyzer ( uint32  Flags = 0)

◆ FObjectMemoryAnalyzer() [2/4]

FObjectMemoryAnalyzer::FObjectMemoryAnalyzer ( class UClass BaseClass,
uint32  Flags = 0 
)

◆ FObjectMemoryAnalyzer() [3/4]

FObjectMemoryAnalyzer::FObjectMemoryAnalyzer ( class UObject Object,
uint32  Flags = 0 
)

◆ FObjectMemoryAnalyzer() [4/4]

FObjectMemoryAnalyzer::FObjectMemoryAnalyzer ( const TArray< class UObject * > &  ObjectList,
uint32  Flags = 0 
)

Member Function Documentation

◆ AnalyzeObject()

void FObjectMemoryAnalyzer::AnalyzeObject ( class UObject Object)

Analyzes the memory usage of the specified object

◆ AnalyzeObjects() [1/2]

void FObjectMemoryAnalyzer::AnalyzeObjects ( class UClass BaseClass)

Analyzes the memory usage of all objects with the specified class

◆ AnalyzeObjects() [2/2]

void FObjectMemoryAnalyzer::AnalyzeObjects ( const TArray< class UObject * > &  ObjectList)

Analyzes the memory usage of the specified object list

◆ GetObjectMemoryUsage()

const FObjectMemoryUsage & FObjectMemoryAnalyzer::GetObjectMemoryUsage ( class UObject Obj)

Returns the memory usage of an object not in the result set ( ex. referenced by a result )

◆ GetResults()

int32 FObjectMemoryAnalyzer::GetResults ( TArray< FObjectMemoryUsage > &  Results)

Returns the results

◆ PrintResults()

void FObjectMemoryAnalyzer::PrintResults ( FOutputDevice Ar,
uint32  PrintFlags = 0 
)

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