Platform SDK: DirectX

D3DVERTEX Constructors

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

_D3DVERTEX() { }
_D3DVERTEX(const D3DVECTOR& v, const D3DVECTOR& n, float _tu, float _tv)
    { x = v.x; y = v.y; z = v.z;
      nx = n.x; ny = n.y; nz = n.z;
      tu = _tu; tv = _tv;
    }

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Version: Requires DirectX 5.0 or later.
  Header: Declared in d3d.h.