#include <OgreInstancedGeometry.h>
Public Types | |
typedef std::vector< GeometryBucket * > | GeometryBucketList |
list of Geometry Buckets in this BatchInstance | |
typedef VectorIterator< GeometryBucketList > | GeometryIterator |
Iterator over geometry. | |
Public Member Functions | |
MaterialBucket (LODBucket *parent, const String &materialName) | |
virtual | ~MaterialBucket () |
LODBucket * | getParent (void) |
const String & | getMaterialName (void) const |
Get the material name. | |
void | assign (QueuedGeometry *qsm) |
Assign geometry to this bucket. | |
void | build () |
Build. | |
void | addRenderables (RenderQueue *queue, uint8 group, Real camSquaredDist) |
Add children to the render queue. | |
const MaterialPtr & | getMaterial (void) const |
Get the material for this bucket. | |
GeometryIterator | getGeometryIterator (void) |
Get an iterator over the contained geometry. | |
Technique * | getCurrentTechnique (void) const |
Get the current Technique. | |
void | dump (std::ofstream &of) const |
Dump contents for diagnostics. | |
MaterialBucket::CurrentGeometryMap * | getMaterialBucketMap (void) const |
Return the geometry map. | |
MaterialBucket::GeometryBucketList * | getGeometryBucketList (void) const |
Return the geometry list. | |
void | updateContainers (GeometryBucket *bucket, const String &format) |
fill in the map and the list | |
void | setLastIndex (int index) |
int | getLastIndex () |
void | setMaterial (const String &name) |
Protected Types | |
typedef std::map< String, GeometryBucket * > | CurrentGeometryMap |
Protected Member Functions | |
String | getGeometryFormatString (SubMeshLodGeometryLink *geom) |
Get a packed string identifying the geometry format. | |
Protected Attributes | |
LODBucket * | mParent |
Pointer to parent LODBucket. | |
String | mMaterialName |
Material being used. | |
MaterialPtr | mMaterial |
Pointer to material being used. | |
Technique * | mTechnique |
Active technique. | |
int | mLastIndex |
GeometryBucketList | mGeometryBucketList |
list of Geometry Buckets in this BatchInstance | |
CurrentGeometryMap | mCurrentGeometryMap |
Definition at line 299 of file OgreInstancedGeometry.h.
|
Definition at line 317 of file OgreInstancedGeometry.h. |
|
list of Geometry Buckets in this BatchInstance
Definition at line 303 of file OgreInstancedGeometry.h. |
|
Iterator over geometry.
Definition at line 338 of file OgreInstancedGeometry.h. |
|
|
|
|
|
Add children to the render queue.
|
|
Assign geometry to this bucket.
|
|
Build.
|
|
Dump contents for diagnostics.
|
|
Get the current Technique.
Definition at line 342 of file OgreInstancedGeometry.h. |
|
Return the geometry list.
|
|
Get a packed string identifying the geometry format.
|
|
Get an iterator over the contained geometry.
|
|
Definition at line 352 of file OgreInstancedGeometry.h. |
|
Get the material for this bucket.
Definition at line 336 of file OgreInstancedGeometry.h. |
|
Return the geometry map.
|
|
Get the material name.
Definition at line 327 of file OgreInstancedGeometry.h. |
|
Definition at line 325 of file OgreInstancedGeometry.h. |
|
Definition at line 351 of file OgreInstancedGeometry.h. |
|
|
|
fill in the map and the list
|
|
Definition at line 318 of file OgreInstancedGeometry.h. |
|
list of Geometry Buckets in this BatchInstance
Definition at line 315 of file OgreInstancedGeometry.h. |
|
Definition at line 313 of file OgreInstancedGeometry.h. |
|
Pointer to material being used.
Definition at line 310 of file OgreInstancedGeometry.h. |
|
Material being used.
Definition at line 308 of file OgreInstancedGeometry.h. |
|
Pointer to parent LODBucket.
Definition at line 306 of file OgreInstancedGeometry.h. |
|
Active technique.
Definition at line 312 of file OgreInstancedGeometry.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Jul 8 15:21:11 2007