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

#include <OgreLodOutputProviderCompressedBuffer.h>

+ Inheritance diagram for Ogre::LodOutputProviderCompressedBuffer:
+ Collaboration diagram for Ogre::LodOutputProviderCompressedBuffer:

Public Member Functions

 LodOutputProviderCompressedBuffer (MeshPtr mesh)
 
virtual void bakeLodLevel (LodData *data, int lodIndex)
 
virtual void bakeManualLodLevel (LodData *data, String &manualMeshName, int lodIndex)
 
virtual void finalize (LodData *data)
 
virtual void inject ()
 
virtual void prepare (LodData *data)
 
virtual void triangleChanged (LodData *data, LodData::Triangle *tri)
 
virtual void triangleRemoved (LodData *data, LodData::Triangle *tri)
 

Protected Types

typedef vector< TriangleCache >
::type 
TriangleCacheList
 

Protected Member Functions

virtual void bakeFirstPass (LodData *data, int lodIndex)
 
virtual void bakeSecondPass (LodData *data, int lodIndex)
 

Protected Attributes

LodOutputProviderfallback
 if uneven lod levels are created, we need to fall back for the last lod level. More...
 
bool mFirstBufferPass
 Lod index of the buffer for mTriangleCacheList. More...
 
int mLastIndexBufferID
 
MeshPtr mMesh
 
TriangleCacheList mTriangleCacheList
 First pass will create the mTriangleCacheList and second pass will use it. More...
 

Detailed Description

Definition at line 39 of file OgreLodOutputProviderCompressedBuffer.h.

Member Typedef Documentation

Constructor & Destructor Documentation

Ogre::LodOutputProviderCompressedBuffer::LodOutputProviderCompressedBuffer ( MeshPtr  mesh)

Member Function Documentation

virtual void Ogre::LodOutputProviderCompressedBuffer::bakeFirstPass ( LodData data,
int  lodIndex 
)
protectedvirtual
virtual void Ogre::LodOutputProviderCompressedMesh::bakeLodLevel ( LodData data,
int  lodIndex 
)
virtualinherited
virtual void Ogre::LodOutputProviderCompressedMesh::bakeManualLodLevel ( LodData data,
String manualMeshName,
int  lodIndex 
)
virtualinherited
virtual void Ogre::LodOutputProviderCompressedBuffer::bakeSecondPass ( LodData data,
int  lodIndex 
)
protectedvirtual
virtual void Ogre::LodOutputProviderCompressedMesh::finalize ( LodData data)
virtualinherited
virtual void Ogre::LodOutputProviderCompressedMesh::inject ( )
virtualinherited

Reimplemented from Ogre::LodOutputProvider.

virtual void Ogre::LodOutputProviderCompressedMesh::prepare ( LodData data)
virtualinherited
virtual void Ogre::LodOutputProviderCompressedMesh::triangleChanged ( LodData data,
LodData::Triangle tri 
)
virtualinherited

Reimplemented from Ogre::LodOutputProvider.

virtual void Ogre::LodOutputProviderCompressedMesh::triangleRemoved ( LodData data,
LodData::Triangle tri 
)
virtualinherited

Reimplemented from Ogre::LodOutputProvider.

Member Data Documentation

LodOutputProvider* Ogre::LodOutputProviderCompressedMesh::fallback
protectedinherited

if uneven lod levels are created, we need to fall back for the last lod level.

Definition at line 74 of file OgreLodOutputProviderCompressedMesh.h.

bool Ogre::LodOutputProviderCompressedMesh::mFirstBufferPass
protectedinherited

Lod index of the buffer for mTriangleCacheList.

Definition at line 71 of file OgreLodOutputProviderCompressedMesh.h.

int Ogre::LodOutputProviderCompressedMesh::mLastIndexBufferID
protectedinherited

Definition at line 77 of file OgreLodOutputProviderCompressedMesh.h.

MeshPtr Ogre::LodOutputProviderCompressedMesh::mMesh
protectedinherited

Definition at line 75 of file OgreLodOutputProviderCompressedMesh.h.

TriangleCacheList Ogre::LodOutputProviderCompressedMesh::mTriangleCacheList
protectedinherited

First pass will create the mTriangleCacheList and second pass will use it.

This is required, because the triangles from first pass will be changed and we need to keep the information.

Definition at line 68 of file OgreLodOutputProviderCompressedMesh.h.


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