D3DXPATCHMESHTYPE enumeration

Mesh patch types.

Syntax

typedef enum D3DXPATCHMESHTYPE { 
  D3DXPATCHMESH_RECT         = 0x001,
  D3DXPATCHMESH_TRI          = 0x002,
  D3DXPATCHMESH_NPATCH       = 0x003,
  D3DXPATCHMESH_FORCE_DWORD  = 0x7fffffff
} D3DXPATCHMESHTYPE, *LPD3DXPATCHMESHTYPE;

Constants

D3DXPATCHMESH_RECT

Rectangle patch mesh type.

D3DXPATCHMESH_TRI

Triangle patch mesh type.

D3DXPATCHMESH_NPATCH

N-patch mesh type.

D3DXPATCHMESH_FORCE_DWORD

Forces this enumeration to compile to 32 bits in size. Without this value, some compilers would allow this enumeration to compile to a size other than 32 bits. This value is not used.

Remarks

Triangle patches have three sides and are described in D3DTRIPATCH_INFO. Rectangle patches are four-sided and are described in D3DRECTPATCH_INFO.

Requirements

Requirement Value
Header
D3dx9mesh.h

See also

D3DX Enumerations

Using Higher-Order Primitives (Direct3D 9)