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

#include <OgreLodConfig.h>

+ Collaboration diagram for Ogre::LodConfig:


struct  Advanced

Public Types

typedef vector< LodLevel >::type LodLevelList
 Lod strategy to use. More...

Public Member Functions

 LodConfig (MeshPtr &_mesh, LodStrategy *_strategy=DistanceLodStrategy::getSingletonPtr())
 Info about Lod levels. More...
 LodConfig ()
void createGeneratedLodLevel (Ogre::Real distance, Real reductionValue, LodLevel::VertexReductionMethod reductionMethod=LodLevel::VRM_PROPORTIONAL)
void createManualLodLevel (Ogre::Real distance, const String &manualMeshName)

Public Attributes

struct _OgreLodExport
LodLevelList levels
MeshPtr mesh
 The mesh which we want to reduce. More...

Detailed Description

Definition at line 122 of file OgreLodConfig.h.

Member Typedef Documentation

Lod strategy to use.

Definition at line 126 of file OgreLodConfig.h.

Constructor & Destructor Documentation

Ogre::LodConfig::LodConfig ( MeshPtr _mesh,
LodStrategy _strategy = DistanceLodStrategy::getSingletonPtr() 

Info about Lod levels.

Ogre::LodConfig::LodConfig ( )

Member Function Documentation

void Ogre::LodConfig::createGeneratedLodLevel ( Ogre::Real  distance,
Real  reductionValue,
LodLevel::VertexReductionMethod  reductionMethod = LodLevel::VRM_PROPORTIONAL 
void Ogre::LodConfig::createManualLodLevel ( Ogre::Real  distance,
const String manualMeshName 

Member Data Documentation

struct _OgreLodExport Ogre::LodConfig::Advanced Ogre::LodConfig::advanced
LodLevelList Ogre::LodConfig::levels

Definition at line 127 of file OgreLodConfig.h.

MeshPtr Ogre::LodConfig::mesh

Definition at line 123 of file OgreLodConfig.h.

LodStrategy* Ogre::LodConfig::strategy

The mesh which we want to reduce.

Definition at line 124 of file OgreLodConfig.h.

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