OGRE  1.9.0
Public Member Functions | Private Member Functions | List of all members
Ogre::QueuedProgressiveMeshGenerator Class Reference

Creates a request for the worker. More...

#include <OgreQueuedProgressiveMeshGenerator.h>

Inheritance diagram for Ogre::QueuedProgressiveMeshGenerator:
Inheritance graph
[legend]

Public Member Functions

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

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)
virtualinherited

Generates the LOD levels for a mesh without configuring it.

Parameters
meshGenerate the LOD for this mesh.

◆ generateLodLevels()

void Ogre::QueuedProgressiveMeshGenerator::generateLodLevels ( LodConfig lodConfig)
virtual

Generates the LOD levels for a mesh.

Parameters
lodConfigSpecification of the requested LOD levels.

Implements Ogre::ProgressiveMeshGeneratorBase.

◆ getAutoconfig()

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: