D3DVERTEXTYPE

The D3DVERTEXTYPE enumerated type lists the vertex types that are supported by the legacy IDirect3DDevice2 and IDirect3DDevice interfaces. If your application uses IDirect3DDevice3, 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; 
 

Members

D3DVT_VERTEX
All the vertices in the array are of the D3DVERTEX type. This setting will cause 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 will have transformations applied during rendering.
D3DVT_TLVERTEX
All the vertices in the array are of the D3DTLVERTEX type. Rasterization only will be applied to this data.
D3DVT_FORCE_DWORD
Forces this enumerated type to be 32 bits in size.

QuickInfo

  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.
  Header: Declared in d3dtypes.h.

See Also

Vertex Formats