Gamedev Framework (gf)  0.3.0
A C++11 framework for 2D games
Public Attributes | List of all members
gf::VideoMode Struct Reference

A video mode. More...

#include <gf/Monitor.h>

Public Attributes

Vector2u size
 Video mode size, in pixels. More...
 
unsigned bitsPerPixel
 Video mode pixel depth, in bits per pixel. More...
 
int refreshRate
 Video mode refresh rate, in Hz. More...
 

Detailed Description

A video mode.

Member Data Documentation

unsigned gf::VideoMode::bitsPerPixel

Video mode pixel depth, in bits per pixel.

int gf::VideoMode::refreshRate

Video mode refresh rate, in Hz.

Vector2u gf::VideoMode::size

Video mode size, in pixels.