14 static void DestoryInstance();
50 std::vector<CRefCounted*> m_object_pool;
different physics engine has different winding order.
Definition: EventBinding.h:32
bool contains(CRefCounted *object) const
Checks whether the pool contains the specified object.
Definition: ObjectAutoReleasePool.cpp:68
void clear()
Clear the auto release pool.
Definition: ObjectAutoReleasePool.cpp:51
void dump()
Dump the objects that are put into autorelease pool.
Definition: ObjectAutoReleasePool.cpp:78
when base object is created it has zero reference, and is usually added to auto release pool to be re...
Definition: ObjectAutoReleasePool.h:10
void AddObject(CRefCounted *object)
Add a given object to this pool.
Definition: ObjectAutoReleasePool.cpp:45