Microsoft DirectX 8.1 (Visual Basic)

D3DXSkinMesh.GetDeclaration

Retrieves a declaration describing the vertices in the mesh.

object.GetDeclaration( _ 
    Declaration As Long)

Parameters

object
Object expression that resolves to a D3DXSkinMesh object.
Declaration
A returned array describing the vertex format of the vertices in the queried mesh. The upper limit of this declarator array is MAX_FVF_DECL_SIZE, limiting the declarator to a maximum of 20 Longs.

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

D3DXSkinMesh.GetFVF