Sdílet prostřednictvím


DeviceType Enumeration

Specifies the type of device driver.

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

Syntax

public enum DeviceType

Members

  Member name Description
Hardware A hardware device. Using the flag to get direct access to the video hardware.
NullReference A null device. This is a reference device that can do everything except render a scene.
Reference A reference device. Use this flag to create a software emulated device.

See Also

Tasks

How to: Use the Reference Device

Reference

GraphicsAdapter.CheckDepthStencilMatch Method
GraphicsAdapter.CheckDeviceFormat Method
GraphicsAdapter.CheckDeviceFormatConversion Method
GraphicsAdapter.CheckDeviceMultiSampleType Method
GraphicsAdapter.CheckDeviceType Method
GraphicsAdapter.GetCapabilities Method
GraphicsAdapter.IsDeviceTypeAvailable Method
GraphicsDevice Constructor
GraphicsDeviceCapabilities.DeviceType Property
GraphicsDeviceCreationParameters Constructor
GraphicsDeviceCreationParameters.DeviceType Property
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista