Ogre::QueuedProgressiveMeshGenerator Class Reference

Creates a request for the worker. More...

`#include <OgreQueuedProgressiveMeshGenerator.h>`

Inheritance diagram for Ogre::QueuedProgressiveMeshGenerator:
[legend]

## Public Member Functions

virtual | ~QueuedProgressiveMeshGenerator ()
virtual void | generateAutoconfiguredLodLevels (MeshPtr &mesh)
| Generates the LOD levels for a mesh without configuring it. More...
void | generateLodLevels (LodConfig &lodConfig)
| Generates the LOD levels for a mesh. More...
virtual void | getAutoconfig (MeshPtr &inMesh, LodConfig &outLodConfig)
| Fills LOD Config with a config, which works on any mesh. More...

## Private Member Functions

void | copyBuffers (Mesh *mesh, PMGenRequest *req)
void | copyIndexBuffer (IndexData *data, PMGenRequest::IndexBuffer &out)
void | copyVertexBuffer (VertexData *data, PMGenRequest::VertexBuffer &out)

## Detailed Description

Creates a request for the worker.

The interface is compatible with ProgressiveMeshGenerator.

Definition at line 200 of file OgreQueuedProgressiveMeshGenerator.h.

## Constructor & Destructor Documentation

## ~QueuedProgressiveMeshGenerator()

virtual Ogre::QueuedProgressiveMeshGenerator::~QueuedProgressiveMeshGenerator | ( |  | ) |

virtual

## Member Function Documentation

## copyBuffers()

void Ogre::QueuedProgressiveMeshGenerator::copyBuffers | ( | Mesh * | mesh,
|  | PMGenRequest * | req
| ) |  |

private

## copyIndexBuffer()

void Ogre::QueuedProgressiveMeshGenerator::copyIndexBuffer | ( | IndexData * | data,
|  | PMGenRequest::IndexBuffer & | out
| ) |  |

private

## copyVertexBuffer()

void Ogre::QueuedProgressiveMeshGenerator::copyVertexBuffer | ( | VertexData * | data,
|  | PMGenRequest::VertexBuffer & | out
| ) |  |

private

## generateAutoconfiguredLodLevels()

virtual void Ogre::ProgressiveMeshGeneratorBase::generateAutoconfiguredLodLevels | ( | MeshPtr & | mesh | ) |

virtual inherited

Generates the LOD levels for a mesh without configuring it.

Parameters

  mesh | Generate the LOD for this mesh.

## generateLodLevels()

void Ogre::QueuedProgressiveMeshGenerator::generateLodLevels | ( | LodConfig & | lodConfig | ) |

virtual

Generates the LOD levels for a mesh.

Parameters

  lodConfig | Specification of the requested LOD levels.

Implements Ogre::ProgressiveMeshGeneratorBase.

## getAutoconfig()

virtual void Ogre::ProgressiveMeshGeneratorBase::getAutoconfig | ( | MeshPtr & | inMesh,
|  | LodConfig & | outLodConfig
| ) |  |

virtual inherited

Fills LOD Config with a config, which works on any mesh.

Parameters

  inMesh | Optimize for this mesh.
  outLodConfig | LOD configuration storing the output.

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

- OgreQueuedProgressiveMeshGenerator.h

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