D3DXMESHDATA

Mesh data structure.

typedef struct D3DXMESHDATA {
    D3DXMESHDATATYPE Type;
    union {
        LPD3DXMESH pMesh;
        LPD3DXPMESH pPMesh;
        LPD3DXPATCHMESH pPatchMesh;
    };
} D3DXMESHDATA, *LPD3DXMESHDATA;

Members

Type
Defines the mesh data type. See D3DXMESHDATATYPE.
pMesh
Pointer to a mesh. See ID3DXMesh.
pPMesh
Pointer to a progressive mesh. See ID3DXPMesh.
pPatchMesh
Pointer to a patch mesh. See ID3DXPatchMesh.

Requirements

Header: Declared in D3dx9mesh.h.

See Also

D3DXMESHCONTAINER