DirectX SDK

Direct3DVertexBuffer7.GetVertices

The Direct3DVertexBuffer7.GetVertices method returns the vertices in the vertex buffer.

object.GetVertices(startIndex As Long, _
    count As Long, _
    verts As Any)

Parameters

object
Object expression that resolves to a Direct3DVertexBuffer7 object.
startIndex
Starting index within the vertex buffer at which vertices will be retrieved.
count
Number of vertices to be retrieved.
verts
First element of an array that will be filled with the retrieved vertices.

Error Codes

If the method fails, an error is raised and Err.Number will be set.