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

Creates a request for the worker. More...

#include <OgreQueuedProgressiveMeshGenerator.h>

+ Inheritance diagram for Ogre::QueuedProgressiveMeshGenerator:
+ Collaboration diagram for Ogre::QueuedProgressiveMeshGenerator:

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

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

Member Function Documentation

void Ogre::QueuedProgressiveMeshGenerator::copyBuffers ( Mesh mesh,
PMGenRequest req 
)
private
void Ogre::QueuedProgressiveMeshGenerator::copyIndexBuffer ( IndexData data,
PMGenRequest::IndexBuffer out 
)
private
void Ogre::QueuedProgressiveMeshGenerator::copyVertexBuffer ( VertexData data,
PMGenRequest::VertexBuffer out 
)
private
virtual void Ogre::ProgressiveMeshGeneratorBase::generateAutoconfiguredLodLevels ( MeshPtr mesh)
virtualinherited

Generates the LOD levels for a mesh without configuring it.

Parameters
meshGenerate the LOD for this mesh.
void Ogre::QueuedProgressiveMeshGenerator::generateLodLevels ( LodConfig lodConfig)
virtual

Generates the LOD levels for a mesh.

Parameters
lodConfigSpecification of the requested LOD levels.

Implements Ogre::ProgressiveMeshGeneratorBase.

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

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

Parameters
inMeshOptimize for this mesh.
outLodConfigLOD configuration storing the output.

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