Microsoft DirectX 8.1 (Visual Basic)

D3DX8.GetFVFVertexSize

Returns the size of a vertex for a flexible vertex format.

object.GetFVFVertexSize( _ 
    FVF As Long) As Long

Parts

object
Object expression that resolves to a D3DX8 object.
FVF
Flexible vertex format to be queried. A combination of flexible vertex format flags.

Return Values

The flexible vertex format vertex size, in bytes.

Error Codes

If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL.

For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.