typedef struct _D3DTLVERTEX {
union {
D3DVALUE sx;
D3DVALUE dvSX;
};
union {
D3DVALUE sy;
D3DVALUE dvSY;
};
union {
D3DVALUE sz;
D3DVALUE dvSZ;
};
union {
D3DVALUE rhw;
D3DVALUE dvRHW;
};
union {
D3DCOLOR color;
D3DCOLOR dcColor;
};
union {
D3DCOLOR specular;
D3DCOLOR dcSpecular;
};
union {
D3DVALUE tu;
D3DVALUE dvTU;
};
union {
D3DVALUE tv;
D3DVALUE dvTV;
};
} D3DTLVERTEX, *LPD3DTLVERTEX;
Defines a transformed and lit vertex (screen coordinates with color) for the D3DLIGHTDATA structure.
Values of the D3DVALUE type describing a vertex in screen coordinates.
Value of the D3DVALUE type that is the reciprocal of homogeneous w. This value is 1 divided by the distance from the origin to the object along the z-axis.
Values of the D3DCOLOR type describing the color and specular component of the vertex.
Values of the D3DVALUE type describing the texture coordinates of the vertex.