Microsoft DirectX 8.1 (Visual Basic)

D3DX8.DeclaratorFromFVF

Returns a declarator from a flexible vertex format (FVF) code.

object.DeclaratorFromFVF( _ 
    FVF As Long, _ 
    Declarator As D3DXDECLARATOR)

Parts

object
Object expression that resolves to a D3DX8 object.
FVF
Combination of flexible vertex format flags that describes the FVF from which to generate the returned declarator.
Declarator
A D3DXDECLARATOR type, describing the returned declarator.

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.

See Also

D3DX8.FVFFromDeclarator