OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
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.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ~MeshBuilderCallback()

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

Member Function Documentation

◆ ready()

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: