VideoMode Structure

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)
Syntax
public struct VideoMode
Public Structure VideoMode
public value class VideoMode
[<SealedAttribute>]
type VideoMode =  struct end

The VideoMode type exposes the following members.

Constructors
  NameDescription
Public methodVideoMode(UInt32, UInt32)
Construct the video mode with its width and height
Public methodVideoMode(UInt32, UInt32, UInt32)
Construct the video mode with its width, height and depth
Top
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsValid
Tell whether or not the video mode is supported
Public methodToString
Provide a string describing the object
(Overrides ValueTypeToString.)
Top
Fields
  NameDescription
Public fieldBitsPerPixel
Video mode depth, in bits per pixel
Public fieldHeight
Video mode height, in pixels
Public fieldWidth
Video mode width, in pixels
Top
Properties
  NameDescription
Public propertyStatic memberDesktopMode
Get the current desktop video mode
Public propertyStatic memberFullscreenModes
Get the list of all the supported fullscreen video modes
Top
See Also