D3DXMESHDATA structure

Mesh data structure.

Syntax

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

Members

Type

Type: D3DXMESHDATATYPE

Defines the mesh data type. See D3DXMESHDATATYPE.

pMesh

Type: LPD3DXMESH

Pointer to a mesh. See ID3DXMesh.

pPatchMesh

Type: LPD3DXPATCHMESH

Pointer to a patch mesh. See ID3DXPatchMesh.

Requirements

Requirement Value
Header
D3dx9anim.h

See also

D3DX Structures

D3DXMESHCONTAINER