C# Class OpenTK.Platform.Windows.WinDisplayDeviceDriver

Inheritance: IDisplayDeviceDriver
Mostra file Open project: prepare/HTML-Renderer

Public Methods

Method Description
TryChangeResolution ( DisplayDevice device, DisplayResolution resolution ) : bool
TryRestoreResolution ( DisplayDevice device ) : bool

Private Methods

Method Description
WinDisplayDeviceDriver ( ) : System

Queries available display devices and display resolutions.

Method Details

TryChangeResolution() public method

public TryChangeResolution ( DisplayDevice device, DisplayResolution resolution ) : bool
device DisplayDevice
resolution DisplayResolution
return bool

TryRestoreResolution() public method

public TryRestoreResolution ( DisplayDevice device ) : bool
device DisplayDevice
return bool