#include <OgreInstancedGeometry.h>
Public Types | |||||||
typedef std::list < OptimisedSubMeshGeometry * > | OptimisedSubMeshGeometryList | ||||||
typedef std::vector < SubMeshLodGeometryLink > | SubMeshLodGeometryLinkList | ||||||
typedef std::map< SubMesh *, SubMeshLodGeometryLinkList * > | SubMeshGeometryLookup | ||||||
typedef std::vector < QueuedSubMesh * > | QueuedSubMeshList | ||||||
typedef std::vector< String > | QueuedSubMeshOriginList | ||||||
typedef std::vector < QueuedGeometry * > | QueuedGeometryList | ||||||
typedef std::map< uint32, BatchInstance * > | BatchInstanceMap | ||||||
Indexed BatchInstance map based on packed x/y/z BatchInstance index, 10 bits for each axis. | |||||||
typedef std::vector < RenderOperation * > | 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) | ||||||
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.
| |||||||
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) | ||||||
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 std::map< size_t, size_t > | 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 | ||||||
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. | |||||||
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... |
Definition at line 98 of file OgreInstancedGeometry.h.
typedef std::list<OptimisedSubMeshGeometry*> Ogre::InstancedGeometry::OptimisedSubMeshGeometryList |
Definition at line 125 of file OgreInstancedGeometry.h.
typedef std::vector<SubMeshLodGeometryLink> Ogre::InstancedGeometry::SubMeshLodGeometryLinkList |
Definition at line 133 of file OgreInstancedGeometry.h.
typedef std::map<SubMesh*, SubMeshLodGeometryLinkList*> Ogre::InstancedGeometry::SubMeshGeometryLookup |
Definition at line 134 of file OgreInstancedGeometry.h.
typedef std::vector<QueuedSubMesh*> Ogre::InstancedGeometry::QueuedSubMeshList |
Definition at line 149 of file OgreInstancedGeometry.h.
typedef std::vector<String> Ogre::InstancedGeometry::QueuedSubMeshOriginList |
Definition at line 150 of file OgreInstancedGeometry.h.
typedef std::vector<QueuedGeometry*> Ogre::InstancedGeometry::QueuedGeometryList |
Definition at line 160 of file OgreInstancedGeometry.h.
typedef std::map<uint32, BatchInstance*> Ogre::InstancedGeometry::BatchInstanceMap |
Indexed BatchInstance map based on packed x/y/z BatchInstance index, 10 bits for each axis.
Definition at line 510 of file OgreInstancedGeometry.h.
typedef std::vector<RenderOperation*> 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 516 of file OgreInstancedGeometry.h.
typedef std::map<size_t, size_t> Ogre::InstancedGeometry::IndexRemap [protected] |
Definition at line 602 of file OgreInstancedGeometry.h.
Iterator for iterating over contained BatchInstances.
Definition at line 810 of file OgreInstancedGeometry.h.
Ogre::InstancedGeometry::InstancedGeometry | ( | SceneManager * | owner, | |
const String & | name | |||
) |
virtual Ogre::InstancedGeometry::~InstancedGeometry | ( | ) | [virtual] |
Destructor.
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 BatchInstance* Ogre::InstancedGeometry::getBatchInstance | ( | const Vector3 & | point, | |
bool | autoCreate | |||
) | [protected, virtual] |
Get the BatchInstance within which a point lies.
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 | ( | uint32 | index | ) | [protected, virtual] |
Get the BatchInstance using a packed index, returns null if it doesn't exist.
virtual void Ogre::InstancedGeometry::getBatchInstanceIndexes | ( | const Vector3 & | point, | |
ushort & | x, | |||
ushort & | y, | |||
ushort & | z | |||
) | [protected, virtual] |
Get the BatchInstance indexes for a point.
virtual BatchInstance* Ogre::InstancedGeometry::getInstancedGeometryInstance | ( | void | ) | [protected, virtual] |
get the first BatchInstance or create on if it does not exists.
virtual uint32 Ogre::InstancedGeometry::packIndex | ( | ushort | x, | |
ushort | y, | |||
ushort | z | |||
) | [protected, virtual] |
Pack 3 indexes into a single index value.
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 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 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.
SubMeshLodGeometryLinkList* Ogre::InstancedGeometry::determineGeometry | ( | SubMesh * | sm | ) | [protected] |
Look up or calculate the geometry data to use for this SubMesh.
void Ogre::InstancedGeometry::splitGeometry | ( | VertexData * | vd, | |
IndexData * | id, | |||
SubMeshLodGeometryLink * | targetGeomLink | |||
) | [protected] |
Split some shared geometry into dedicated 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 608 of file OgreInstancedGeometry.h.
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 621 of file OgreInstancedGeometry.h.
const String& Ogre::InstancedGeometry::getName | ( | void | ) | const |
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.
Must be called before 'build'.
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::addBatchInstance | ( | void | ) |
Add a new batch instance.
virtual void Ogre::InstancedGeometry::destroy | ( | void | ) | [virtual] |
Destroys all the built geometry state (reverse of build).
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::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 724 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 730 of file OgreInstancedGeometry.h.
virtual Real Ogre::InstancedGeometry::getSquaredRenderingDistance | ( | void | ) | const [virtual] |
Gets the squared distance at which batches are no longer rendered.
Definition at line 733 of file OgreInstancedGeometry.h.
virtual void Ogre::InstancedGeometry::setVisible | ( | bool | visible | ) | [virtual] |
Hides or shows all the batches.
virtual bool Ogre::InstancedGeometry::isVisible | ( | void | ) | const [virtual] |
virtual void Ogre::InstancedGeometry::setCastShadows | ( | bool | castShadows | ) | [virtual] |
Sets whether this geometry should cast shadows.
virtual bool Ogre::InstancedGeometry::getCastShadows | ( | void | ) | [virtual] |
Will the geometry from this object cast shadows?
Definition at line 761 of file OgreInstancedGeometry.h.
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 773 of file OgreInstancedGeometry.h.
virtual const Vector3& Ogre::InstancedGeometry::getBatchInstanceDimensions | ( | void | ) | const [virtual] |
Gets the size of a single batch of geometry.
Definition at line 778 of file OgreInstancedGeometry.h.
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 790 of file OgreInstancedGeometry.h.
virtual const Vector3& Ogre::InstancedGeometry::getOrigin | ( | void | ) | const [virtual] |
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 uint8 Ogre::InstancedGeometry::getRenderQueueGroup | ( | void | ) | const [virtual] |
Gets the queue group for this entity, see setRenderQueueGroup for full details.
BatchInstanceIterator Ogre::InstancedGeometry::getBatchInstanceIterator | ( | void | ) |
Get an iterator over the BatchInstances in this geometry.
RenderOperationVector& Ogre::InstancedGeometry::getRenderOperationVector | ( | ) |
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. |
virtual void Ogre::InstancedGeometry::dump | ( | const String & | filename | ) | const [virtual] |
Dump the contents of this InstancedGeometry to a file for diagnostic purposes.
SkeletonInstance* Ogre::InstancedGeometry::getBaseSkeletonInstance | ( | void | ) |
Definition at line 827 of file OgreInstancedGeometry.h.
SkeletonPtr Ogre::InstancedGeometry::getBaseSkeleton | ( | void | ) |
Definition at line 832 of file OgreInstancedGeometry.h.
AnimationStateSet* Ogre::InstancedGeometry::getBaseAnimationState | ( | void | ) |
Definition at line 837 of file OgreInstancedGeometry.h.
unsigned int Ogre::InstancedGeometry::getObjectCount | ( | void | ) |
Definition at line 842 of file OgreInstancedGeometry.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) | [inherited] |
Definition at line 67 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
void * | ptr | |||
) | [inherited] |
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) | [inherited] |
Definition at line 84 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) | [inherited] |
Definition at line 89 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
void * | ||||
) | [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 101 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) | [inherited] |
Definition at line 106 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 112 of file OgreMemoryAllocatedObject.h.
SceneManager* Ogre::InstancedGeometry::mOwner [protected] |
Definition at line 519 of file OgreInstancedGeometry.h.
String Ogre::InstancedGeometry::mName [protected] |
Definition at line 520 of file OgreInstancedGeometry.h.
bool Ogre::InstancedGeometry::mBuilt [protected] |
Definition at line 521 of file OgreInstancedGeometry.h.
Real Ogre::InstancedGeometry::mUpperDistance [protected] |
Definition at line 522 of file OgreInstancedGeometry.h.
Real Ogre::InstancedGeometry::mSquaredUpperDistance [protected] |
Definition at line 523 of file OgreInstancedGeometry.h.
bool Ogre::InstancedGeometry::mCastShadows [protected] |
Definition at line 524 of file OgreInstancedGeometry.h.
Definition at line 525 of file OgreInstancedGeometry.h.
Definition at line 526 of file OgreInstancedGeometry.h.
Vector3 Ogre::InstancedGeometry::mOrigin [protected] |
Definition at line 527 of file OgreInstancedGeometry.h.
bool Ogre::InstancedGeometry::mVisible [protected] |
Definition at line 528 of file OgreInstancedGeometry.h.
uint8 Ogre::InstancedGeometry::mRenderQueueID [protected] |
The render queue to use when rendering this object.
Definition at line 530 of file OgreInstancedGeometry.h.
bool Ogre::InstancedGeometry::mRenderQueueIDSet [protected] |
Flags whether the RenderQueue's default should be used.
Definition at line 532 of file OgreInstancedGeometry.h.
unsigned int Ogre::InstancedGeometry::mObjectCount [protected] |
Definition at line 535 of file OgreInstancedGeometry.h.
Definition at line 536 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 540 of file OgreInstancedGeometry.h.
Definition at line 541 of file OgreInstancedGeometry.h.
This is the main animation state.
All "objects" in the batch will use an instance of this animation state
Definition at line 545 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 548 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 554 of file OgreInstancedGeometry.h.
This vector stores all the renderOperation used in the batch.
See the type definition for more details.
Definition at line 561 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 Sun Sep 27 22:03:44 2009