Public Methods | 
|   | CGXModel () | 
| virtual  | ~CGXModel () | 
| virtual bool  | AddAnimation (CGXKeyframeTemplate< SGXAnimationKeyFrame > *pAnimations) | 
| virtual bool  | LoadFromStream (CGXDeviceContainer *pDevice, IStream *pStream) | 
| virtual bool  | LoadFromData (CGXDeviceContainer *pDevice, GXVertex *pVerts, UINT *pIndices, DWORD dwVertCount, DWORD dwIndexCount, char **ppTextureNames, UINT uBoneCount, CGXBone *pBones, float fDesiredSize) | 
| virtual bool  | WriteToStream (IStream *pStream) | 
| virtual bool  | LoadFromD3DXMesh (ID3DXMesh *pMesh, float fDesiredSize) | 
| virtual bool  | DrawPrimitive (SRenderCall &RenderInfo, UINT uVertexStream, UINT uTextureStream, UINT uStartBoneConstant, D3DXMATRIX *pViewProj, UINT uViewProjIndex, D3DXMATRIX *pOptionalWorldMat=NULL) | 
| virtual UINT  | GetVertexCount () | 
| virtual UINT  | GetIndexCount () | 
| virtual UINT  | GetFaceCount () | 
| virtual UINT  | GetBoneCount () | 
| virtual UINT  | GetAnimationCount () | 
| IDirect3DTexture8 *  | GetTexture (UINT uIndex) | 
| bool  | ReadyToRender () | 
| float  | GetDiffuseFactor () | 
| float  | GetSpecularCooef () | 
| void  | SetDiffuseFactor (float fFactor) | 
| void  | SetSpecularCooef (float fNewCooef) | 
 Protected Methods | 
| virtual void  | Cleanup () | 
| virtual DWORD  | GetOptions (CGXDeviceContainer *pDevice) | 
 Protected Attributes | 
| ID3DXPMesh *  | m_pMesh | 
| CGXDeviceContainer *  | m_pDevice | 
| CGXSkeleton  | m_Skeleton | 
| IDirect3DTexture8 *  | m_rgpTextures [TEXTURE_MAP_COUNT] | 
| float  | m_fBoundingSphereRadius | 
| float  | m_fDiffuseFactor | 
| float  | m_fSpecularCooef |