Inherits MCore::RefCounted.
Public Types | |
| enum | EPoolType { POOLTYPE_STATIC , POOLTYPE_DYNAMIC } |
Public Member Functions | |
| void | Init (size_t numInitialInstances=256, EPoolType poolType=POOLTYPE_DYNAMIC, size_t subPoolSize=512) |
| MotionInstance * | RequestNew (Motion *motion, ActorInstance *actorInstance) |
| void | Free (MotionInstance *motionInstance) |
| MotionInstance * | RequestNewWithoutLock (Motion *motion, ActorInstance *actorInstance) |
| void | FreeWithoutLock (MotionInstance *motionInstance) |
| void | LogMemoryStats () |
| void | Shrink () |
| void | Lock () |
| void | Unlock () |
Public Member Functions inherited from MCore::RefCounted | |
| RefCounted () | |
| virtual | ~RefCounted () |
| void | IncreaseReferenceCount () |
| void | DecreaseReferenceCount () |
| void | Destroy () |
| uint32 | GetReferenceCount () const |
Static Public Member Functions | |
| static MotionInstancePool * | Create () |
Friends | |
| class | MotionInstance |
Additional Inherited Members | |
Protected Member Functions inherited from MCore::RefCounted | |
| virtual void | Delete () |