Public Types | |
typedef std::map< std::string, osg::ref_ptr< osg::Texture2D > > | Name2Texture |
Public Member Functions | |
SubMeshHardware () | |
SubMeshHardware (CalModel *model, int mesh) | |
osg::Object * | cloneType () const |
bool | update (void) |
void | InitHardwareMesh (CalIndex *idx, int nbIdxs, osg::VertexProgram *vp3, CalHardwareModel *hardwareModel, unsigned int *vbo, unsigned int idxVbo) |
void | drawImplementation (osg::State &state) const |
bool | computeBound () const |
osg::Object * | clone (const osg::CopyOp &) const |
const std::string & | getName (void) const |
void | setName (const std::string &name) |
const std::string & | getMaterialName (void) |
void | setMaterialName (const std::string &materialName) |
Public Attributes | |
osg::VertexProgram * | mVp |
int | mMeshId |
osg::BoundingBox | _staticbbox |
Protected Member Functions | |
~SubMeshHardware () |
|
|
|
|
|
|
|
Creates a submesh for one model given the mesh and submesh of this mesh |
|
|
|
|
|
|
|
|
|
|
|
|
|
Init class for hardware skinning |
|
|
|
|
|
|
|
|
|
|
|
|