D3DXMESHCONTAINER

Encapsulates a mesh object in a transformation frame hierarchy.

typedef struct D3DXMESHCONTAINER {
    LPSTR Name;
    D3DXMESHDATA MeshData;
    LPD3DXMATERIAL pMaterials;
    LPD3DXEFFECTINSTANCE pEffects;
    DWORD NumMaterials;
    DWORD * pAdjacency;
    LPD3DXSKININFO pSkinInfo;
    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 a set of default effect parameters. 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.