SharedReferenceCount

NOTE: The primary reason these reference counters are 32-bit values (and not 16-bit to save memory), is that atomic operations require at least 32-bit objects.

Windows
MacOS
Linux

Syntax

int32 SharedReferenceCount

Remarks

NOTE: The primary reason these reference counters are 32-bit values (and not 16-bit to save memory), is that atomic operations require at least 32-bit objects. Number of shared references to this object. When this count reaches zero, the associated object will be destroyed (even if there are still weak references!)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss