static const std::vector< VideoMode > & getFullscreenModes()
Retrieve all the video modes supported in fullscreen mode.
bool operator!=(const VideoMode &left, const VideoMode &right)
Overload of operator!= to compare two video modes.
bool operator<(const VideoMode &left, const VideoMode &right)
Overload of operator< to compare video modes.
bool operator>(const VideoMode &left, const VideoMode &right)
Overload of operator> to compare video modes.
VideoMode()=default
Default constructor.
bool operator>=(const VideoMode &left, const VideoMode &right)
Overload of operator>= to compare video modes.
VideoMode(Vector2u modeSize, unsigned int modeBitsPerPixel=32)
Construct the video mode with its attributes.
unsigned int bitsPerPixel
Video mode pixel depth, in bits per pixels.
bool operator<=(const VideoMode &left, const VideoMode &right)
Overload of operator<= to compare video modes.
static VideoMode getDesktopMode()
Get the current desktop video mode.
bool operator==(const VideoMode &left, const VideoMode &right)
Overload of operator== to compare two video modes.
bool isValid() const
Tell whether or not the video mode is valid.
Vector2u size
Video mode width and height, in pixels.
Vector2< unsigned int > Vector2u