![]() |
Paradox Game Engine
v1.0.0 beta06
|
Describes the display mode. More...
Public Member Functions | |
| DisplayMode (PixelFormat format, int width, int height, Rational refreshRate) | |
| Initializes a new instance of the DisplayMode class. More... | |
| override string | ToString () |
| Retrieves a string representation of this object. More... | |
Public Attributes | |
| readonly PixelFormat | Format |
| Gets a value indicating the surface format of the display mode. More... | |
| readonly int | Width |
| Gets a value indicating the screen width, in pixels. More... | |
| readonly int | Height |
| Gets a value indicating the screen height, in pixels. More... | |
| readonly Rational | RefreshRate |
| Gets a value indicating the refresh rate More... | |
Properties | |
| float | AspectRatio [get] |
| Gets the aspect ratio used by the graphics device. More... | |
Describes the display mode.
Definition at line 10 of file DisplayMode.cs.
| SiliconStudio.Paradox.Graphics.DisplayMode.DisplayMode | ( | PixelFormat | format, |
| int | width, | ||
| int | height, | ||
| Rational | refreshRate | ||
| ) |
Initializes a new instance of the DisplayMode class.
| format | The format. |
| width | The width. |
| height | The height. |
| refreshRate | The refresh rate. |
Definition at line 19 of file DisplayMode.cs.
References DirectX.format.
| override string SiliconStudio.Paradox.Graphics.DisplayMode.ToString | ( | ) |
Retrieves a string representation of this object.
Definition at line 66 of file DisplayMode.cs.
| readonly PixelFormat SiliconStudio.Paradox.Graphics.DisplayMode.Format |
Gets a value indicating the surface format of the display mode.
Definition at line 45 of file DisplayMode.cs.
| readonly int SiliconStudio.Paradox.Graphics.DisplayMode.Height |
Gets a value indicating the screen height, in pixels.
Definition at line 55 of file DisplayMode.cs.
| readonly Rational SiliconStudio.Paradox.Graphics.DisplayMode.RefreshRate |
Gets a value indicating the refresh rate
Definition at line 60 of file DisplayMode.cs.
| readonly int SiliconStudio.Paradox.Graphics.DisplayMode.Width |
Gets a value indicating the screen width, in pixels.
Definition at line 50 of file DisplayMode.cs.
|
get |
Gets the aspect ratio used by the graphics device.
Definition at line 31 of file DisplayMode.cs.