Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
DisplayMode Struct Reference

Public Member Functions

auto operator< (const DisplayMode &other) const -> bool
 
void PushSelf (lua_State *L)
 

Public Attributes

unsigned int width
 
unsigned int height
 
double refreshRate
 

Member Function Documentation

◆ operator<()

auto DisplayMode::operator< ( const DisplayMode other) const -> bool
inline

A quick way to compare the two DisplayResolutions.

Member Data Documentation

◆ refreshRate

double DisplayMode::refreshRate

Refresh rate, in hz, of the display for the given mode MacOS Quartz Display Services provides rate as double, winapi DEVMODE uses 32bit unsigned int (still gives rate as hz), RandR gives 32 bit pixel clock, which is then divided by width*height.


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