A MaterialBucket is a collection of smaller buckets with the same Material (and implicitly the same LOD). More...
#include <OgreInstancedGeometry.h>
Public Types | |
typedef vector< GeometryBucket * >::type | GeometryBucketList |
list of Geometry Buckets in this BatchInstance | |
typedef VectorIterator< GeometryBucketList > | GeometryIterator |
Iterator over geometry. | |
Protected Types | |
typedef map< String, GeometryBucket * >::type | CurrentGeometryMap |
Protected Member Functions | |
String | getGeometryFormatString (SubMeshLodGeometryLink *geom) |
Get a packed string identifying the geometry format. | |
Protected Attributes | |
CurrentGeometryMap | mCurrentGeometryMap |
GeometryBucketList | mGeometryBucketList |
list of Geometry Buckets in this BatchInstance | |
int | mLastIndex |
MaterialPtr | mMaterial |
Pointer to material being used. | |
String | mMaterialName |
Material being used. | |
LODBucket * | mParent |
Pointer to parent LODBucket. | |
Technique * | mTechnique |
Active technique. | |
A MaterialBucket is a collection of smaller buckets with the same Material (and implicitly the same LOD).
Definition at line 321 of file OgreInstancedGeometry.h.
|
protected |
Definition at line 339 of file OgreInstancedGeometry.h.
list of Geometry Buckets in this BatchInstance
Definition at line 325 of file OgreInstancedGeometry.h.
typedef VectorIterator<GeometryBucketList> Ogre::InstancedGeometry::MaterialBucket::GeometryIterator |
Iterator over geometry.
Definition at line 360 of file OgreInstancedGeometry.h.
Ogre::InstancedGeometry::MaterialBucket::MaterialBucket | ( | LODBucket * | parent, |
const String & | materialName | ||
) |
|
virtual |
void Ogre::InstancedGeometry::MaterialBucket::addRenderables | ( | RenderQueue * | queue, |
uint8 | group, | ||
Real | lodValue | ||
) |
Add children to the render queue.
void Ogre::InstancedGeometry::MaterialBucket::assign | ( | QueuedGeometry * | qsm | ) |
Assign geometry to this bucket.
void Ogre::InstancedGeometry::MaterialBucket::build | ( | ) |
Build.
void Ogre::InstancedGeometry::MaterialBucket::dump | ( | std::ofstream & | of | ) | const |
Dump contents for diagnostics.
Get the current Technique.
Definition at line 364 of file OgreInstancedGeometry.h.
MaterialBucket::GeometryBucketList * Ogre::InstancedGeometry::MaterialBucket::getGeometryBucketList | ( | void | ) | const |
Return the geometry list.
|
protected |
Get a packed string identifying the geometry format.
GeometryIterator Ogre::InstancedGeometry::MaterialBucket::getGeometryIterator | ( | void | ) |
Get an iterator over the contained geometry.
int Ogre::InstancedGeometry::MaterialBucket::getLastIndex | ( | ) |
Definition at line 374 of file OgreInstancedGeometry.h.
const MaterialPtr & Ogre::InstancedGeometry::MaterialBucket::getMaterial | ( | void | ) | const |
Get the material for this bucket.
Definition at line 358 of file OgreInstancedGeometry.h.
MaterialBucket::CurrentGeometryMap * Ogre::InstancedGeometry::MaterialBucket::getMaterialBucketMap | ( | void | ) | const |
Return the geometry map.
Get the material name.
Definition at line 349 of file OgreInstancedGeometry.h.
Definition at line 347 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.
Definition at line 373 of file OgreInstancedGeometry.h.
void Ogre::InstancedGeometry::MaterialBucket::updateContainers | ( | GeometryBucket * | bucket, |
const String & | format | ||
) |
fill in the map and the list
void Ogre::InstancedGeometry::MaterialBucket::visitRenderables | ( | Renderable::Visitor * | visitor, |
bool | debugRenderables | ||
) |
|
protected |
Definition at line 340 of file OgreInstancedGeometry.h.
|
protected |
list of Geometry Buckets in this BatchInstance
Definition at line 337 of file OgreInstancedGeometry.h.
|
protected |
Definition at line 335 of file OgreInstancedGeometry.h.
|
protected |
Pointer to material being used.
Definition at line 332 of file OgreInstancedGeometry.h.
|
protected |
Material being used.
Definition at line 330 of file OgreInstancedGeometry.h.
|
protected |
Pointer to parent LODBucket.
Definition at line 328 of file OgreInstancedGeometry.h.
|
protected |
Active technique.
Definition at line 334 of file OgreInstancedGeometry.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.