RenderToSurface.OnLostDevice Method |
Language: |
Releases all references to video memory resources and deletes all state blocks.
Visual Basic Public Sub OnLostDevice() C# public void OnLostDevice(); C++ public:
void OnLostDevice();JScript public function OnLostDevice();
This method should be called whenever the device is lost. Before the object can be used again, the device must be reset and the RenderToSurface.OnResetDevice method called.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center