Microsoft DirectX 8.0 (Visual Basic)

D3DVERTEX2

Defines an untransformed and unlit vertex (model coordinates with normal direction vector) with two sets of texture coordinates.

Type D3DVERTEX2
    nx As Single
    ny As Single
    nz As Single
    tu1 As Single
    tu2 As Single
    tv1 As Single
    tv2 As Single
    x As Single
    y As Single
    z As Single
End Type

Members

nx, ny, and nz
Values describing the normal coordinates of the vertex.
tu1 and tv1
Values describing the first set of texture coordinates of the vertex.
tu2 and tv2
Values describing the second set of texture coordinates of the vertex.
x, y, and z
Values describing the homogeneous coordinates of the vertex.

Remarks

D3DVERTEX2 is provided as a convenience, since many multitexture operations require two sets of texture coordinates.

See Also

D3DVERTEX, D3DTLVERTEX, D3DTLVERTEX2