struct GLFWvidmode
Overview
Video mode type.
This describes a single video mode.
Added in version 1.0. @glfw3 Added refresh rate member.
See also:
monitor_modes
glfwGetVideoMode glfwGetVideoModes
#include <glfw3.h> struct GLFWvidmode { // fields int width; int height; int redBits; int greenBits; int blueBits; int refreshRate; };
Fields
int width
The width, in screen coordinates, of the video mode.
int height
The height, in screen coordinates, of the video mode.
int redBits
The bit depth of the red channel of the video mode.
int greenBits
The bit depth of the green channel of the video mode.
int blueBits
The bit depth of the blue channel of the video mode.
int refreshRate
The refresh rate, in Hz, of the video mode.