D3DLVERTEX

typedef struct _D3DLVERTEX {

union {

D3DVALUE x;

D3DVALUE dvX;

};

union {

D3DVALUE y;

D3DVALUE dvY;

};

union {

D3DVALUE z;

D3DVALUE dvZ;

};

DWORD dwReserved;

union {

D3DCOLOR color;

D3DCOLOR dcColor;

};

union {

D3DCOLOR specular;

D3DCOLOR dcSpecular;

};

union {

D3DVALUE tu;

D3DVALUE dvTU;

};

union {

D3DVALUE tv;

D3DVALUE dvTV;

};

} D3DLVERTEX, *LPD3DLVERTEX;

Defines an untransformed and lit vertex (model coordinates with color). Applications should use this structure if the hardware handles vertex transformations. This structure contains only data and a color that would be filled by software lighting.

dvX, dvY, and dvZ

Values of the D3DVALUE type specifying the homogeneous coordinates of the vertex.

dwReserved

Reserved; must be zero.

dcColor and dcSpecular

Values of the D3DCOLOR type specifying the color and specular component of the vertex.

dvTU and dvTV

Values of the D3DVALUE type specifying the texture coordinates of the vertex.