Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 Effect.OnResetDevice method called.
Exceptions
The method call is invalid. For example, a method's parameter might contain an invalid value.