IDirect3DRMFace::SetMaterial

Sets the material of a Direct3DRMFace object.

HRESULT SetMaterial(
LPDIRECT3DRMMATERIAL lpD3DRMMaterial
);

Parameters

lpD3DRMMaterial

Address of the material.

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

IDirect3DRMFace::GetMaterial