Microsoft DirectX 9.0 SDK Update (October 2004)

RenderToEnvironmentMap.OnLostDevice Method

Language:

Note: This documentation is preliminary and is subject to change.

Releases all references to video memory resources and deletes all state blocks.

Definition

Visual Basic .NET Public Sub OnLostDevice()
C# public void OnLostDevice();
Managed C++ public: void OnLostDevice();
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center