A LODBucket is a collection of smaller buckets with the same LOD. More...
#include <OgreInstancedGeometry.h>
Public Types | |
typedef map< String, MaterialBucket * >::type | 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 lodValue) | |
virtual | ~LODBucket () |
BatchInstance * | getParent (void) |
ushort | getLod (void) const |
Get the lod index. | |
Real | getLodValue (void) const |
Get the lod value. | |
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 lodValue) |
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) |
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 | mLodValue |
lod value 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). |
A LODBucket is a collection of smaller buckets with the same LOD.
Definition at line 383 of file OgreInstancedGeometry.h.
typedef map<String, MaterialBucket*>::type Ogre::InstancedGeometry::LODBucket::MaterialBucketMap |
Lookup of Material Buckets in this BatchInstance.
Definition at line 387 of file OgreInstancedGeometry.h.
Iterator over the materials in this LOD.
Definition at line 415 of file OgreInstancedGeometry.h.
Ogre::InstancedGeometry::LODBucket::LODBucket | ( | BatchInstance * | parent, | |
unsigned short | lod, | |||
Real | lodValue | |||
) |
virtual Ogre::InstancedGeometry::LODBucket::~LODBucket | ( | ) | [virtual] |
void Ogre::InstancedGeometry::LODBucket::addRenderables | ( | RenderQueue * | queue, | |
uint8 | group, | |||
Real | lodValue | |||
) |
Add children to the render queue.
void Ogre::InstancedGeometry::LODBucket::assign | ( | QueuedSubMesh * | qsm, | |
ushort | atLod | |||
) |
Assign a queued submesh to this bucket, using specified mesh LOD.
void Ogre::InstancedGeometry::LODBucket::build | ( | ) |
Build.
void Ogre::InstancedGeometry::LODBucket::dump | ( | std::ofstream & | of | ) | const |
Dump contents for diagnostics.
ushort Ogre::InstancedGeometry::LODBucket::getLod | ( | void | ) | const |
Get the lod index.
Definition at line 404 of file OgreInstancedGeometry.h.
Real Ogre::InstancedGeometry::LODBucket::getLodValue | ( | void | ) | const |
Get the lod value.
Definition at line 406 of file OgreInstancedGeometry.h.
MaterialIterator Ogre::InstancedGeometry::LODBucket::getMaterialIterator | ( | void | ) |
Get an iterator over the materials in this LOD.
BatchInstance* Ogre::InstancedGeometry::LODBucket::getParent | ( | void | ) |
Definition at line 402 of file OgreInstancedGeometry.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 107 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
void * | ||||
) | [inherited] |
Definition at line 101 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) | [inherited] |
Definition at line 95 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 118 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) | [inherited] |
Definition at line 112 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
void * | ptr | |||
) | [inherited] |
placement operator new
Definition at line 78 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) | [inherited] |
Definition at line 72 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
operator new, with debug line info
Definition at line 67 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) | [inherited] |
Definition at line 90 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
array operator new, with debug line info
Definition at line 85 of file OgreMemoryAllocatedObject.h.
void Ogre::InstancedGeometry::LODBucket::updateContainers | ( | MaterialBucket * | bucket, | |
String & | name | |||
) |
fill the map
void Ogre::InstancedGeometry::LODBucket::visitRenderables | ( | Renderable::Visitor * | visitor, | |
bool | debugRenderables | |||
) |
unsigned short Ogre::InstancedGeometry::LODBucket::mLod [protected] |
LOD level (0 == full LOD).
Definition at line 392 of file OgreInstancedGeometry.h.
Real Ogre::InstancedGeometry::LODBucket::mLodValue [protected] |
lod value at which this LOD starts to apply (squared)
Definition at line 394 of file OgreInstancedGeometry.h.
Lookup of Material Buckets in this BatchInstance.
Definition at line 396 of file OgreInstancedGeometry.h.
BatchInstance* Ogre::InstancedGeometry::LODBucket::mParent [protected] |
Pointer to parent BatchInstance.
Definition at line 390 of file OgreInstancedGeometry.h.
Geometry queued for a single LOD (deallocated here).
Definition at line 398 of file OgreInstancedGeometry.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:37:55 2012