Bagikan melalui


GraphicsDeviceManager.CanResetDevice Method

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

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