OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::Lod0Stripifier::RemapInfo Struct Reference

#include <OgreLod0Stripifier.h>

Public Types

enum  { UnusedIdx = (unsigned)-1 }
 

Public Member Functions

 RemapInfo ()
 
template<typename IDX >
void markUsedIndices (IDX *indices, size_t indexCount)
 
v1::HardwareIndexBuffer::IndexType minimalIndexType () const
 
bool nothingToStrip () const
 
void prepare (size_t originalSize)
 
void renumerate ()
 

Public Attributes

vector< unsigned >::type indexMap
 
unsigned usedCount
 

Member Enumeration Documentation

◆ anonymous enum

Enumerator
UnusedIdx 

Constructor & Destructor Documentation

◆ RemapInfo()

Ogre::Lod0Stripifier::RemapInfo::RemapInfo ( )
inline

Member Function Documentation

◆ markUsedIndices()

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

References indexMap, UnusedIdx, and usedCount.

◆ minimalIndexType()

v1::HardwareIndexBuffer::IndexType Ogre::Lod0Stripifier::RemapInfo::minimalIndexType ( ) const
inline

◆ nothingToStrip()

bool Ogre::Lod0Stripifier::RemapInfo::nothingToStrip ( ) const
inline

References indexMap, and usedCount.

◆ prepare()

void Ogre::Lod0Stripifier::RemapInfo::prepare ( size_t  originalSize)
inline

References indexMap, UnusedIdx, and usedCount.

◆ renumerate()

void Ogre::Lod0Stripifier::RemapInfo::renumerate ( )
inline

References indexMap, UnusedIdx, and usedCount.

Member Data Documentation

◆ indexMap

vector<unsigned>::type Ogre::Lod0Stripifier::RemapInfo::indexMap

◆ usedCount

unsigned Ogre::Lod0Stripifier::RemapInfo::usedCount

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