| ?/TD> |
| Microsoft DirectX 9.0 |
Encapsulates a mesh object in a transformation frame hierarchy.
Syntax
typedef struct _D3DXMESHCONTAINER {
LPTSTR Name;
D3DXMESHDATA MeshData;
LPD3DXMATERIAL pMaterials;
LPD3DXEFFECTINSTANCE pEffects;
DWORD NumMaterials;
DWORD *pAdjacency;
LPD3DXSKININFO pSkinInfo;
struct _D3DXMESHCONTAINER *pNextMeshContainer;
} D3DXMESHCONTAINER, *LPD3DXMESHCONTAINER;Members
- Name
- Mesh name.
- MeshData
- Type of data in the mesh. See D3DXMESHDATA.
- pMaterials
- Array of mesh materials. See D3DXMATERIAL.
- pEffects
- Pointer to the effect interface. See D3DXEFFECTINSTANCE.
- NumMaterials
- Number of materials in the mesh.
- pAdjacency
- Pointer to an array of three DWORDs per triangle of the mesh that contains adjacency information.
- pSkinInfo
- Pointer to the skin information interface. See ID3DXSkinInfo.
- pNextMeshContainer
- Pointer to the next mesh container.
Remarks
An application can derive from this structure to add other data.
Structure Information
Header d3dx9anim.h Minimum operating systems Windows 98