OGRE
1.9.0
|
A LODBucket is a collection of smaller buckets with the same LOD. More...
#include <OgreInstancedGeometry.h>
Public Types | |
typedef map< String, MaterialBucket * >::type | MaterialBucketMap |
Lookup of Material Buckets in this BatchInstance. | |
typedef MapIterator< MaterialBucketMap > | MaterialIterator |
Iterator over the materials in this LOD. | |
Protected Attributes | |
unsigned short | mLod |
LOD level (0 == full LOD) | |
Real | mLodValue |
LOD value at which this LOD starts to apply (squared) | |
MaterialBucketMap | mMaterialBucketMap |
Lookup of Material Buckets in this BatchInstance. | |
BatchInstance * | mParent |
Pointer to parent BatchInstance. | |
QueuedGeometryList | mQueuedGeometryList |
Geometry queued for a single LOD (deallocated here) | |
A LODBucket is a collection of smaller buckets with the same LOD.
Definition at line 384 of file OgreInstancedGeometry.h.
Lookup of Material Buckets in this BatchInstance.
Definition at line 388 of file OgreInstancedGeometry.h.
Iterator over the materials in this LOD.
Definition at line 416 of file OgreInstancedGeometry.h.
Ogre::InstancedGeometry::LODBucket::LODBucket | ( | BatchInstance * | parent, |
unsigned short | lod, | ||
Real | lodValue | ||
) |
|
virtual |
void Ogre::InstancedGeometry::LODBucket::addRenderables | ( | RenderQueue * | queue, |
uint8 | group, | ||
Real | lodValue | ||
) |
Add children to the render queue.
void Ogre::InstancedGeometry::LODBucket::assign | ( | QueuedSubMesh * | qsm, |
ushort | atLod | ||
) |
Assign a queued submesh to this bucket, using specified mesh LOD.
void Ogre::InstancedGeometry::LODBucket::build | ( | ) |
Build.
void Ogre::InstancedGeometry::LODBucket::dump | ( | std::ofstream & | of | ) | const |
Dump contents for diagnostics.
Get the LOD index.
Definition at line 405 of file OgreInstancedGeometry.h.
Get the LOD value.
Definition at line 407 of file OgreInstancedGeometry.h.
MaterialIterator Ogre::InstancedGeometry::LODBucket::getMaterialIterator | ( | void | ) |
Get an iterator over the materials in this LOD.
BatchInstance * Ogre::InstancedGeometry::LODBucket::getParent | ( | void | ) |
Definition at line 403 of file OgreInstancedGeometry.h.
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
void Ogre::InstancedGeometry::LODBucket::updateContainers | ( | MaterialBucket * | bucket, |
String & | name | ||
) |
fill the map
void Ogre::InstancedGeometry::LODBucket::visitRenderables | ( | Renderable::Visitor * | visitor, |
bool | debugRenderables | ||
) |
LOD level (0 == full LOD)
Definition at line 393 of file OgreInstancedGeometry.h.
|
protected |
LOD value at which this LOD starts to apply (squared)
Definition at line 395 of file OgreInstancedGeometry.h.
|
protected |
Lookup of Material Buckets in this BatchInstance.
Definition at line 397 of file OgreInstancedGeometry.h.
|
protected |
Pointer to parent BatchInstance.
Definition at line 391 of file OgreInstancedGeometry.h.
|
protected |
Geometry queued for a single LOD (deallocated here)
Definition at line 399 of file OgreInstancedGeometry.h.