cgv
Loading...
Searching...
No Matches
cgv::os::display_mode Struct Reference

a display mode describes a valid setting of the display parameters More...

#include <display.h>

Public Member Functions

 display_mode (unsigned int w=1024, unsigned int h=768, unsigned int bd=32, unsigned int rr=60)
 constructor
 

Public Attributes

unsigned int width
 width in pixel
 
unsigned int height
 height in pixel
 
unsigned int bit_depth
 number of bits per pixel
 
unsigned int refresh_rate
 refresh rate in Hz
 

Detailed Description

a display mode describes a valid setting of the display parameters

Definition at line 12 of file display.h.

Constructor & Destructor Documentation

◆ display_mode()

cgv::os::display_mode::display_mode ( unsigned int  w = 1024,
unsigned int  h = 768,
unsigned int  bd = 32,
unsigned int  rr = 60 
)
inline

constructor

Definition at line 23 of file display.h.

Member Data Documentation

◆ bit_depth

unsigned int cgv::os::display_mode::bit_depth

number of bits per pixel

Definition at line 19 of file display.h.

◆ height

unsigned int cgv::os::display_mode::height

height in pixel

Definition at line 17 of file display.h.

◆ refresh_rate

unsigned int cgv::os::display_mode::refresh_rate

refresh rate in Hz

Definition at line 21 of file display.h.

◆ width

unsigned int cgv::os::display_mode::width

width in pixel

Definition at line 15 of file display.h.


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