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 );
HardwareVertexBufferSharedPtr mInstanceVertexBuffer
Instancing implementation using vertex texture through Vertex Texture Fetch (VTF) and hardware instan...
bool isStatic() const
Returns true if this batch was set as static.
Summary class collecting together vertex source information.
Class to manage the scene object rendering queue.
Defines a part of a complete mesh.
Shared pointer implementation used to share vertex buffers.
This is the main starting point for the new instancing system.
A viewpoint from which the scene will be rendered.
vector< uint8 >::type HWBoneIdxVec
Instancing implementation using vertex texture through Vertex Texture Fetch (VTF) This implementation...
virtual bool matricesTogetherPerRow() const
Affects VTF texture's width dimension.
vector< unsigned short >::type IndexMap