OGRE  2.2.4
Object-Oriented Graphics Rendering Engine
Ogre::BySkeletonDef Struct Reference

#include <OgreSkeletonAnimManager.h>

Public Member Functions

 BySkeletonDef (const SkeletonDef *skeletonDef, size_t threadCount)
 
void _updateBoneStartTransforms (void)
 
void initializeMemoryManager (void)
 
bool operator== (IdString name) const
 
void updateThreadStarts (void)
 

Public Attributes

BoneMemoryManager boneMemoryManager
 
SkeletonDef const * skeletonDef
 
IdString skeletonDefName
 
FastArray< SkeletonInstance * > skeletons
 MUST be sorted by location in its BoneMemoryManager's slot (in order to update in parallel without causing race conditions) threadStarts. More...
 
FastArray< size_t > threadStarts
 One per thread (plus one), tells where we should start from in each thread. More...
 

Constructor & Destructor Documentation

◆ BySkeletonDef()

Ogre::BySkeletonDef::BySkeletonDef ( const SkeletonDef skeletonDef,
size_t  threadCount 
)

Member Function Documentation

◆ _updateBoneStartTransforms()

void Ogre::BySkeletonDef::_updateBoneStartTransforms ( void  )

◆ initializeMemoryManager()

void Ogre::BySkeletonDef::initializeMemoryManager ( void  )

◆ operator==()

bool Ogre::BySkeletonDef::operator== ( IdString  name) const
inline

◆ updateThreadStarts()

void Ogre::BySkeletonDef::updateThreadStarts ( void  )

Member Data Documentation

◆ boneMemoryManager

BoneMemoryManager Ogre::BySkeletonDef::boneMemoryManager

◆ skeletonDef

SkeletonDef const* Ogre::BySkeletonDef::skeletonDef

◆ skeletonDefName

IdString Ogre::BySkeletonDef::skeletonDefName

◆ skeletons

FastArray<SkeletonInstance*> Ogre::BySkeletonDef::skeletons

MUST be sorted by location in its BoneMemoryManager's slot (in order to update in parallel without causing race conditions) threadStarts.

◆ threadStarts

FastArray<size_t> Ogre::BySkeletonDef::threadStarts

One per thread (plus one), tells where we should start from in each thread.

It's not exactly skeletons.size() / mNumWorkerThreads because we need to account that instances that share the same memory block.


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