![]() |
![]() |
![]() |
Mesh patch types.
Syntax
typedef enum _D3DXPATCHMESHTYPE { D3DXPATCHMESH_RECT = 0x001, D3DXPATCHMESH_TRI = 0x002, D3DXPATCHMESH_NPATCH = 0x003, D3DXPATCHMESH_FORCE_DWORD = 0x7fffffff } D3DXPATCHMESHTYPE;
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. 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.
Enumerated Type Information
Header d3dx9mesh.h Minimum operating systems Windows 98
See Also
Using Higher-Order Primitives