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

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15