GraphicsDevice.GraphicsDevice Method (Microsoft.Xna.Framework.Graphics)
Initializes a new instance of the GraphicsDevice class.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
- C#
- VB
- F#
public GraphicsDevice( GraphicsAdapter adapter, GraphicsProfile graphicsProfile, PresentationParameters presentationParameters )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- adapter
-
Type: Microsoft.Xna.Framework.Graphics.GraphicsAdapter
The graphics adapter.
- graphicsProfile
-
Type: Microsoft.Xna.Framework.Graphics.GraphicsProfile
The graphics profile.
- presentationParameters
-
Type: Microsoft.Xna.Framework.Graphics.PresentationParameters
The presentation options.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web