IDirect3DRMMesh::SetVertices

HRESULT SetVertices(D3DRMGROUPINDEX id, unsigned index,

unsigned count, D3DRMVERTEX *values);

Sets the vertex positions for a specified group in a Direct3DRMMesh object.

·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

id

Identifier of the group. This identifier must have been produced by using the IDirect3DRMMesh::AddGroup method.

index

Index into the array specified in the values parameter at which to begin setting vertex positions.

count

Number of vertices to set following the index given in the index parameter.

values

Array of D3DRMVERTEX structures specifying the vertex positions to be set.