OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
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 constskeletonDef
 
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) @See threadStarts.
 
FastArray< size_tthreadStarts
 One per thread (plus one), tells where we should start from in each thread.
 

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

References skeletonDefName.

◆ 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

Referenced by operator==().

◆ 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) @See 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: