Microsoft DirectX 8.1 (Visual Basic) |
Returns a flexible vertex format (FVF) code from a declarator.
object.FVFFromDeclarator( _ Declarator As D3DXDECLARATOR) As Long
Long value, representing the returned combination of flexible vertex format flags that describes the vertex format returned from the declarator.
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.
Note This function fails for any declarator that does not map directly to an FVF.