Class Info
class RefCount
资源引用计数类。包含资源引用计数的增加、减少,以及判断资源是否可销毁等功能。
Constructor Name
RefCount()
构造函数。
Destructor Name
virtual ~RefCount()
析构函数。
Qualifier and Type
Method Name and Description
void
IncRef()
资源的引用计数增加1。
DecRef()
资源的引用计数减少1。
bool
CanDestroy()
判断资源是否可销毁。
s32
GetRef()
获取资源的引用次数。
Constructor
Destructor
Method
void IncRef()
void DecRef()
bool CanDestroy()
Returns
Type
Description
s32 GetRef()
返回资源的引用次数。