Jopnal Engine  alpha 0.4
Simple Component Based 2D/3D Game Engine
Static Public Member Functions | Public Attributes | List of all members
jop::VideoInfo Class Reference

#include <VideoInfo.hpp>

Static Public Member Functions

static const std::vector< VideoInfo > & getSupportedModes ()
 Get all the supported full screen resolutions. More...
 
static VideoInfo getDesktopMode ()
 Get the primary monitor desktop resolution. More...
 

Public Attributes

glm::uvec2 resolution
 
unsigned int refreshRate
 

Detailed Description

Definition at line 35 of file VideoInfo.hpp.

Member Function Documentation

static VideoInfo jop::VideoInfo::getDesktopMode ( )
static

Get the primary monitor desktop resolution.

Returns
Primary monitor desktop resolution
static const std::vector<VideoInfo>& jop::VideoInfo::getSupportedModes ( )
static

Get all the supported full screen resolutions.

Returns
Reference to an internal array with the resolutions

Member Data Documentation

unsigned int jop::VideoInfo::refreshRate

Definition at line 54 of file VideoInfo.hpp.

glm::uvec2 jop::VideoInfo::resolution

Definition at line 53 of file VideoInfo.hpp.


The documentation for this class was generated from the following file: