?/TD>
Microsoft DirectX 9.0

ID3DXRenderToEnvMap::OnLostDevice Method


Releases all references to video memory resources and deletes all stateblocks.

Syntax

HRESULT OnLostDevice(VOID);

Return Value

This method returns S_OK.



Remarks

This method should be called whenever the device is lost. Before this object can be used again, the device must be reset and the ID3DXRenderToEnvMap::OnResetDevice method called.



© 2002 Microsoft Corporation. All rights reserved.