UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FTextRenderComponentMIDCache Class Reference
+ Inheritance diagram for FTextRenderComponentMIDCache:

Classes

struct  FMIDData
 

Public Types

typedef TSharedRef< const FMIDData, ESPMode::ThreadSafeFMIDDataRef
 
typedef TSharedPtr< const FMIDData, ESPMode::ThreadSafeFMIDDataPtr
 
typedef TWeakPtr< const FMIDData, ESPMode::ThreadSafeFMIDDataWeakPtr
 
- Public Types inherited from FGCObject
enum class  EFlags : uint32 { None = 0 , RegisterLater = 1 << 0 , AddStableNativeReferencesOnly = 1 << 1 }
 

Public Member Functions

FMIDDataRef GetMIDData (UMaterialInterface *InMaterial, UFont *InFont)
 
virtual void AddReferencedObjects (FReferenceCollector &Collector) override
 
virtual FString GetReferencerName () const override
 
- Public Member Functions inherited from FGCObject
 FGCObject ()
 
 FGCObject (const FGCObject &Other)
 
 FGCObject (FGCObject &&Other)
 
 FGCObject (EFlags Flags)
 
virtual ~FGCObject ()
 
FGCObjectoperator= (const FGCObject &)
 
FGCObjectoperator= (FGCObject &&)
 
COREUOBJECT_API void RegisterGCObject ()
 
COREUOBJECT_API void UnregisterGCObject ()
 
virtual bool GetReferencerPropertyName (UObject *Object, FString &OutPropertyName) const
 

Static Public Member Functions

static void Initialize ()
 
static void Shutdown ()
 
static FTextRenderComponentMIDCacheGet ()
 
static bool IsValid ()
 
- Static Public Member Functions inherited from FGCObject
static COREUOBJECT_API void StaticInit ()
 

Additional Inherited Members

- Static Public Attributes inherited from FGCObject
static COREUOBJECT_API UGCObjectReferencerGGCObjectReferencer = nullptr
 

Detailed Description

Caches MIDs used by text render components to avoid excessive (re)allocation of MIDs when the SCS runs

Member Typedef Documentation

◆ FMIDDataPtr

◆ FMIDDataRef

◆ FMIDDataWeakPtr

Member Function Documentation

◆ AddReferencedObjects()

virtual void FTextRenderComponentMIDCache::AddReferencedObjects ( FReferenceCollector Collector)
inlineoverridevirtual

Pure virtual that must be overloaded by the inheriting class. Use this method to serialize any UObjects contained that you wish to keep around.

Parameters
CollectorThe collector of referenced objects.

Implements FGCObject.

◆ Get()

static FTextRenderComponentMIDCache & FTextRenderComponentMIDCache::Get ( )
inlinestatic

◆ GetMIDData()

FMIDDataRef FTextRenderComponentMIDCache::GetMIDData ( UMaterialInterface InMaterial,
UFont InFont 
)
inline

◆ GetReferencerName()

virtual FString FTextRenderComponentMIDCache::GetReferencerName ( ) const
inlineoverridevirtual

Overload this method to report a name for your referencer

Implements FGCObject.

◆ Initialize()

static void FTextRenderComponentMIDCache::Initialize ( )
inlinestatic

◆ IsValid()

static bool FTextRenderComponentMIDCache::IsValid ( )
inlinestatic

◆ Shutdown()

static void FTextRenderComponentMIDCache::Shutdown ( )
inlinestatic

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