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);
182 #endif // SFML_VIDEOMODE_HPP
unsigned int bitsPerPixel
Video mode pixel depth, in bits per pixels.
VideoMode(unsigned int modeWidth, unsigned int modeHeight, unsigned int modeBitsPerPixel=32)
Construct the video mode with its attributes.
static const std::vector< VideoMode > & getFullscreenModes()
Retrieve all the video modes supported in fullscreen mode.
static VideoMode getDesktopMode()
Get the current desktop video mode.
VideoMode()
Default constructor.
unsigned int width
Video mode width, in pixels.
unsigned int height
Video mode height, in pixels.
VideoMode defines a video mode (width, height, bpp)
bool isValid() const
Tell whether or not the video mode is valid.