![]() |
OGRE
13.6
Object-Oriented Graphics Rendering Engine
|
A LODBucket is a collection of smaller buckets with the same LOD. More...
#include <OgreStaticGeometry.h>
Public Types | |
typedef std::map< String, MaterialBucket * > | MaterialBucketMap |
Lookup of Material Buckets in this region. More... | |
typedef MapIterator< MaterialBucketMap > | MaterialIterator |
Iterator over the materials in this LOD. More... | |
Public Member Functions | |
LODBucket (Region *parent, unsigned short lod, Real lodValue) | |
virtual | ~LODBucket () |
void | addRenderables (RenderQueue *queue, uint8 group, Real lodValue) |
Add children to the render queue. More... | |
void | assign (QueuedSubMesh *qsm, ushort atLod) |
Assign a queued submesh to this bucket, using specified mesh LOD. More... | |
void | build (bool stencilShadows) |
Build. More... | |
void | dump (std::ofstream &of) const |
Dump contents for diagnostics. More... | |
EdgeData * | getEdgeList () const |
ushort | getLod (void) const |
Get the LOD index. More... | |
Real | getLodValue (void) const |
Get the LOD value. More... | |
const MaterialBucketMap & | getMaterialBuckets () const |
Get an iterator over the materials in this LOD. More... | |
MaterialIterator | getMaterialIterator (void) |
Region * | getParent (void) |
ShadowCaster::ShadowRenderableList & | getShadowRenderableList () |
bool | isVertexProgramInUse () const |
void | updateShadowRenderables (const Vector4 &lightPos, const HardwareIndexBufferPtr &indexBuffer, Real extrusionDistance, int flags=0) |
void | visitRenderables (Renderable::Visitor *visitor, bool debugRenderables) |
A LODBucket is a collection of smaller buckets with the same LOD.
LOD refers to Mesh LOD here. Material LOD can change separately at the next bucket down from this.
typedef std::map<String, MaterialBucket*> Ogre::StaticGeometry::LODBucket::MaterialBucketMap |
Lookup of Material Buckets in this region.
Iterator over the materials in this LOD.
|
virtual |
|
inline |
|
inline |
Get the LOD index.
|
inline |
Get the LOD value.
void Ogre::StaticGeometry::LODBucket::assign | ( | QueuedSubMesh * | qsm, |
ushort | atLod | ||
) |
Assign a queued submesh to this bucket, using specified mesh LOD.
void Ogre::StaticGeometry::LODBucket::build | ( | bool | stencilShadows | ) |
Build.
void Ogre::StaticGeometry::LODBucket::addRenderables | ( | RenderQueue * | queue, |
uint8 | group, | ||
Real | lodValue | ||
) |
Add children to the render queue.
|
inline |
Get an iterator over the materials in this LOD.
MaterialIterator Ogre::StaticGeometry::LODBucket::getMaterialIterator | ( | void | ) |
void Ogre::StaticGeometry::LODBucket::dump | ( | std::ofstream & | of | ) | const |
Dump contents for diagnostics.
void Ogre::StaticGeometry::LODBucket::visitRenderables | ( | Renderable::Visitor * | visitor, |
bool | debugRenderables | ||
) |
|
inline |
|
inline |
|
inline |
void Ogre::StaticGeometry::LODBucket::updateShadowRenderables | ( | const Vector4 & | lightPos, |
const HardwareIndexBufferPtr & | indexBuffer, | ||
Real | extrusionDistance, | ||
int | flags = 0 |
||
) |