Flexible Vertex Format constants

Top  Previous  Next

Constants used to describe mesh vertex formats.

 

Constant

Description

D3DFVF_DIFFUSE

Vertex format includes a diffuse color component.

D3DFVF_LASTBETA_UBYTE4

The description goes here

D3DFVF_NORMAL

Vertex format includes a vertex normal vector. This flag cannot be used with the D3DFVF_XYZRHW flag.

D3DFVF_PSIZE

Vertex format specified in point size. This size is expressed in camera space units for vertices that are not transformed and lit, and in device-space units for transformed and lit vertices.

D3DFVF_SPECULAR

Vertex format includes a specular color component.

D3DFVF_TEX0 - D3DFVF_TEX8

Number of texture coordinate sets for this vertex.

D3DFVF_XYZ

Vertex format includes the position of an untransformed vertex. This flag cannot be used with the D3DFVF_XYZRHW flag.

D3DFVF_XYZB1 -   D3DFVF_XYZB5

Vertex format contains position data, and a corresponding number of weighting (beta) values to use for multimatrix vertex blending operations.

D3DFVF_XYZRHW

Vertex format contains transformed and clipped (x, y, z, w) data.