A MaterialBucket is a collection of smaller buckets with the same Material (and implicitly the same LOD).
More...
#include <OgreStaticGeometry.h>
A MaterialBucket is a collection of smaller buckets with the same Material (and implicitly the same LOD).
◆ GeometryBucketList
list of Geometry Buckets in this region
◆ GeometryIterator
◆ MaterialBucket()
Ogre::StaticGeometry::MaterialBucket::MaterialBucket |
( |
LODBucket * |
parent, |
|
|
const MaterialPtr & |
material |
|
) |
| |
◆ ~MaterialBucket()
virtual Ogre::StaticGeometry::MaterialBucket::~MaterialBucket |
( |
| ) |
|
|
virtual |
◆ getParent()
LODBucket* Ogre::StaticGeometry::MaterialBucket::getParent |
( |
void |
| ) |
|
|
inline |
◆ getMaterialName()
const String& Ogre::StaticGeometry::MaterialBucket::getMaterialName |
( |
void |
| ) |
const |
|
inline |
◆ assign()
void Ogre::StaticGeometry::MaterialBucket::assign |
( |
QueuedGeometry * |
qsm | ) |
|
Assign geometry to this bucket.
◆ build()
void Ogre::StaticGeometry::MaterialBucket::build |
( |
bool |
stencilShadows | ) |
|
◆ addRenderables()
void Ogre::StaticGeometry::MaterialBucket::addRenderables |
( |
RenderQueue * |
queue, |
|
|
uint8 |
group, |
|
|
Real |
lodValue |
|
) |
| |
Add children to the render queue.
◆ getMaterial()
const MaterialPtr& Ogre::StaticGeometry::MaterialBucket::getMaterial |
( |
void |
| ) |
const |
|
inline |
Get the material for this bucket.
◆ _setMaterial()
void Ogre::StaticGeometry::MaterialBucket::_setMaterial |
( |
const MaterialPtr & |
material | ) |
|
Override Material without changing the partitioning. For advanced use only.
◆ getGeometryList()
Get a list of the contained geometry.
◆ getGeometryIterator()
GeometryIterator Ogre::StaticGeometry::MaterialBucket::getGeometryIterator |
( |
void |
| ) |
|
◆ getCurrentTechnique()
Technique* Ogre::StaticGeometry::MaterialBucket::getCurrentTechnique |
( |
void |
| ) |
const |
|
inline |
◆ dump()
void Ogre::StaticGeometry::MaterialBucket::dump |
( |
std::ofstream & |
of | ) |
const |
Dump contents for diagnostics.
◆ visitRenderables()
void Ogre::StaticGeometry::MaterialBucket::visitRenderables |
( |
Renderable::Visitor * |
visitor, |
|
|
bool |
debugRenderables |
|
) |
| |
The documentation for this class was generated from the following file: