Pre-transforms and batches up meshes for efficient use as instanced geometry in a scene. More...
#include <OgreInstancedGeometry.h>
Classes | |
class | BatchInstance |
The details of a topological BatchInstance which is the highest level of partitioning for this class. More... | |
class | GeometryBucket |
A GeometryBucket is a the lowest level bucket where geometry with the same vertex & index format is stored. More... | |
class | InstancedObject |
class | LODBucket |
A LODBucket is a collection of smaller buckets with the same LOD. More... | |
class | MaterialBucket |
A MaterialBucket is a collection of smaller buckets with the same Material (and implicitly the same LOD). More... | |
class | OptimisedSubMeshGeometry |
Struct holding geometry optimised per SubMesh / lod level, ready for copying to instances. More... | |
struct | QueuedGeometry |
Structure recording a queued geometry for low level builds. More... | |
struct | QueuedSubMesh |
Structure recording a queued submesh for the build. More... | |
struct | SubMeshLodGeometryLink |
Saved link between SubMesh at a LOD and vertex/index data May point to original or optimised geometry. More... | |
Public Types | |
typedef list < OptimisedSubMeshGeometry * > ::type | OptimisedSubMeshGeometryList |
typedef vector < SubMeshLodGeometryLink > ::type | SubMeshLodGeometryLinkList |
typedef map< SubMesh *, SubMeshLodGeometryLinkList * > ::type | SubMeshGeometryLookup |
typedef vector< QueuedSubMesh * > ::type | QueuedSubMeshList |
typedef vector< String >::type | QueuedSubMeshOriginList |
typedef vector< QueuedGeometry * > ::type | QueuedGeometryList |
typedef map< uint32, BatchInstance * >::type | BatchInstanceMap |
Indexed BatchInstance map based on packed x/y/z BatchInstance index, 10 bits for each axis. | |
typedef vector < RenderOperation * >::type | RenderOperationVector |
Simple vectors where are stored all the renderoperations of the Batch. | |
typedef MapIterator < BatchInstanceMap > | BatchInstanceIterator |
Iterator for iterating over contained BatchInstances. | |
Public Member Functions | |
InstancedGeometry (SceneManager *owner, const String &name) | |
Constructor; do not use directly (. | |
virtual | ~InstancedGeometry () |
Destructor. | |
const String & | getName (void) const |
Get the name of this object. | |
virtual void | addEntity (Entity *ent, const Vector3 &position, const Quaternion &orientation=Quaternion::IDENTITY, const Vector3 &scale=Vector3::UNIT_SCALE) |
Adds an Entity to the static geometry. | |
virtual void | addSceneNode (const SceneNode *node) |
Adds all the Entity objects attached to a SceneNode and all it's children to the static geometry. | |
virtual void | build (void) |
Build the geometry. | |
void | addBatchInstance (void) |
Add a new batch instance. | |
virtual void | destroy (void) |
Destroys all the built geometry state (reverse of build). | |
virtual void | reset (void) |
Clears any of the entities / nodes added to this geometry and destroys anything which has already been built. | |
virtual void | setRenderingDistance (Real dist) |
Sets the distance at which batches are no longer rendered. | |
virtual Real | getRenderingDistance (void) const |
Gets the distance at which batches are no longer rendered. | |
virtual Real | getSquaredRenderingDistance (void) const |
Gets the squared distance at which batches are no longer rendered. | |
virtual void | setVisible (bool visible) |
Hides or shows all the batches. | |
virtual bool | isVisible (void) const |
Are the batches visible? | |
virtual void | setCastShadows (bool castShadows) |
Sets whether this geometry should cast shadows. | |
virtual bool | getCastShadows (void) |
Will the geometry from this object cast shadows? | |
virtual void | setBatchInstanceDimensions (const Vector3 &size) |
Sets the size of a single BatchInstance of geometry. | |
virtual const Vector3 & | getBatchInstanceDimensions (void) const |
Gets the size of a single batch of geometry. | |
virtual void | setOrigin (const Vector3 &origin) |
Sets the origin of the geometry. | |
virtual const Vector3 & | getOrigin (void) const |
Gets the origin of this geometry. | |
virtual void | setRenderQueueGroup (uint8 queueID) |
Sets the render queue group this object will be rendered through. | |
virtual uint8 | getRenderQueueGroup (void) const |
Gets the queue group for this entity, see setRenderQueueGroup for full details. | |
BatchInstanceIterator | getBatchInstanceIterator (void) |
Get an iterator over the BatchInstances in this geometry. | |
RenderOperationVector & | getRenderOperationVector () |
get the mRenderOps vector. | |
void | visitRenderables (Renderable::Visitor *visitor, bool debugRenderables=false) |
virtual void | dump (const String &filename) const |
Dump the contents of this InstancedGeometry to a file for diagnostic purposes. | |
SkeletonInstance * | getBaseSkeletonInstance (void) |
SkeletonPtr | getBaseSkeleton (void) |
AnimationStateSet * | getBaseAnimationState (void) |
unsigned int | getObjectCount (void) |
virtual void | setProvideWorldInverses (bool flag) |
virtual bool | getProvideWorldInverses (void) const |
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 Types | |
typedef map< size_t, size_t >::type | IndexRemap |
Protected Member Functions | |
virtual BatchInstance * | getBatchInstance (const AxisAlignedBox &bounds, bool autoCreate) |
Virtual method for getting a BatchInstance most suitable for the passed in bounds. | |
virtual BatchInstance * | getBatchInstance (const Vector3 &point, bool autoCreate) |
Get the BatchInstance within which a point lies. | |
virtual BatchInstance * | getBatchInstance (ushort x, ushort y, ushort z, bool autoCreate) |
Get the BatchInstance using indexes. | |
virtual BatchInstance * | getBatchInstance (uint32 index) |
Get the BatchInstance using a packed index, returns null if it doesn't exist. | |
virtual void | getBatchInstanceIndexes (const Vector3 &point, ushort &x, ushort &y, ushort &z) |
Get the BatchInstance indexes for a point. | |
virtual BatchInstance * | getInstancedGeometryInstance (void) |
get the first BatchInstance or create on if it does not exists. | |
virtual uint32 | packIndex (ushort x, ushort y, ushort z) |
Pack 3 indexes into a single index value. | |
virtual Real | getVolumeIntersection (const AxisAlignedBox &box, ushort x, ushort y, ushort z) |
Get the volume intersection for an indexed BatchInstance with some bounds. | |
virtual AxisAlignedBox | getBatchInstanceBounds (ushort x, ushort y, ushort z) |
Get the bounds of an indexed BatchInstance. | |
virtual Vector3 | getBatchInstanceCentre (ushort x, ushort y, ushort z) |
Get the centre of an indexed BatchInstance. | |
virtual AxisAlignedBox | calculateBounds (VertexData *vertexData, const Vector3 &position, const Quaternion &orientation, const Vector3 &scale) |
Calculate world bounds from a set of vertex data. | |
SubMeshLodGeometryLinkList * | determineGeometry (SubMesh *sm) |
Look up or calculate the geometry data to use for this SubMesh. | |
void | splitGeometry (VertexData *vd, IndexData *id, SubMeshLodGeometryLink *targetGeomLink) |
Split some shared geometry into dedicated geometry. | |
template<typename T > | |
void | buildIndexRemap (T *pBuffer, size_t numIndexes, IndexRemap &remap) |
Method for figuring out which vertices are used by an index buffer and calculating a remap lookup for a vertex buffer just containing those vertices. | |
template<typename T > | |
void | remapIndexes (T *src, T *dst, const IndexRemap &remap, size_t numIndexes) |
Method for altering indexes based on a remap. | |
Protected Attributes | |
SceneManager * | mOwner |
String | mName |
bool | mBuilt |
Real | mUpperDistance |
Real | mSquaredUpperDistance |
bool | mCastShadows |
Vector3 | mBatchInstanceDimensions |
Vector3 | mHalfBatchInstanceDimensions |
Vector3 | mOrigin |
bool | mVisible |
bool | mProvideWorldInverses |
Flags to indicate whether the World Transform Inverse matrices are passed to the shaders. | |
uint8 | mRenderQueueID |
The render queue to use when rendering this object. | |
bool | mRenderQueueIDSet |
Flags whether the RenderQueue's default should be used. | |
unsigned int | mObjectCount |
number of objects in the batch | |
QueuedSubMeshList | mQueuedSubMeshes |
BatchInstance * | mInstancedGeometryInstance |
SkeletonPtr | mBaseSkeleton |
this is just a pointer to the base skeleton that will be used for each animated object in the batches This pointer has a value only during the creation of the InstancedGeometry | |
SkeletonInstance * | mSkeletonInstance |
AnimationStateSet * | mAnimationState |
This is the main animation state. | |
OptimisedSubMeshGeometryList | mOptimisedSubMeshGeometryList |
List of geometry which has been optimised for SubMesh use This is the primary storage used for cleaning up later. | |
SubMeshGeometryLookup | mSubMeshGeometryLookup |
Cached links from SubMeshes to (potentially optimised) geometry This is not used for deletion since the lookup may reference original vertex data. | |
BatchInstanceMap | mBatchInstanceMap |
Map of BatchInstances. | |
RenderOperationVector | mRenderOps |
This vector stores all the renderOperation used in the batch. |
Pre-transforms and batches up meshes for efficient use as instanced geometry in a scene.
Definition at line 104 of file OgreInstancedGeometry.h.
Iterator for iterating over contained BatchInstances.
Definition at line 835 of file OgreInstancedGeometry.h.
typedef map<uint32, BatchInstance*>::type Ogre::InstancedGeometry::BatchInstanceMap |
Indexed BatchInstance map based on packed x/y/z BatchInstance index, 10 bits for each axis.
Definition at line 531 of file OgreInstancedGeometry.h.
typedef map<size_t, size_t>::type Ogre::InstancedGeometry::IndexRemap [protected] |
Definition at line 625 of file OgreInstancedGeometry.h.
Definition at line 131 of file OgreInstancedGeometry.h.
typedef vector<QueuedGeometry*>::type Ogre::InstancedGeometry::QueuedGeometryList |
Definition at line 166 of file OgreInstancedGeometry.h.
typedef vector<QueuedSubMesh*>::type Ogre::InstancedGeometry::QueuedSubMeshList |
Definition at line 155 of file OgreInstancedGeometry.h.
typedef vector<String>::type Ogre::InstancedGeometry::QueuedSubMeshOriginList |
Definition at line 156 of file OgreInstancedGeometry.h.
typedef vector<RenderOperation*>::type Ogre::InstancedGeometry::RenderOperationVector |
Simple vectors where are stored all the renderoperations of the Batch.
This vector is used when we want to delete the batch, in order to delete only one time each render operation.
Definition at line 537 of file OgreInstancedGeometry.h.
typedef map<SubMesh*, SubMeshLodGeometryLinkList*>::type Ogre::InstancedGeometry::SubMeshGeometryLookup |
Definition at line 140 of file OgreInstancedGeometry.h.
Definition at line 139 of file OgreInstancedGeometry.h.
Ogre::InstancedGeometry::InstancedGeometry | ( | SceneManager * | owner, | |
const String & | name | |||
) |
Constructor; do not use directly (.
virtual Ogre::InstancedGeometry::~InstancedGeometry | ( | ) | [virtual] |
Destructor.
void Ogre::InstancedGeometry::addBatchInstance | ( | void | ) |
Add a new batch instance.
virtual void Ogre::InstancedGeometry::addEntity | ( | Entity * | ent, | |
const Vector3 & | position, | |||
const Quaternion & | orientation = Quaternion::IDENTITY , |
|||
const Vector3 & | scale = Vector3::UNIT_SCALE | |||
) | [virtual] |
Adds an Entity to the static geometry.
virtual void Ogre::InstancedGeometry::addSceneNode | ( | const SceneNode * | node | ) | [virtual] |
Adds all the Entity objects attached to a SceneNode and all it's children to the static geometry.
node | Pointer to the node to use to provide a set of Entity templates |
virtual void Ogre::InstancedGeometry::build | ( | void | ) | [virtual] |
Build the geometry.
void Ogre::InstancedGeometry::buildIndexRemap | ( | T * | pBuffer, | |
size_t | numIndexes, | |||
IndexRemap & | remap | |||
) | [protected] |
Method for figuring out which vertices are used by an index buffer and calculating a remap lookup for a vertex buffer just containing those vertices.
Definition at line 631 of file OgreInstancedGeometry.h.
virtual AxisAlignedBox Ogre::InstancedGeometry::calculateBounds | ( | VertexData * | vertexData, | |
const Vector3 & | position, | |||
const Quaternion & | orientation, | |||
const Vector3 & | scale | |||
) | [protected, virtual] |
Calculate world bounds from a set of vertex data.
virtual void Ogre::InstancedGeometry::destroy | ( | void | ) | [virtual] |
Destroys all the built geometry state (reverse of build).
SubMeshLodGeometryLinkList* Ogre::InstancedGeometry::determineGeometry | ( | SubMesh * | sm | ) | [protected] |
Look up or calculate the geometry data to use for this SubMesh.
virtual void Ogre::InstancedGeometry::dump | ( | const String & | filename | ) | const [virtual] |
Dump the contents of this InstancedGeometry to a file for diagnostic purposes.
AnimationStateSet* Ogre::InstancedGeometry::getBaseAnimationState | ( | void | ) |
Definition at line 862 of file OgreInstancedGeometry.h.
SkeletonPtr Ogre::InstancedGeometry::getBaseSkeleton | ( | void | ) |
Definition at line 857 of file OgreInstancedGeometry.h.
SkeletonInstance* Ogre::InstancedGeometry::getBaseSkeletonInstance | ( | void | ) |
Definition at line 852 of file OgreInstancedGeometry.h.
virtual BatchInstance* Ogre::InstancedGeometry::getBatchInstance | ( | uint32 | index | ) | [protected, virtual] |
Get the BatchInstance using a packed index, returns null if it doesn't exist.
virtual BatchInstance* Ogre::InstancedGeometry::getBatchInstance | ( | ushort | x, | |
ushort | y, | |||
ushort | z, | |||
bool | autoCreate | |||
) | [protected, virtual] |
Get the BatchInstance using indexes.
virtual BatchInstance* Ogre::InstancedGeometry::getBatchInstance | ( | const Vector3 & | point, | |
bool | autoCreate | |||
) | [protected, virtual] |
Get the BatchInstance within which a point lies.
virtual BatchInstance* Ogre::InstancedGeometry::getBatchInstance | ( | const AxisAlignedBox & | bounds, | |
bool | autoCreate | |||
) | [protected, virtual] |
Virtual method for getting a BatchInstance most suitable for the passed in bounds.
Can be overridden by subclasses.
virtual AxisAlignedBox Ogre::InstancedGeometry::getBatchInstanceBounds | ( | ushort | x, | |
ushort | y, | |||
ushort | z | |||
) | [protected, virtual] |
Get the bounds of an indexed BatchInstance.
virtual Vector3 Ogre::InstancedGeometry::getBatchInstanceCentre | ( | ushort | x, | |
ushort | y, | |||
ushort | z | |||
) | [protected, virtual] |
Get the centre of an indexed BatchInstance.
virtual const Vector3& Ogre::InstancedGeometry::getBatchInstanceDimensions | ( | void | ) | const [virtual] |
Gets the size of a single batch of geometry.
Definition at line 803 of file OgreInstancedGeometry.h.
virtual void Ogre::InstancedGeometry::getBatchInstanceIndexes | ( | const Vector3 & | point, | |
ushort & | x, | |||
ushort & | y, | |||
ushort & | z | |||
) | [protected, virtual] |
Get the BatchInstance indexes for a point.
BatchInstanceIterator Ogre::InstancedGeometry::getBatchInstanceIterator | ( | void | ) |
Get an iterator over the BatchInstances in this geometry.
virtual bool Ogre::InstancedGeometry::getCastShadows | ( | void | ) | [virtual] |
Will the geometry from this object cast shadows?
Definition at line 786 of file OgreInstancedGeometry.h.
virtual BatchInstance* Ogre::InstancedGeometry::getInstancedGeometryInstance | ( | void | ) | [protected, virtual] |
get the first BatchInstance or create on if it does not exists.
const String& Ogre::InstancedGeometry::getName | ( | void | ) | const |
Get the name of this object.
Definition at line 663 of file OgreInstancedGeometry.h.
unsigned int Ogre::InstancedGeometry::getObjectCount | ( | void | ) |
Definition at line 867 of file OgreInstancedGeometry.h.
virtual const Vector3& Ogre::InstancedGeometry::getOrigin | ( | void | ) | const [virtual] |
Gets the origin of this geometry.
Definition at line 817 of file OgreInstancedGeometry.h.
virtual bool Ogre::InstancedGeometry::getProvideWorldInverses | ( | void | ) | const [virtual] |
Definition at line 882 of file OgreInstancedGeometry.h.
virtual Real Ogre::InstancedGeometry::getRenderingDistance | ( | void | ) | const [virtual] |
Gets the distance at which batches are no longer rendered.
Definition at line 755 of file OgreInstancedGeometry.h.
RenderOperationVector& Ogre::InstancedGeometry::getRenderOperationVector | ( | ) |
get the mRenderOps vector.
Definition at line 839 of file OgreInstancedGeometry.h.
virtual uint8 Ogre::InstancedGeometry::getRenderQueueGroup | ( | void | ) | const [virtual] |
Gets the queue group for this entity, see setRenderQueueGroup for full details.
virtual Real Ogre::InstancedGeometry::getSquaredRenderingDistance | ( | void | ) | const [virtual] |
Gets the squared distance at which batches are no longer rendered.
Definition at line 758 of file OgreInstancedGeometry.h.
virtual Real Ogre::InstancedGeometry::getVolumeIntersection | ( | const AxisAlignedBox & | box, | |
ushort | x, | |||
ushort | y, | |||
ushort | z | |||
) | [protected, virtual] |
Get the volume intersection for an indexed BatchInstance with some bounds.
virtual bool Ogre::InstancedGeometry::isVisible | ( | void | ) | const [virtual] |
Are the batches visible?
Definition at line 765 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.
virtual uint32 Ogre::InstancedGeometry::packIndex | ( | ushort | x, | |
ushort | y, | |||
ushort | z | |||
) | [protected, virtual] |
Pack 3 indexes into a single index value.
void Ogre::InstancedGeometry::remapIndexes | ( | T * | src, | |
T * | dst, | |||
const IndexRemap & | remap, | |||
size_t | numIndexes | |||
) | [protected] |
Method for altering indexes based on a remap.
Definition at line 644 of file OgreInstancedGeometry.h.
virtual void Ogre::InstancedGeometry::reset | ( | void | ) | [virtual] |
Clears any of the entities / nodes added to this geometry and destroys anything which has already been built.
virtual void Ogre::InstancedGeometry::setBatchInstanceDimensions | ( | const Vector3 & | size | ) | [virtual] |
Sets the size of a single BatchInstance of geometry.
size | Vector3 expressing the 3D size of each BatchInstance. |
Definition at line 798 of file OgreInstancedGeometry.h.
virtual void Ogre::InstancedGeometry::setCastShadows | ( | bool | castShadows | ) | [virtual] |
Sets whether this geometry should cast shadows.
virtual void Ogre::InstancedGeometry::setOrigin | ( | const Vector3 & | origin | ) | [virtual] |
Sets the origin of the geometry.
size | Vector3 expressing the 3D origin of the geometry. |
Definition at line 815 of file OgreInstancedGeometry.h.
virtual void Ogre::InstancedGeometry::setProvideWorldInverses | ( | bool | flag | ) | [virtual] |
virtual void Ogre::InstancedGeometry::setRenderingDistance | ( | Real | dist | ) | [virtual] |
Sets the distance at which batches are no longer rendered.
dist | Distance beyond which the batches will not be rendered (the default is 0, which means batches are always rendered). |
Definition at line 749 of file OgreInstancedGeometry.h.
virtual void Ogre::InstancedGeometry::setRenderQueueGroup | ( | uint8 | queueID | ) | [virtual] |
Sets the render queue group this object will be rendered through.
queueID | Enumerated value of the queue group to use. |
virtual void Ogre::InstancedGeometry::setVisible | ( | bool | visible | ) | [virtual] |
Hides or shows all the batches.
void Ogre::InstancedGeometry::splitGeometry | ( | VertexData * | vd, | |
IndexData * | id, | |||
SubMeshLodGeometryLink * | targetGeomLink | |||
) | [protected] |
Split some shared geometry into dedicated geometry.
void Ogre::InstancedGeometry::visitRenderables | ( | Renderable::Visitor * | visitor, | |
bool | debugRenderables = false | |||
) |
Method to allow a caller to abstractly iterate over the Renderable instances that this MovableObject will add to the render queue when asked, if any.
visitor | Pointer to a class implementing the Renderable::Visitor interface which will be called back for each Renderable which will be queued. Bear in mind that the state of the Renderable instances may not be finalised depending on when you call this. | |
debugRenderables | If false, only regular renderables will be visited (those for normal display). If true, debug renderables will be included too. |
This is the main animation state.
All "objects" in the batch will use an instance of this animation state
Definition at line 568 of file OgreInstancedGeometry.h.
SkeletonPtr Ogre::InstancedGeometry::mBaseSkeleton [protected] |
this is just a pointer to the base skeleton that will be used for each animated object in the batches This pointer has a value only during the creation of the InstancedGeometry
Definition at line 563 of file OgreInstancedGeometry.h.
Definition at line 546 of file OgreInstancedGeometry.h.
Map of BatchInstances.
Definition at line 580 of file OgreInstancedGeometry.h.
bool Ogre::InstancedGeometry::mBuilt [protected] |
Definition at line 542 of file OgreInstancedGeometry.h.
bool Ogre::InstancedGeometry::mCastShadows [protected] |
Definition at line 545 of file OgreInstancedGeometry.h.
Definition at line 547 of file OgreInstancedGeometry.h.
Definition at line 559 of file OgreInstancedGeometry.h.
String Ogre::InstancedGeometry::mName [protected] |
Definition at line 541 of file OgreInstancedGeometry.h.
unsigned int Ogre::InstancedGeometry::mObjectCount [protected] |
number of objects in the batch
Definition at line 557 of file OgreInstancedGeometry.h.
List of geometry which has been optimised for SubMesh use This is the primary storage used for cleaning up later.
Definition at line 571 of file OgreInstancedGeometry.h.
Vector3 Ogre::InstancedGeometry::mOrigin [protected] |
Definition at line 548 of file OgreInstancedGeometry.h.
SceneManager* Ogre::InstancedGeometry::mOwner [protected] |
Definition at line 540 of file OgreInstancedGeometry.h.
bool Ogre::InstancedGeometry::mProvideWorldInverses [protected] |
Flags to indicate whether the World Transform Inverse matrices are passed to the shaders.
Definition at line 551 of file OgreInstancedGeometry.h.
Definition at line 558 of file OgreInstancedGeometry.h.
This vector stores all the renderOperation used in the batch.
See the type definition for more details.
Definition at line 584 of file OgreInstancedGeometry.h.
uint8 Ogre::InstancedGeometry::mRenderQueueID [protected] |
The render queue to use when rendering this object.
Definition at line 553 of file OgreInstancedGeometry.h.
bool Ogre::InstancedGeometry::mRenderQueueIDSet [protected] |
Flags whether the RenderQueue's default should be used.
Definition at line 555 of file OgreInstancedGeometry.h.
Definition at line 564 of file OgreInstancedGeometry.h.
Real Ogre::InstancedGeometry::mSquaredUpperDistance [protected] |
Definition at line 544 of file OgreInstancedGeometry.h.
Cached links from SubMeshes to (potentially optimised) geometry This is not used for deletion since the lookup may reference original vertex data.
Definition at line 577 of file OgreInstancedGeometry.h.
Real Ogre::InstancedGeometry::mUpperDistance [protected] |
Definition at line 543 of file OgreInstancedGeometry.h.
bool Ogre::InstancedGeometry::mVisible [protected] |
Definition at line 549 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:51 2012