GraphicsDeviceManager.OnDeviceReset Method
Called when the device has been reset. Raises the DeviceReset event.
Syntax
'Declaration
Protected Overridable Sub OnDeviceReset ( _
sender As Object, _
args As EventArgs _
)
protected virtual void OnDeviceReset (
Object sender,
EventArgs args
)
protected:
virtual void OnDeviceReset(
Object sender,
EventArgs args
)
Parameters
- sender
Type: Object
The GraphicsDeviceManager. - args
Type: EventArgs
Arguments for the DeviceReset event.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
GraphicsDeviceManager Class
GraphicsDeviceManager Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone