VideoMode Structure
From SFML.Net
SFML.Net
| VideoMode Structure |
VideoMode defines a video mode (width, height, bpp, frequency)
and provides static functions for getting modes supported
by the display device
Namespace: SFML.Window
Assembly: sfmlnet-window-2 (in sfmlnet-window-2.dll) Version: 2.2.0.0 (2.2.0)
The VideoMode type exposes the following members.
| Name | Description | |
|---|---|---|
| VideoMode(UInt32, UInt32) |
Construct the video mode with its width and height
| |
| VideoMode(UInt32, UInt32, UInt32) |
Construct the video mode with its width, height and depth
|
| Name | Description | |
|---|---|---|
| Equals |
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.) | |
| GetHashCode |
Returns the hash code for this instance.
(Inherited from ValueType.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsValid |
Tell whether or not the video mode is supported
| |
| ToString |
Provide a string describing the object
(Overrides ValueTypeToString.) |
| Name | Description | |
|---|---|---|
| BitsPerPixel | Video mode depth, in bits per pixel | |
| Height | Video mode height, in pixels | |
| Width | Video mode width, in pixels |
| Name | Description | |
|---|---|---|
| DesktopMode |
Get the current desktop video mode
| |
| FullscreenModes |
Get the list of all the supported fullscreen video modes
|