#include <OgreStaticGeometry.h>
Public Types | |
typedef std::map< String, MaterialBucket * > | MaterialBucketMap |
Lookup of Material Buckets in this region. | |
typedef MapIterator< MaterialBucketMap > | MaterialIterator |
Iterator over the materials in this LOD. | |
Public Member Functions | |
LODBucket (Region *parent, unsigned short lod, Real lodDist) | |
virtual | ~LODBucket () |
Region * | getParent (void) |
ushort | getLod (void) const |
Get the lod index. | |
Real | getSquaredDistance (void) const |
Get the lod squared distance. | |
void | assign (QueuedSubMesh *qsm, ushort atLod) |
Assign a queued submesh to this bucket, using specified mesh LOD. | |
void | build (bool stencilShadows) |
Build. | |
void | addRenderables (RenderQueue *queue, uint8 group, Real camSquaredDistance) |
Add children to the render queue. | |
MaterialIterator | getMaterialIterator (void) |
Get an iterator over the materials in this LOD. | |
void | dump (std::ofstream &of) const |
Dump contents for diagnostics. | |
Protected Attributes | |
Region * | mParent |
Pointer to parent region. | |
unsigned short | mLod |
LOD level (0 == full LOD). | |
Real | mSquaredDistance |
distance at which this LOD starts to apply (squared) | |
MaterialBucketMap | mMaterialBucketMap |
Lookup of Material Buckets in this region. | |
QueuedGeometryList | mQueuedGeometryList |
Geometry queued for a single LOD (deallocated here). |
Definition at line 294 of file OgreStaticGeometry.h.
|
Lookup of Material Buckets in this region.
Definition at line 298 of file OgreStaticGeometry.h. |
|
Iterator over the materials in this LOD.
Definition at line 326 of file OgreStaticGeometry.h. |
|
|
|
|
|
Add children to the render queue.
|
|
Assign a queued submesh to this bucket, using specified mesh LOD.
|
|
Build.
|
|
Dump contents for diagnostics.
|
|
Get the lod index.
Definition at line 315 of file OgreStaticGeometry.h. References Ogre::ushort. |
|
Get an iterator over the materials in this LOD.
|
|
Definition at line 313 of file OgreStaticGeometry.h. |
|
Get the lod squared distance.
Definition at line 317 of file OgreStaticGeometry.h. References Ogre::Real. |
|
LOD level (0 == full LOD).
Definition at line 303 of file OgreStaticGeometry.h. |
|
Lookup of Material Buckets in this region.
Definition at line 307 of file OgreStaticGeometry.h. |
|
Pointer to parent region.
Definition at line 301 of file OgreStaticGeometry.h. |
|
Geometry queued for a single LOD (deallocated here).
Definition at line 309 of file OgreStaticGeometry.h. |
|
distance at which this LOD starts to apply (squared)
Definition at line 305 of file OgreStaticGeometry.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:44:54 2006