Platform SDK: DirectX

D3DLVERTEX

The D3DLVERTEX type defines an untransformed and lit vertex (model coordinates with color). An application should use this type when the vertex transformations will be handled by Direct3D. This type contains only data and a color that would be filled by software lighting.

Type D3DLVERTEX
    color As Long
    specular As Long
    tu As Single
    tv As Single
    x As Single
    y As Single
    z As Single
End Type

Members

color and specular
Values specifying the color and specular component of the vertex.
tu and tv
Values specifying the texture coordinates of the vertex.
x, y, and z
Values specifying the model coordinates of the vertex.

Remarks

If D3DRENDERSTATE_SPECULARENABLE is True, the specular component will be added to the base color after the texture cascade but before alpha blending. However, with DirectX 7.0, you can assign the specular component to be applied during texture color processing by setting the D3DTA_SPECULAR flag. For more information, see Texture Argument Flags.

See Also

D3DTLVERTEX, D3DVERTEX