OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::BySkeletonDef Struct Reference

#include <OgreSkeletonAnimManager.h>

+ Collaboration diagram for Ogre::BySkeletonDef:

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...
 

Detailed Description

Definition at line 47 of file OgreSkeletonAnimManager.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Definition at line 72 of file OgreSkeletonAnimManager.h.

References skeletonDefName.

void Ogre::BySkeletonDef::updateThreadStarts ( void  )

Member Data Documentation

BoneMemoryManager Ogre::BySkeletonDef::boneMemoryManager

Definition at line 51 of file OgreSkeletonAnimManager.h.

SkeletonDef const* Ogre::BySkeletonDef::skeletonDef

Definition at line 49 of file OgreSkeletonAnimManager.h.

IdString Ogre::BySkeletonDef::skeletonDefName

Definition at line 50 of file OgreSkeletonAnimManager.h.

Referenced by operator==().

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.

Definition at line 57 of file OgreSkeletonAnimManager.h.

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.

Definition at line 63 of file OgreSkeletonAnimManager.h.


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