|
| Ogre::BaseInstanceBatchVTF::BaseInstanceBatchVTF (InstanceManager *creator, MeshPtr &meshReference, const MaterialPtr &material, size_t instancesPerBatch, const Mesh::IndexMap *indexToBoneMap, const String &batchName) |
|
| Ogre::InstanceManager::BatchSettings::BatchSettings () |
|
| Ogre::InstanceBatch::InstanceBatch (InstanceManager *creator, MeshPtr &meshReference, const MaterialPtr &material, size_t instancesPerBatch, const Mesh::IndexMap *indexToBoneMap, const String &batchName) |
|
| Ogre::InstanceBatchHW::InstanceBatchHW (InstanceManager *creator, MeshPtr &meshReference, const MaterialPtr &material, size_t instancesPerBatch, const Mesh::IndexMap *indexToBoneMap, const String &batchName) |
|
| Ogre::InstanceBatchHW_VTF::InstanceBatchHW_VTF (InstanceManager *creator, MeshPtr &meshReference, const MaterialPtr &material, size_t instancesPerBatch, const Mesh::IndexMap *indexToBoneMap, const String &batchName) |
|
| Ogre::InstanceBatchShader::InstanceBatchShader (InstanceManager *creator, MeshPtr &meshReference, const MaterialPtr &material, size_t instancesPerBatch, const Mesh::IndexMap *indexToBoneMap, const String &batchName) |
|
| Ogre::InstanceBatchVTF::InstanceBatchVTF (InstanceManager *creator, MeshPtr &meshReference, const MaterialPtr &material, size_t instancesPerBatch, const Mesh::IndexMap *indexToBoneMap, const String &batchName) |
|
| Ogre::InstancedEntity::InstancedEntity (InstanceBatch *batchOwner, uint32 instanceID, InstancedEntity *sharedTransformEntity=NULL) |
|
| Ogre::InstanceManager::InstanceManager (const String &customName, SceneManager *sceneManager, const String &meshName, const String &groupName, InstancingTechnique instancingTechnique, uint16 instancingFlags, size_t instancesPerBatch, unsigned short subMeshIdx, bool useBoneMatrixLookup=false) |
|
virtual | Ogre::BaseInstanceBatchVTF::~BaseInstanceBatchVTF () |
|
virtual | Ogre::InstanceBatch::~InstanceBatch () |
|
virtual | Ogre::InstanceBatchHW::~InstanceBatchHW () |
|
virtual | Ogre::InstanceBatchHW_VTF::~InstanceBatchHW_VTF () |
|
virtual | Ogre::InstanceBatchVTF::~InstanceBatchVTF () |
|
virtual | Ogre::InstancedEntity::~InstancedEntity () |
|
| Ogre::InstanceManager::~InstanceManager () |
|
void | Ogre::InstanceManager::_addDirtyBatch (InstanceBatch *dirtyBatch) |
| Called by an InstanceBatch when it requests their bounds to be updated for proper culling.
|
|
virtual void | Ogre::InstanceBatch::_boundsDirty (void) |
| Called by InstancedEntity(s) to tell us we need to update the bounds (we touch the SceneNode so the SceneManager aknowledges such change)
|
|
void | Ogre::InstanceBatchHW::_boundsDirty (void) |
| Overloaded so that we don't perform needless updates when in static mode.
|
|
void | Ogre::InstanceBatchHW_VTF::_boundsDirty (void) |
| Overloaded so that we don't perform needless updates when in static mode.
|
|
void | Ogre::InstanceBatch::_defragmentBatch (bool optimizeCulling, InstancedEntityVec &usedEntities, CustomParamsVec &usedParams) |
|
void | Ogre::InstanceBatch::_defragmentBatchDiscard (void) |
|
const Vector4 & | Ogre::InstanceBatch::_getCustomParam (InstancedEntity *instancedEntity, unsigned char idx) |
|
const Vector3 & | Ogre::InstancedEntity::_getDerivedPosition () const |
| Returns the derived position of the instanced entity including local transform.
|
|
const Mesh::IndexMap * | Ogre::InstanceBatch::_getIndexToBoneMap () const |
|
MeshPtr & | Ogre::InstanceBatch::_getMeshRef () |
|
const Ogre::MeshPtr & | Ogre::InstanceBatch::_getMeshReference (void) const |
|
InstanceBatch * | Ogre::InstancedEntity::_getOwner () const |
|
virtual const Affine3 & | Ogre::InstancedEntity::_getParentNodeFullTransform (void) const |
| Returns the world transform of the instanced entity including local transform.
|
|
void | Ogre::InstanceBatch::_markTransformSharingDirty () |
| Tells that the list of entity instances with shared transforms has changed.
|
|
void | Ogre::InstancedEntity::_notifyAttached (Node *parent, bool isTagPoint=false) |
| Internal method called to notify the object that it has been attached to a node.
|
|
void | Ogre::InstanceBatch::_notifyCurrentCamera (Camera *cam) |
| Internal method to notify the object of the camera to be used for the next rendering operation.
|
|
void | Ogre::InstancedEntity::_notifyMoved (void) |
| Overridden so we can tell the InstanceBatch it needs to update it's bounds.
|
|
void | Ogre::InstanceBatch::_setCustomParam (InstancedEntity *instancedEntity, unsigned char idx, const Vector4 &newParam) |
|
void | Ogre::InstanceBatch::_setInstancesPerBatch (size_t instancesPerBatch) |
| Raises an exception if trying to change it after being built.
|
|
bool | Ogre::InstanceBatch::_supportsSkeletalAnimation () const |
| Returns true if this technique supports skeletal animation.
|
|
virtual bool | Ogre::InstancedEntity::_updateAnimation (void) |
| Called by InstanceBatch in his _updateRenderQueue to tell us we need to calculate our bone matrices.
|
|
void | Ogre::InstanceBatch::_updateBounds (void) |
|
void | Ogre::InstanceManager::_updateDirtyBatches (void) |
| Called by SceneManager when we told it we have at least one dirty batch.
|
|
virtual void | Ogre::InstanceBatch::_updateRenderQueue (RenderQueue *queue) |
| Internal method by which the movable object must add Renderable subclass instances to the rendering queue.
|
|
virtual void | Ogre::InstanceBatchHW::_updateRenderQueue (RenderQueue *queue) |
| Overloaded to avoid updating skeletons (which we don't support), check visibility on a per unit basis and finally updated the vertex buffer.
|
|
virtual void | Ogre::InstanceBatchHW_VTF::_updateRenderQueue (RenderQueue *queue) |
| Overloaded to visibility on a per unit basis and finally updated the vertex texture.
|
|
void | Ogre::BaseInstanceBatchVTF::_updateRenderQueue (RenderQueue *queue) |
| Overloaded to be able to updated the vertex texture.
|
|
void | Ogre::InstancedEntity::_updateRenderQueue (RenderQueue *queue) |
| Do nothing, InstanceBatch takes care of this.
|
|
virtual RenderOperation | Ogre::InstanceBatch::build (const SubMesh *baseSubMesh) |
| Constructs all the data needed to use this batch, as well as the InstanceEntities.
|
|
virtual void | Ogre::InstanceBatch::buildFrom (const SubMesh *baseSubMesh, const RenderOperation &renderOperation) |
| Instancing consumes significantly more GPU memory than regular rendering methods.
|
|
void | Ogre::InstanceBatchHW::buildFrom (const SubMesh *baseSubMesh, const RenderOperation &renderOperation) |
|
void | Ogre::InstanceBatchShader::buildFrom (const SubMesh *baseSubMesh, const RenderOperation &renderOperation) |
|
void | Ogre::BaseInstanceBatchVTF::buildFrom (const SubMesh *baseSubMesh, const RenderOperation &renderOperation) |
|
size_t | Ogre::InstanceBatchHW::calculateMaxNumInstances (const SubMesh *baseSubMesh, uint16 flags) const |
|
size_t | Ogre::InstanceBatchHW_VTF::calculateMaxNumInstances (const SubMesh *baseSubMesh, uint16 flags) const |
|
size_t | Ogre::InstanceBatchShader::calculateMaxNumInstances (const SubMesh *baseSubMesh, uint16 flags) const |
|
size_t | Ogre::InstanceBatchVTF::calculateMaxNumInstances (const SubMesh *baseSubMesh, uint16 flags) const |
|
virtual size_t | Ogre::InstanceBatch::calculateMaxNumInstances (const SubMesh *baseSubMesh, uint16 flags) const =0 |
| Some techniques have a limit on how many instances can be done.
|
|
void | Ogre::InstanceManager::cleanupEmptyBatches (void) |
| This function can be useful to improve CPU speed after having too many instances created, which where now removed, thus freeing many batches with zero used Instanced Entities However the batches aren't automatically removed from memory until the InstanceManager is destroyed, or this function is called.
|
|
InstancedEntity * | Ogre::InstanceBatch::createInstancedEntity () |
| Returns a pointer to a new InstancedEntity ready to use Note it's actually preallocated, so no memory allocation happens at this point.
|
|
InstancedEntity * | Ogre::InstanceManager::createInstancedEntity (const String &materialName) |
| Creates an InstancedEntity.
|
|
void | Ogre::InstanceManager::defragmentBatches (bool optimizeCulling) |
| After creating many entities (which turns in many batches) and then removing entities that are in the middle of these batches, there might be many batches with many free entities.
|
|
bool | Ogre::BaseInstanceBatchVTF::forceOneWeight () const |
|
AnimationStateSet * | Ogre::InstancedEntity::getAllAnimationStates (void) const |
|
AnimationState * | Ogre::InstancedEntity::getAnimationState (const String &name) const |
|
const AxisAlignedBox & | Ogre::InstanceBatch::getBoundingBox (void) const |
| Retrieves the local axis-aligned bounding box for this object.
|
|
const AxisAlignedBox & | Ogre::InstancedEntity::getBoundingBox (void) const |
| Retrieves the local axis-aligned bounding box for this object.
|
|
Real | Ogre::InstanceBatch::getBoundingRadius (void) const |
| Retrieves the radius of the origin-centered bounding sphere for this object.
|
|
Real | Ogre::InstancedEntity::getBoundingRadius (void) const |
| Retrieves the radius of the origin-centered bounding sphere for this object.
|
|
const Vector4 & | Ogre::InstancedEntity::getCustomParam (unsigned char idx) |
|
InstanceBatchIterator | Ogre::InstanceManager::getInstanceBatchIterator (const String &materialName) const |
| Get non-updateable iterator over instance batches for given material.
|
|
InstanceBatchMapIterator | Ogre::InstanceManager::getInstanceBatchMapIterator (void) const |
| Get non-updateable iterator over instance batches per material.
|
|
void | Ogre::InstanceBatch::getInstancedEntitiesInUse (InstancedEntityVec &outEntities, CustomParamsVec &outParams) |
| Fills the input vector with the instances that are currently being used or were requested.
|
|
InstancingTechnique | Ogre::InstanceManager::getInstancingTechnique () const |
|
const LightList & | Ogre::InstanceBatch::getLights (void) const |
| Gets a list of lights, ordered relative to how close they are to this renderable.
|
|
const MaterialPtr & | Ogre::InstanceBatch::getMaterial (void) const |
| Retrieves a weak reference to the material this renderable object uses.
|
|
virtual size_t | Ogre::BaseInstanceBatchVTF::getMaxLookupTableInstances () const |
|
size_t | Ogre::InstanceManager::getMaxOrBestNumInstancesPerBatch (const String &materialName, size_t suggestedSize, uint16 flags) |
| Calculates the maximum (or the best amount, depending on flags) of instances per batch given the suggested size for the technique this manager was created for.
|
|
Real | Ogre::InstancedEntity::getMaxScaleCoef () const |
| Returns the maximum derived scale coefficient among the xyz values.
|
|
const String & | Ogre::InstanceBatch::getMovableType (void) const |
| Returns the type name of this object.
|
|
const String & | Ogre::InstancedEntity::getMovableType (void) const |
| Returns the type name of this object.
|
|
const String & | Ogre::InstanceManager::getName () const |
|
unsigned char | Ogre::InstanceManager::getNumCustomParams () const |
|
unsigned short | Ogre::InstanceBatchHW::getNumWorldTransforms (void) const |
| Returns the number of world transform matrices this renderable requires.
|
|
unsigned short | Ogre::InstanceBatchShader::getNumWorldTransforms (void) const |
| Returns the number of world transform matrices this renderable requires.
|
|
unsigned short | Ogre::BaseInstanceBatchVTF::getNumWorldTransforms (void) const |
| Returns the number of world transform matrices this renderable requires.
|
|
const Quaternion & | Ogre::InstancedEntity::getOrientation () const |
| Retrieve the orientation.
|
|
const Vector3 & | Ogre::InstancedEntity::getPosition () const |
| Retrieve the position.
|
|
void | Ogre::InstanceBatch::getRenderOperation (RenderOperation &op) |
| Gets the render operation required to send this object to the frame buffer.
|
|
const Vector3 & | Ogre::InstancedEntity::getScale () const |
| Retrieve the local scale.
|
|
SceneManager * | Ogre::InstanceManager::getSceneManager () const |
|
bool | Ogre::InstanceManager::getSetting (BatchSettingId id, const String &materialName) const |
| If settings for the given material didn't exist, default value is returned.
|
|
SkeletonInstance * | Ogre::InstancedEntity::getSkeleton (void) const |
|
Real | Ogre::InstanceBatch::getSquaredViewDepth (const Camera *cam) const |
| Returns the camera-relative squared depth of this renderable.
|
|
Real | Ogre::InstancedEntity::getSquaredViewDepth (const Camera *cam) const |
| This is used by our batch owner to get the closest entity's depth, returns infinity when not attached to a scene node.
|
|
Technique * | Ogre::InstanceBatch::getTechnique (void) const |
| Retrieves a pointer to the Material Technique this renderable object uses.
|
|
void | Ogre::InstanceBatchHW::getWorldTransforms (Matrix4 *xform) const |
| Gets the world transform matrix / matrices for this renderable object.
|
|
void | Ogre::InstanceBatchShader::getWorldTransforms (Matrix4 *xform) const |
| Gets the world transform matrix / matrices for this renderable object.
|
|
void | Ogre::BaseInstanceBatchVTF::getWorldTransforms (Matrix4 *xform) const |
| Gets the world transform matrix / matrices for this renderable object.
|
|
bool | Ogre::InstanceManager::hasSettings (const String &materialName) const |
| Returns true if settings were already created for the given material name.
|
|
bool | Ogre::InstancedEntity::hasSkeleton (void) const |
|
bool | Ogre::InstanceBatch::isBatchFull (void) const |
|
bool | Ogre::InstanceBatch::isBatchUnused (void) const |
| Returns true if it no instanced entity has been requested or all of them have been removed.
|
|
virtual bool | Ogre::InstancedEntity::isInScene (void) const |
| Returns true if this object is attached to a SceneNode or TagPoint, and this SceneNode / TagPoint is currently in an active part of the scene graph.
|
|
bool | Ogre::InstancedEntity::isInUse () const |
| Tells if the entity is in use.
|
|
virtual bool | Ogre::InstanceBatch::isStatic () const |
| Returns true if this batch was set as static.
|
|
bool | Ogre::InstanceBatchHW::isStatic () const |
| Returns true if this batch was set as static.
|
|
bool | Ogre::InstanceBatchHW_VTF::isStatic () const |
| Returns true if this batch was set as static.
|
|
_OgreExport bool | Ogre::operator!= (const ShadowTextureConfig &lhs, const ShadowTextureConfig &rhs) |
|
_OgreExport bool | Ogre::operator== (const ShadowTextureConfig &lhs, const ShadowTextureConfig &rhs) |
|
void | Ogre::InstanceBatch::removeInstancedEntity (InstancedEntity *instancedEntity) |
| Removes an InstancedEntity from the scene retrieved with getNewInstancedEntity, putting back into a queue.
|
|
void | Ogre::InstanceManager::setBatchesAsStaticAndUpdate (bool bStatic) |
| Tells this batch to stop updating animations, positions, rotations, and display all it's active instances.
|
|
void | Ogre::BaseInstanceBatchVTF::setBoneDualQuaternions (bool enable) |
|
void | Ogre::BaseInstanceBatchVTF::setBoneMatrixLookup (bool enable, size_t maxLookupTableInstances) |
| Sets the state of the usage of bone matrix lookup.
|
|
void | Ogre::InstancedEntity::setCustomParam (unsigned char idx, const Vector4 &newParam) |
| Sets the custom parameter for this instance.
|
|
void | Ogre::BaseInstanceBatchVTF::setForceOneWeight (bool enable) |
|
void | Ogre::InstanceManager::setInstancesPerBatch (size_t instancesPerBatch) |
| Raises an exception if trying to change it after creating the first InstancedEntity.
|
|
void | Ogre::InstancedEntity::setInUse (bool used) |
| Sets whether the entity is in use.
|
|
void | Ogre::InstanceManager::setMaxLookupTableInstances (size_t maxLookupTableInstances) |
| Sets the size of the lookup table for techniques supporting bone lookup table.
|
|
void | Ogre::InstanceManager::setNumCustomParams (unsigned char numCustomParams) |
| Sets the number of custom parameters per instance.
|
|
void | Ogre::InstancedEntity::setOrientation (const Quaternion &orientation, bool doUpdate=true) |
| Set the orientation or the offset from the parent node if a parent node exists.
|
|
void | Ogre::InstancedEntity::setPosition (const Vector3 &position, bool doUpdate=true) |
| Set the position or the offset from the parent node if a parent node exists.
|
|
void | Ogre::InstancedEntity::setScale (const Vector3 &scale, bool doUpdate=true) |
| Set the scale or the offset from the parent node if a parent node exists
|
|
void | Ogre::InstanceManager::setSetting (BatchSettingId id, bool enabled, const String &materialName=BLANKSTRING) |
| Applies a setting for all batches using the same material_ existing ones and those that will be created in the future.
|
|
virtual void | Ogre::InstanceBatch::setStaticAndUpdate (bool bStatic) |
| Tells this batch to stop updating animations, positions, rotations, and display all it's active instances.
|
|
void | Ogre::InstanceBatchHW::setStaticAndUpdate (bool bStatic) |
|
void | Ogre::InstanceBatchHW_VTF::setStaticAndUpdate (bool bStatic) |
|
void | Ogre::InstancedEntity::setTransformLookupNumber (uint16 num) |
| Sets the transformation look up number.
|
|
void | Ogre::BaseInstanceBatchVTF::setUseOneWeight (bool enable) |
|
bool | Ogre::InstancedEntity::shareTransformWith (InstancedEntity *slave) |
| Shares the entire transformation with another InstancedEntity.
|
|
void | Ogre::InstancedEntity::stopSharingTransform () |
|
void | Ogre::InstancedEntity::updateTransforms () |
| Update the world transform and derived values.
|
|
bool | Ogre::BaseInstanceBatchVTF::useBoneDualQuaternions () const |
|
bool | Ogre::BaseInstanceBatchVTF::useBoneMatrixLookup () const |
| Tells whether to use bone matrix lookup.
|
|
virtual bool | Ogre::InstanceBatch::useBoneWorldMatrices () const |
| Tells whether world bone matrices need to be calculated.
|
|
virtual bool | Ogre::BaseInstanceBatchVTF::useBoneWorldMatrices () const |
|
bool | Ogre::BaseInstanceBatchVTF::useOneWeight () const |
|
void | Ogre::InstanceBatch::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.
|
|
void | Ogre::InstancedEntity::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.
|
|