C3DMesh::GetVertexFormat

Top  Previous  Next

Syntax:

 

GetVertexFormat(), UINT

 

Purpose:

Returns the flexible vertex format (FVF) of the mesh.

 

Parameters:

None.

 

Returned value(s):

The vertex format of the mesh.

 

Application:

fvf = myMesh.GetVertexFormat()
IF fvf & D3DFVF_NORMAL = 0
     CreateNormals(myMesh)
ENDIF 

 

Class Hierarchy

C3DObject

-------C3DMesh

 

See Also:

Vertex format constants.