OGRE-Next  2.3
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 initializeMemoryManager ()
 
bool operator== (IdString name) const
 
void updateThreadStarts ()
 

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) @See 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 ( )

◆ initializeMemoryManager()

void Ogre::BySkeletonDef::initializeMemoryManager ( )

◆ operator==()

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

References skeletonDefName.

◆ updateThreadStarts()

void Ogre::BySkeletonDef::updateThreadStarts ( )

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: