GraphicsDeviceManager.CanResetDevice Method
Determines whether the given GraphicsDeviceInformation is compatible with the existing graphics device.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.dll)
Syntax
protected virtual bool CanResetDevice (
GraphicsDeviceInformation newDeviceInfo
)
Parameters
- newDeviceInfo
Information describing the desired device configuration.
Return Value
true if a device reset can be used to get a device compatible with the GraphicsDeviceInformation; false otherwise.
See Also
Reference
GraphicsDeviceManager Class
GraphicsDeviceManager Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista