25#ifndef SFML_VIDEOMODE_HPP
26#define SFML_VIDEOMODE_HPP
31#include <SFML/Window/Export.hpp>
61 VideoMode(
unsigned int modeWidth,
unsigned int modeHeight,
unsigned int modeBitsPerPixel = 32);
VideoMode defines a video mode (width, height, bpp)
VideoMode()
Default constructor.
static const std::vector< VideoMode > & getFullscreenModes()
Retrieve all the video modes supported in fullscreen mode.
VideoMode(unsigned int modeWidth, unsigned int modeHeight, unsigned int modeBitsPerPixel=32)
Construct the video mode with its attributes.
unsigned int height
Video mode height, in pixels.
unsigned int width
Video mode width, in pixels.
unsigned int bitsPerPixel
Video mode pixel depth, in bits per pixels.
static VideoMode getDesktopMode()
Get the current desktop video mode.
bool isValid() const
Tell whether or not the video mode is valid.