Microsoft DirectX 8.1 (Visual Basic)

Direct3DVertexBuffer8.GetDesc

Retrieves a description of the vertex buffer resource.

object.GetDesc( _ 
    Desc As D3DVERTEXBUFFER_DESC)

Parts

object
Object expression that resolves to a Direct3DVertexBuffer8 object.
Desc
A D3DVERTEXBUFFER_DESC type, describing the returned vertex buffer.

Error Codes

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

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