IDirect3DRMFace::AddVertex

Adds a vertex to a Direct3DRMFace object.

HRESULT AddVertex(
D3DVALUE x,
D3DVALUE y,
D3DVALUE z
);

Parameters

x, y, and z

The x, y, and z components of the position of the new vertex.

Return Values

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