The DisplayDevice class

There are three main types of display devices: monitors, projectors and TV screens. OpenTK exposes all of them through the same interface: OpenTK.DisplayDevice.

You can use OpenTK.DisplayDevice to query available display devices, discover and modify their properties.

Example 1: discover available devices

using OpenTK;
foreach(DisplayIndex index in Enum.GetValues(typeof(DisplayIndex)))
    DisplayDevice device = DisplayDevice.GetDisplay(index);
    if (device == null)
    foreach (DisplayResolution res in device.AvailableResolutions)

Example 2: set the resolution of the first device to 800x600x32@60Hz:

using OpenTK;
devices[0].ChangeResolution(800, 600,  32,60);

Example 3: set the resolution of the second device to 800x600x32 using the preferred refresh rate:

using OpenTK;
devices[1].ChangeResolution(800, 600, 32, -1);

Example 4: restore all devices to their default settings

using OpenTK;
foreach (DisplayDevice device in DisplayDevice.AvailableDevices)

OpenTK will try to match your custom resolution to the closest supported resolution. If a specific bit depth or refresh rate is not supported, the current bit depth or refresh rate will be used. If no custom resolution matches the specified parameters, the current DisplayResolution will be used. You can specify a negative number or zero to indicate that a specific parameter is of no interest: for example, specifying a refresh rate of 0 will result in the default refresh rate being used.

Note that it is your responsibility to call RestoreResolution() prior to exiting your application. Failing to call this method will result in undefined behavior.

[Todo: add information about hotplugging support]

Relocate Very Easily Securely and Economically with Perfect Movers and Packers in Pune

packers and movers in pune
A great deal of sifting corporations are available inside Pune offering their own moving services within customers new house purchase needs. These businesses are providing reputable moving providers inside budget in the shoppers.

These lenders provides high quality supplying as well as unpacking solutions, shifting associated with home items and industrial products, parcel and couriers providers, packages shipping services, dog shifting providers, insurance coverage along with custom clearance products and services.

In addition to these providers professional businesses will also be featuring specific car or truck service provider transfer as well as warehousing services. They then get specifically intended car trailers connected with distinct dimensions to make available secure vehicle shifting services. These businesses pick the auto from customer’s earlier getaway and also insert about car or truck trailers as well as drop at the customer’s brand new property front doorstep without even more launching along with unloading regarding customer’s auto to provide risk-free car provider providers.

Firms have got substantial as well as spacious warehouses in all your significant urban centers in the state. Businesses have numerous warehousing as well as storage companies provider affiliates within various other locations with the country. These types of warehouses tend to be supplied having all most current establishments and also tools required for the actual safe and sound new house purchase task.

Quality skilled Packers and also Movers Pune primarily based businesses have crew involving very well trained and seasoned pros for each unique kind of separation routines. These types of staff are devoted to their particular work in addition to assist most clients tactfully. The majority of respected movers and packers Pune dependent corporations use excellent providing materials with regard to packaging regarding merchandise. All of the supplying tend to be done meticulously with the staff these businesses. A new secure and careful supplying make sure the damage-free distribution connected with items on the clients’ door-step.

With regard to virtually any relocation choose a dependable Packers and also Movers Pune structured firms. A esteemed professional company grips all the issues of your relocation in addition to deliver protected along with in time supply of products your doorstep.
packers and movers in bangalore
packers and movers in gurgaon