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

## ~MeshBuilderCallback()

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

virtual

Definition at line 113 of file OgreVolumeMeshBuilder.h.

## 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

  simpleRenderable | Contains the SimpleRenderable for which the triangles were built.
  vertices | Contains the vertices of the triangles.
  indices | Contains the indices of the triangles.
  level | The LOD level of this mesh.
  inProcess | The amount of other meshes/LOD-Chunks still to be loaded.

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

- OgreVolumeMeshBuilder.h

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.