You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
31 lines
776 B
31 lines
776 B
/*! |
|
|
|
@page monitor Multi-monitor guide |
|
|
|
@section monitor_objects Monitor objects |
|
|
|
|
|
@section monitor_modes Querying video modes |
|
|
|
Although GLFW generally does a good job at selecting a suitable video |
|
mode for you when you open a fullscreen window, it is sometimes useful to |
|
know exactly which modes are available on a certain system. For example, |
|
you may want to present the user with a list of video modes to select |
|
from. To get a list of available video modes, you can use the function |
|
@ref glfwGetVideoModes. |
|
|
|
@code |
|
int count; |
|
GLFWvidmode* modes = glfwGetVideoModes(monitor, &count); |
|
@endcode |
|
|
|
To get the current video mode of a monitor call @ref glfwGetVideoMode. |
|
|
|
@code |
|
const GLFWvidmode* mode = glfwGetVideoMode(monitor); |
|
@endcode |
|
|
|
|
|
@section monitor_gamma Gamma ramps |
|
|
|
*/
|
|
|