Open 3D Engine EMotionFX Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
EMotionFX::MotionInstancePool Class Reference

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)
 
MotionInstanceRequestNew (Motion *motion, ActorInstance *actorInstance)
 
void Free (MotionInstance *motionInstance)
 
MotionInstanceRequestNewWithoutLock (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 MotionInstancePoolCreate ()
 

Friends

class MotionInstance
 

Additional Inherited Members

- Protected Member Functions inherited from MCore::RefCounted
virtual void Delete ()
 

The documentation for this class was generated from the following file: