OGRE  1.9
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::Volume::MeshBuilderCallback Class Referenceabstract

Callback class when the user needs information about the triangles of chunks of a LOD level. More...

#include <OgreVolumeMeshBuilder.h>

Public Member Functions

virtual ~MeshBuilderCallback ()
 
virtual void ready (const SimpleRenderable *simpleRenderable, const VecVertex &vertices, const VecIndices &indices, size_t level, int inProcess)=0
 To be called with the callback function of a MeshBuilder. More...
 

Detailed Description

Callback class when the user needs information about the triangles of chunks of a LOD level.

Definition at line 110 of file OgreVolumeMeshBuilder.h.

Constructor & Destructor Documentation

virtual Ogre::Volume::MeshBuilderCallback::~MeshBuilderCallback ( )
inlinevirtual

Definition at line 113 of file OgreVolumeMeshBuilder.h.

Member Function Documentation

virtual void Ogre::Volume::MeshBuilderCallback::ready ( const SimpleRenderable simpleRenderable,
const VecVertex vertices,
const VecIndices indices,
size_t  level,
int  inProcess 
)
pure virtual

To be called with the callback function of a MeshBuilder.

Parameters
simpleRenderableContains the SimpleRenderable for which the triangles were built.
verticesContains the vertices of the triangles.
indicesContains the indices of the triangles.
levelThe LOD level of this mesh.
inProcessThe amount of other meshes/LOD-Chunks still to be loaded.

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