C# Class SFML.Window.VideoMode

Afficher le fichier Open project: SFML/SFML.Net Class Usage Examples

Méthodes publiques

Свойство Type Description
BitsPerPixel uint
Height uint
Width uint

Méthodes publiques

Méthode Description
IsValid ( ) : bool

Tell whether or not the video mode is supported

ToString ( ) : string

Provide a string describing the object

VideoMode ( uint width, uint height ) : System.Runtime.InteropServices

Construct the video mode with its width and height

VideoMode ( uint width, uint height, uint bpp ) : System.Runtime.InteropServices

Construct the video mode with its width, height and depth

Private Methods

Méthode Description
sfVideoMode_getDesktopMode ( ) : VideoMode
sfVideoMode_getFullscreenModes ( uint &Count ) : VideoMode*
sfVideoMode_isValid ( VideoMode Mode ) : bool

Method Details

IsValid() public méthode

Tell whether or not the video mode is supported
public IsValid ( ) : bool
Résultat bool

ToString() public méthode

Provide a string describing the object
public ToString ( ) : string
Résultat string

VideoMode() public méthode

Construct the video mode with its width and height
public VideoMode ( uint width, uint height ) : System.Runtime.InteropServices
width uint Video mode width
height uint Video mode height
Résultat System.Runtime.InteropServices

VideoMode() public méthode

Construct the video mode with its width, height and depth
public VideoMode ( uint width, uint height, uint bpp ) : System.Runtime.InteropServices
width uint Video mode width
height uint Video mode height
bpp uint Video mode depth (bits per pixel)
Résultat System.Runtime.InteropServices

Property Details

BitsPerPixel public_oe property

Video mode depth, in bits per pixel
public uint BitsPerPixel
Résultat uint

Height public_oe property

Video mode height, in pixels
public uint Height
Résultat uint

Width public_oe property

Video mode width, in pixels
public uint Width
Résultat uint