forked from MonoGame/MonoGame
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPreparingDeviceSettingsEventArgs.cs
More file actions
29 lines (25 loc) · 1.03 KB
/
PreparingDeviceSettingsEventArgs.cs
File metadata and controls
29 lines (25 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using System;
namespace Microsoft.Xna.Framework
{
/// <summary>
/// The arguments to the <see cref="GraphicsDeviceManager.PreparingDeviceSettings"/> event.
/// </summary>
public class PreparingDeviceSettingsEventArgs : EventArgs
{
/// <summary>
/// Create a new instance of the event.
/// </summary>
/// <param name="graphicsDeviceInformation">The default settings to be used in device creation.</param>
public PreparingDeviceSettingsEventArgs(GraphicsDeviceInformation graphicsDeviceInformation)
{
GraphicsDeviceInformation = graphicsDeviceInformation;
}
/// <summary>
/// The default settings that will be used in device creation.
/// </summary>
public GraphicsDeviceInformation GraphicsDeviceInformation { get; private set; }
}
}