#include <OgreMeshLodGenerator.h>
|
| MeshLodGenerator () |
| Generates the Lod levels for a mesh.
|
|
virtual | ~MeshLodGenerator () |
|
void | _generateManualLodLevels (LodConfig &lodConfig) |
| If you only use manual Lod levels, then you don't need to build LodData mesh representation.
|
|
void | _initWorkQueue () |
|
void | _process (LodConfig &lodConfig, LodCollapseCost *cost, LodData *data, LodInputProvider *input, LodOutputProvider *output, LodCollapser *collapser) |
|
void | _resolveComponents (LodConfig &lodConfig, LodCollapseCostPtr &cost, LodDataPtr &data, LodInputProviderPtr &input, LodOutputProviderPtr &output, LodCollapserPtr &collapser) |
|
void | generateAutoconfiguredLodLevels (v1::MeshPtr &mesh) |
| Generates the Lod levels for a mesh without configuring it.
|
|
virtual void | generateLodLevels (LodConfig &lodConfig, LodCollapseCostPtr cost=LodCollapseCostPtr(), LodDataPtr data=LodDataPtr(), LodInputProviderPtr input=LodInputProviderPtr(), LodOutputProviderPtr output=LodOutputProviderPtr(), LodCollapserPtr collapser=LodCollapserPtr()) |
| Generates the Lod levels for a mesh.
|
|
void | getAutoconfig (v1::MeshPtr &inMesh, LodConfig &outLodConfig) |
| Fills Lod Config with a config, which works on any mesh.
|
|
◆ MeshLodGenerator()
Ogre::MeshLodGenerator::MeshLodGenerator |
( |
| ) |
|
Generates the Lod levels for a mesh.
◆ ~MeshLodGenerator()
virtual Ogre::MeshLodGenerator::~MeshLodGenerator |
( |
| ) |
|
|
virtual |
◆ _configureMeshLodUsage()
◆ _generateManualLodLevels()
void Ogre::MeshLodGenerator::_generateManualLodLevels |
( |
LodConfig & |
lodConfig | ) |
|
If you only use manual Lod levels, then you don't need to build LodData mesh representation.
This function will generate manual Lod levels without overhead, but every Lod level needs to be a manual Lod level.
◆ _initWorkQueue()
void Ogre::MeshLodGenerator::_initWorkQueue |
( |
| ) |
|
◆ _process()
◆ _resolveComponents()
◆ generateAutoconfiguredLodLevels()
void Ogre::MeshLodGenerator::generateAutoconfiguredLodLevels |
( |
v1::MeshPtr & |
mesh | ) |
|
Generates the Lod levels for a mesh without configuring it.
- Parameters
-
mesh | Generate the Lod for this mesh. |
◆ generateLodLevels()
Generates the Lod levels for a mesh.
- Parameters
-
lodConfig | Specification of the requested Lod levels. |
◆ getAutoconfig()
Fills Lod Config with a config, which works on any mesh.
- Parameters
-
inMesh | Optimize for this mesh. |
outLodConfig | Lod configuration storing the output. |
◆ getSingleton()
◆ getSingletonPtr()
The documentation for this class was generated from the following file: