Open 3D Engine EMotionFX Gem API Reference 23.10.0
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 EMotionFX::BaseObject.

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 EMotionFX::BaseObject
 BaseObject ()
 
virtual ~BaseObject ()
 
- Public Member Functions inherited from MCore::MemoryObject
 MemoryObject ()
 
virtual ~MemoryObject ()
 
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 EMotionFX::BaseObject
void Delete () override
 
virtual void Delete ()
 

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