DirectX SDK

Direct3DVertexBuffer7.GetVertexBufferDesc

The Direct3DVertexBuffer7.GetVertexBufferDesc method retrieves a description of the vertex buffer.

object.GetVertexBufferDesc(desc As D3DVERTEXBUFFERDESC)

Parameters

object
Object expression that resolves to a Direct3DVertexBuffer7 object.
desc
A D3DVERTEXBUFFERDESC type that will be filled with a description of the vertex buffer.

Error Codes

If the method fails, an error is raised and Err.Number may be DDERR_INVALIDPARAMS or another error code.