Namespaces | Functions | Variables

OgreInstanceBatchHW_VTF.h File Reference

#include "OgreInstanceBatchVTF.h"
#include "OgreTexture.h"

Go to the source code of this file.

Namespaces

namespace  Ogre

Functions

void Ogre::setupVertices (const SubMesh *baseSubMesh)
void Ogre::setupIndices (const SubMesh *baseSubMesh)
void Ogre::createVertexSemantics (VertexData *thisVertexData, VertexData *baseVertexData, const HWBoneIdxVec &hwBoneIdx, const HWBoneWgtVec &hwBoneWgt)
 Creates 2 TEXCOORD semantics that will be used to sample the vertex texture.
virtual size_t Ogre::updateInstanceDataBuffer (bool isFirstTime, Camera *currentCamera)
 updates the vertex buffer containing the per instance data
virtual bool Ogre::checkSubMeshCompatibility (const SubMesh *baseSubMesh)
size_t Ogre::updateVertexTexture (Camera *currentCamera)
 Keeps filling the VTF with world matrix data.
virtual bool Ogre::matricesToghetherPerRow () const
 Ogre::InstanceBatchHW_VTF (InstanceManager *creator, MeshPtr &meshReference, const MaterialPtr &material, size_t instancesPerBatch, const Mesh::IndexMap *indexToBoneMap, const String &batchName)
virtual Ogre::~InstanceBatchHW_VTF ()
size_t Ogre::calculateMaxNumInstances (const SubMesh *baseSubMesh, uint16 flags) const
void Ogre::_boundsDirty (void)
void Ogre::setStaticAndUpdate (bool bStatic)
bool Ogre::isStatic () const
virtual void Ogre::_updateRenderQueue (RenderQueue *queue)
 Overloaded to visibility on a per unit basis and finally updated the vertex texture.

Variables

HardwareVertexBufferSharedPtr Ogre::mInstanceVertexBuffer

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Mar 12 2012 08:02:01