RenderToEnvironmentMap.OnLostDevice() Method (Microsoft.DirectX.Direct3D)
Releases all references to video memory resources and deletes all state blocks.
Definition
Visual Basic Public Sub OnLostDevice() C# public void OnLostDevice(); C++ public:
void OnLostDevice();JScript public function OnLostDevice();
Remarks
This method should be called whenever a device is lost. Before the object can be used again, the device must be reset and the RenderToEnvironmentMap.OnResetDevice method called.