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.
Determines whether the given GraphicsDeviceInformation is compatible with the existing graphics device.
Syntax
'Declaration
Protected Overridable Function CanResetDevice ( _
newDeviceInfo As GraphicsDeviceInformation _
) As Boolean
protected virtual bool CanResetDevice (
GraphicsDeviceInformation newDeviceInfo
)
protected:
virtual bool CanResetDevice(
GraphicsDeviceInformation newDeviceInfo
)
Parameters
- newDeviceInfo
Type: GraphicsDeviceInformation
Information describing the desired device configuration.
Return Value
Type: Boolean
true if a device reset can be used to get a device compatible with the GraphicsDeviceInformation; false otherwise.
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