IDirect3DRMMeshBuilder2::AddFrame

Adds the contents of a frame to a Direct3DRMMeshBuilder2 object.

HRESULT AddFrame(
LPDIRECT3DRMFRAME lpD3DRMFrame
);

Parameters

lpD3DRMFrame

Address of the frame whose contents are being added.

Return Values

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

Remarks

The source frame is not modified or referenced by this operation.