Share via


GraphicsDeviceCreationParameters Constructor

Initializes a new instance of the GraphicsDeviceCreationParameters class.

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

Syntax

public GraphicsDeviceCreationParameters (
         GraphicsAdapter graphicsAdapter,
         DeviceType deviceType,
         IntPtr windowHandle,
         CreateOptions createOptions
)

Parameters

  • graphicsAdapter
    The display adapter.
  • deviceType
    The emulated functionality for this device.
  • windowHandle
    Window handle to which focus belongs for this Direct3D device.
  • createOptions
    Combination of one or more options that control the global behavior of the device.

See Also

Reference

GraphicsDeviceCreationParameters Structure
GraphicsDeviceCreationParameters Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista