28 #ifndef __InstanceBatchHW_VTF_H__
29 #define __InstanceBatchHW_VTF_H__
68 void setupVertices(
const SubMesh* baseSubMesh );
69 void setupIndices(
const SubMesh* baseSubMesh );
73 const HWBoneIdxVec &hwBoneIdx,
const HWBoneWgtVec& hwBoneWgt );
80 virtual size_t updateInstanceDataBuffer(
bool isFirstTime,
Camera* currentCamera);
83 virtual bool checkSubMeshCompatibility(
const SubMesh* baseSubMesh );
88 size_t updateVertexTexture(
Camera *currentCamera );
97 size_t calculateMaxNumInstances(
const SubMesh *baseSubMesh,
uint16 flags )
const;
100 void _boundsDirty(
void);
103 void setStaticAndUpdate(
bool bStatic );
108 virtual void _updateRenderQueue(
RenderQueue* queue );
A viewpoint from which the scene will be rendered.
HardwareVertexBufferSharedPtr mInstanceVertexBuffer
vector< unsigned short >::type IndexMap
vector< uint8 >::type HWBoneIdxVec
Shared pointer implementation used to share index buffers.
virtual bool matricesToghetherPerRow() const
Affects VTF texture's width dimension.
Defines a part of a complete mesh.
Summary class collecting together vertex source information.
bool isStatic() const
Returns true if this batch was set as static.
Instancing implementation using vertex texture through Vertex Texture Fetch (VTF) This implementation...
Class to manage the scene object rendering queue.
This is the main starting point for the new instancing system.
Specialisation of SharedPtr to allow SharedPtr to be assigned to MaterialPtr.
Specialisation of SharedPtr to allow SharedPtr to be assigned to MeshPtr.
Instancing implementation using vertex texture through Vertex Texture Fetch (VTF) and hardware instan...