Platform SDK: DirectX

D3DVERTEXTYPE

The D3DVERTEXTYPE enumerated type lists the vertex types that are supported by the legacy IDirect3DDevice3, IDirect3DDevice2, and IDirect3DDevice interfaces. If your application uses interfaces later than IDirect3DDevice3, such as IDirect3DDevice7, the D3DVERTEXTYPE enumerated type is superseded by flexible vertex format flags.

typedef enum _D3DVERTEXTYPE { 
    D3DVT_VERTEX       = 1, 
    D3DVT_LVERTEX      = 2, 
    D3DVT_TLVERTEX     = 3 
    D3DVT_FORCE_DWORD  = 0x7fffffff, 
} D3DVERTEXTYPE; 
D3DVT_VERTEX
All the vertices in the array are of the D3DVERTEX type. This setting causes transformation, lighting, and clipping to be applied to the primitive as it is rendered.
D3DVT_LVERTEX
All the vertices in the array are of the D3DLVERTEX type. When used with this option, the primitive has transformations applied during rendering.
D3DVT_TLVERTEX
All the vertices in the array are of the D3DTLVERTEX type. Rasterization is applied only to this data.
D3DVT_FORCE_DWORD
Forces this enumeration to compile to 32 bits in size. This value is not used.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 SP3 or later.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Version: Requires DirectX 2.0 or later.
  Header: Declared in d3dtypes.h.

See Also

Vertex Formats