DirectX SDK

D3DVERTEX

The D3DVERTEX structure defines an untransformed and unlit vertex (model coordinates with normal direction vector).

typedef struct _D3DVERTEX { 
    union { 
        D3DVALUE x; 
        D3DVALUE dvX; 
    }; 
    union { 
        D3DVALUE y; 
        D3DVALUE dvY; 
    }; 
    union { 
        D3DVALUE z; 
        D3DVALUE dvZ; 
    }; 
    union { 
        D3DVALUE nx; 
        D3DVALUE dvNX; 
    }; 
    union { 
        D3DVALUE ny; 
        D3DVALUE dvNY; 
    }; 
    union { 
        D3DVALUE nz; 
        D3DVALUE dvNZ; 
    }; 
    union { 
        D3DVALUE tu; 
        D3DVALUE dvTU; 
    }; 
    union { 
        D3DVALUE tv; 
        D3DVALUE dvTV; 
    }; 
} D3DVERTEX, *LPD3DVERTEX; 

Members

dvX, dvY, and dvZ
Values of the D3DVALUE type describing the homogeneous coordinates of the vertex.
dvNX, dvNY, and dvNZ
Values of the D3DVALUE type describing the normal coordinates of the vertex.
dvTU and dvTV
Values of the D3DVALUE type describing the texture coordinates of the vertex.

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.
  Windows CE: Unsupported.
  Version: Requires DirectX 2.0 or later.
  Header: Declared in d3dtypes.h.

See Also

D3DLVERTEX, D3DTLVERTEX, D3DVALUE