A LODBucket is a collection of smaller buckets with the same LOD. More...
#include <OgreStaticGeometry.h>
Classes | |
class | LODShadowRenderable |
Nested class to allow shadows. More... | |
Public Types | |
typedef map< String, MaterialBucket * >::type | MaterialBucketMap |
Lookup of Material Buckets in this region. | |
typedef MapIterator< MaterialBucketMap > | MaterialIterator |
Iterator over the materials in this LOD. | |
Protected Attributes | |
EdgeData * | mEdgeList |
Edge list, used if stencil shadow casting is enabled. | |
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 region. | |
Region * | mParent |
Pointer to parent region. | |
QueuedGeometryList | mQueuedGeometryList |
Geometry queued for a single LOD (deallocated here) | |
ShadowCaster::ShadowRenderableList | mShadowRenderables |
List of shadow renderables. | |
bool | mVertexProgramInUse |
Is a vertex program in use somewhere in this group? | |
A LODBucket is a collection of smaller buckets with the same LOD.
Definition at line 308 of file OgreStaticGeometry.h.
Lookup of Material Buckets in this region.
Definition at line 312 of file OgreStaticGeometry.h.
Iterator over the materials in this LOD.
Definition at line 369 of file OgreStaticGeometry.h.
|
virtual |
void Ogre::StaticGeometry::LODBucket::addRenderables | ( | RenderQueue * | queue, |
uint8 | group, | ||
Real | lodValue | ||
) |
Add children to the render queue.
void Ogre::StaticGeometry::LODBucket::assign | ( | QueuedSubMesh * | qsm, |
ushort | atLod | ||
) |
Assign a queued submesh to this bucket, using specified mesh LOD.
void Ogre::StaticGeometry::LODBucket::dump | ( | std::ofstream & | of | ) | const |
Dump contents for diagnostics.
EdgeData * Ogre::StaticGeometry::LODBucket::getEdgeList | ( | ) | const |
Definition at line 375 of file OgreStaticGeometry.h.
Get the LOD index.
Definition at line 358 of file OgreStaticGeometry.h.
Get the LOD value.
Definition at line 360 of file OgreStaticGeometry.h.
MaterialIterator Ogre::StaticGeometry::LODBucket::getMaterialIterator | ( | void | ) |
Get an iterator over the materials in this LOD.
Definition at line 356 of file OgreStaticGeometry.h.
ShadowCaster::ShadowRenderableList & Ogre::StaticGeometry::LODBucket::getShadowRenderableList | ( | ) |
Definition at line 376 of file OgreStaticGeometry.h.
bool Ogre::StaticGeometry::LODBucket::isVertexProgramInUse | ( | ) | const |
Definition at line 377 of file OgreStaticGeometry.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::StaticGeometry::LODBucket::updateShadowRenderables | ( | ShadowTechnique | shadowTechnique, |
const Vector4 & | lightPos, | ||
HardwareIndexBufferSharedPtr * | indexBuffer, | ||
bool | extrudeVertices, | ||
Real | extrusionDistance, | ||
unsigned long | flags = 0 |
||
) |
void Ogre::StaticGeometry::LODBucket::visitRenderables | ( | Renderable::Visitor * | visitor, |
bool | debugRenderables | ||
) |
|
protected |
Edge list, used if stencil shadow casting is enabled.
Definition at line 348 of file OgreStaticGeometry.h.
LOD level (0 == full LOD)
Definition at line 340 of file OgreStaticGeometry.h.
|
protected |
LOD value at which this LOD starts to apply (squared)
Definition at line 342 of file OgreStaticGeometry.h.
|
protected |
Lookup of Material Buckets in this region.
Definition at line 344 of file OgreStaticGeometry.h.
|
protected |
Pointer to parent region.
Definition at line 338 of file OgreStaticGeometry.h.
|
protected |
Geometry queued for a single LOD (deallocated here)
Definition at line 346 of file OgreStaticGeometry.h.
|
protected |
List of shadow renderables.
Definition at line 352 of file OgreStaticGeometry.h.
|
protected |
Is a vertex program in use somewhere in this group?
Definition at line 350 of file OgreStaticGeometry.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.