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

A way of recording the way each LODs is recorded this Mesh. More...

#include <OgreMesh.h>

+ Collaboration diagram for Ogre::MeshLodUsage:

Public Member Functions

 MeshLodUsage ()
 

Public Attributes

EdgeDataedgeData
 Edge list for this LOD level (may be derived from manual mesh). More...
 
String manualGroup
 Only relevant if mIsLodManual is true, the name of the group of the alternative mesh. More...
 
MeshPtr manualMesh
 Hard link to mesh to avoid looking up each time. More...
 
String manualName
 Only relevant if mIsLodManual is true, the name of the alternative mesh to use. More...
 
Real userValue
 User-supplied values used to determine when th is LOD applies. More...
 
Real value
 Value used by to determine when this LOD applies. More...
 

Detailed Description

A way of recording the way each LODs is recorded this Mesh.

Definition at line 946 of file OgreMesh.h.

Constructor & Destructor Documentation

Ogre::MeshLodUsage::MeshLodUsage ( )
inline

Definition at line 970 of file OgreMesh.h.

Member Data Documentation

EdgeData* Ogre::MeshLodUsage::edgeData
mutable

Edge list for this LOD level (may be derived from manual mesh).

Definition at line 968 of file OgreMesh.h.

String Ogre::MeshLodUsage::manualGroup

Only relevant if mIsLodManual is true, the name of the group of the alternative mesh.

Definition at line 964 of file OgreMesh.h.

MeshPtr Ogre::MeshLodUsage::manualMesh
mutable

Hard link to mesh to avoid looking up each time.

Definition at line 966 of file OgreMesh.h.

String Ogre::MeshLodUsage::manualName

Only relevant if mIsLodManual is true, the name of the alternative mesh to use.

Definition at line 962 of file OgreMesh.h.

Real Ogre::MeshLodUsage::userValue

User-supplied values used to determine when th is LOD applies.

Remarks
This is required in case the LOD strategy changes.

Definition at line 952 of file OgreMesh.h.

Real Ogre::MeshLodUsage::value

Value used by to determine when this LOD applies.

Remarks
May be interpretted differently by different strategies. Transformed from user-supplied values with LodStrategy::transformUserValue.

Definition at line 959 of file OgreMesh.h.


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