Scaleform::RefCountBase
template <class C, int Stat> class RefCountBase : public RefCountBaseStatImpl<RefCountImpl, Stat>;
RefCountBase is a base class for classes that require thread-safe reference counting in GFx. RefCountBase also overrides the new and delete operators to use MemoryHeap.
Reference counted objects start out with RefCount value of 1. Further lifetime management is done through the AddRef() and Release methods, typically hidden by Ptr<>.
Method |
Description |
RefCountBase constructor. |
SF_RefCount.h