D3DTLVERTEX Constructors

The D3D_OVERLOADS constructors for the D3DTLVERTEX structure offer a convenient way for C++ programmers to create transformed and lit vertices.

_D3DTLVERTEX() { }
_D3DTLVERTEX(const D3DVECTOR& v, float _rhw,
             D3DCOLOR _color, D3DCOLOR _specular,
             float _tu, float _tv)
    { sx = v.x; sy = v.y; sz = v.z; rhw = _rhw;
      color = _color; specular = _specular;
      tu = _tu; tv = _tv;
    }