IDirect3DRMFrame2::SetMaterial

Sets the material of the Direct3DRMFrame2 object.

HRESULT SetMaterial(
LPDIRECT3DRMMATERIAL *lplpMaterial
);

Parameters

lplpMaterial

Address of the Direct3DRMMaterial object that will be applied to the frame.

Return Values

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

See Also

IDirect3DRMFrame2::GetMaterial