D3DVERTEXTYPE

The D3DVERTEXTYPE enumerated type lists the vertex types that are supported by Direct3D.

typedef enum _D3DVERTEXTYPE { 
    D3DVT_VERTEX       = 1, 
    D3DVT_LVERTEX      = 2, 
    D3DVT_TLVERTEX     = 3 
    D3DVT_FORCE_DWORD  = 0x7fffffff, 
}; 
 

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: Use version 4.0 or later.
  Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in d3dtypes.h.

See Also

IDirect3DDevice2::Begin, IDirect3DDevice2::BeginIndexed, IDirect3DDevice2::DrawIndexedPrimitive, IDirect3DDevice2::DrawPrimitive