OGRE-Next  3.0.0
Object-Oriented Graphics Rendering Engine
Ogre::VerticesRemapInfo Struct Reference

#include <OgreVertexRemapping.h>

Public Types

enum  { UnusedIdx = (unsigned)-1 }
 

Public Member Functions

 VerticesRemapInfo ()
 
v1::HardwareVertexBufferSharedPtr getRemappedVertexBuffer (v1::HardwareBufferManagerBase *pHWBufferManager, v1::HardwareVertexBufferSharedPtr vb, size_t srcStart, size_t srcCount) const
 
void initialize (size_t originalVertexCount, bool skipReorderingIfNothingToStrip=true)
 
template<typename IDX >
void markUsedIndices (IDX *indices, size_t indexCount)
 
void markUsedIndices (v1::IndexData *indexData)
 
IndexType minimalIndexType () const
 
void performAnimationTrackRemap (v1::HardwareBufferManagerBase *pHWBufferManager, v1::VertexAnimationTrack *track) const
 
template<class MeshOrSubmesh >
void performBoneAssignmentRemap (MeshOrSubmesh *m) const
 
void performBoneAssignmentRemap (v1::SubMesh *dst, v1::Mesh *src) const
 
void performIndexDataRemap (v1::HardwareBufferManagerBase *pHWBufferManager, v1::IndexData *indexData) const
 
void performPoseRemap (v1::Pose *pose) const
 
void performVertexDataRemap (v1::HardwareBufferManagerBase *pHWBufferManager, v1::VertexData *vertexData) const
 
void renumerate ()
 
bool skipProcessing () const
 

Public Attributes

vector< unsigned >::type indexMap
 
bool skipReorderingIfNotStripping
 
unsigned usedCount
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
UnusedIdx 

Constructor & Destructor Documentation

◆ VerticesRemapInfo()

Ogre::VerticesRemapInfo::VerticesRemapInfo ( )
inline

Member Function Documentation

◆ getRemappedVertexBuffer()

◆ initialize()

void Ogre::VerticesRemapInfo::initialize ( size_t  originalVertexCount,
bool  skipReorderingIfNothingToStrip = true 
)
inline

◆ markUsedIndices() [1/2]

template<typename IDX >
void Ogre::VerticesRemapInfo::markUsedIndices ( IDX *  indices,
size_t  indexCount 
)
inline

References indexMap, UnusedIdx, and usedCount.

Referenced by markUsedIndices().

◆ markUsedIndices() [2/2]

◆ minimalIndexType()

IndexType Ogre::VerticesRemapInfo::minimalIndexType ( ) const
inline

◆ performAnimationTrackRemap()

◆ performBoneAssignmentRemap() [1/2]

template<class MeshOrSubmesh >
void Ogre::VerticesRemapInfo::performBoneAssignmentRemap ( MeshOrSubmesh *  m) const
inline

◆ performBoneAssignmentRemap() [2/2]

void Ogre::VerticesRemapInfo::performBoneAssignmentRemap ( v1::SubMesh dst,
v1::Mesh src 
) const
inline

◆ performIndexDataRemap()

◆ performPoseRemap()

◆ performVertexDataRemap()

◆ renumerate()

void Ogre::VerticesRemapInfo::renumerate ( )
inline

References indexMap, UnusedIdx, and usedCount.

◆ skipProcessing()

Member Data Documentation

◆ indexMap

◆ skipReorderingIfNotStripping

bool Ogre::VerticesRemapInfo::skipReorderingIfNotStripping

Referenced by initialize(), and skipProcessing().

◆ usedCount


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