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 the device is lost. Before the object can be used again, the device must be reset and the Sprite.OnResetDevice method called.