Share via


GraphicsAdapter.IsDeviceTypeAvailable Method

Determines whether a requested device type is available.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public bool IsDeviceTypeAvailable (
         DeviceType deviceType
)

Parameters

  • deviceType
    The device type to request.

Return Value

true if the requested device type is available; false otherwise.

See Also

Reference

GraphicsAdapter Class
GraphicsAdapter Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista