Microsoft DirectX 8.1 (Visual Basic)

Direct3DIndexBuffer8.GetDesc

Retrieves a description of the index buffer resource.

object.GetDesc( _ 
    Desc As D3DINDEXBUFFER_DESC)

Parts

object
Object expression that resolves to a Direct3DIndexBuffer8 object.
Desc
A D3DINDEXBUFFER_DESC type, describing the returned index 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.