#include <OgreInstancedGeometry.h>
Inheritance diagram for Ogre::InstancedGeometry::LODBucket:
Public Types | |
typedef std::map< String, MaterialBucket * > | MaterialBucketMap |
Lookup of Material Buckets in this BatchInstance. | |
typedef MapIterator< MaterialBucketMap > | MaterialIterator |
Iterator over the materials in this LOD. | |
Public Member Functions | |
LODBucket (BatchInstance *parent, unsigned short lod, Real lodDist) | |
virtual | ~LODBucket () |
BatchInstance * | getParent (void) |
ushort | getLod (void) const |
Get the lod index. | |
Real | getSquaredDistance (void) const |
Get the lod squared distance. | |
void | assign (QueuedSubMesh *qsm, ushort atLod) |
Assign a queued submesh to this bucket, using specified mesh LOD. | |
void | build () |
Build. | |
void | addRenderables (RenderQueue *queue, uint8 group, Real camSquaredDistance) |
Add children to the render queue. | |
MaterialIterator | getMaterialIterator (void) |
Get an iterator over the materials in this LOD. | |
void | dump (std::ofstream &of) const |
Dump contents for diagnostics. | |
void | updateContainers (MaterialBucket *bucket, String &name) |
fill the map | |
void | visitRenderables (Renderable::Visitor *visitor, bool debugRenderables) |
AllocatedObject () | |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
void * | operator new[] (size_t sz) |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
Protected Attributes | |
BatchInstance * | mParent |
Pointer to parent BatchInstance. | |
unsigned short | mLod |
LOD level (0 == full LOD). | |
Real | mSquaredDistance |
distance at which this LOD starts to apply (squared) | |
MaterialBucketMap | mMaterialBucketMap |
Lookup of Material Buckets in this BatchInstance. | |
QueuedGeometryList | mQueuedGeometryList |
Geometry queued for a single LOD (deallocated here). |
Definition at line 369 of file OgreInstancedGeometry.h.
|
Lookup of Material Buckets in this BatchInstance.
Definition at line 373 of file OgreInstancedGeometry.h. |
|
Iterator over the materials in this LOD.
Definition at line 401 of file OgreInstancedGeometry.h. |
|
|
|
|
|
Add children to the render queue.
|
|
Definition at line 55 of file OgreMemoryAllocatedObject.h. |
|
Assign a queued submesh to this bucket, using specified mesh LOD.
|
|
Build.
|
|
Dump contents for diagnostics.
|
|
Get the lod index.
Definition at line 390 of file OgreInstancedGeometry.h. |
|
Get an iterator over the materials in this LOD.
|
|
Definition at line 388 of file OgreInstancedGeometry.h. |
|
Get the lod squared distance.
Definition at line 392 of file OgreInstancedGeometry.h. |
|
Definition at line 101 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 95 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 89 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 112 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 106 of file OgreMemoryAllocatedObject.h. |
|
placement operator new
Definition at line 73 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 67 of file OgreMemoryAllocatedObject.h. |
|
operator new, with debug line info
Definition at line 62 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 84 of file OgreMemoryAllocatedObject.h. |
|
array operator new, with debug line info
Definition at line 79 of file OgreMemoryAllocatedObject.h. |
|
fill the map
|
|
|
|
LOD level (0 == full LOD).
Definition at line 378 of file OgreInstancedGeometry.h. |
|
Lookup of Material Buckets in this BatchInstance.
Definition at line 382 of file OgreInstancedGeometry.h. |
|
Pointer to parent BatchInstance.
Definition at line 376 of file OgreInstancedGeometry.h. |
|
Geometry queued for a single LOD (deallocated here).
Definition at line 384 of file OgreInstancedGeometry.h. |
|
distance at which this LOD starts to apply (squared)
Definition at line 380 of file OgreInstancedGeometry.h. |
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sat Apr 11 13:48:41 2009