C# Класс SFML.Window.VideoMode

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
BitsPerPixel uint
Height uint
Width uint

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
sfVideoMode_getDesktopMode ( ) : VideoMode
sfVideoMode_getFullscreenModes ( uint &Count ) : VideoMode*
sfVideoMode_isValid ( VideoMode Mode ) : bool

Описание методов

IsValid() публичный Метод

Tell whether or not the video mode is supported
public IsValid ( ) : bool
Результат bool

ToString() публичный Метод

Provide a string describing the object
public ToString ( ) : string
Результат string

VideoMode() публичный Метод

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
Результат System.Runtime.InteropServices

VideoMode() публичный Метод

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)
Результат System.Runtime.InteropServices

Описание свойств

BitsPerPixel публичное свойство

Video mode depth, in bits per pixel
public uint BitsPerPixel
Результат uint

Height публичное свойство

Video mode height, in pixels
public uint Height
Результат uint

Width публичное свойство

Video mode width, in pixels
public uint Width
Результат uint