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

Public Member Functions

bool operator!= (const DisplayMode &other) const
 Returns false if these two DisplayModes are identical.
 
bool operator== (const DisplayMode &other) const
 Returns true if these two DisplayModes are identical.
 
void output (std::ostream &out) const
 

Public Attributes

int bits_per_pixel
 
int fullscreen_only
 
int height
 
int refresh_rate
 
int width
 

Detailed Description

Definition at line 20 of file displayInformation.h.

Member Function Documentation

◆ operator!=()

bool DisplayMode::operator!= ( const DisplayMode & other) const

Returns false if these two DisplayModes are identical.

Definition at line 40 of file displayInformation.cxx.

References operator==().

◆ operator==()

bool DisplayMode::operator== ( const DisplayMode & other) const

Returns true if these two DisplayModes are identical.

Definition at line 29 of file displayInformation.cxx.

Referenced by operator!=().

◆ output()

void DisplayMode::output ( std::ostream & out) const

Definition at line 48 of file displayInformation.cxx.

Member Data Documentation

◆ bits_per_pixel

int DisplayMode::bits_per_pixel

Definition at line 24 of file displayInformation.h.

◆ fullscreen_only

int DisplayMode::fullscreen_only

Definition at line 26 of file displayInformation.h.

◆ height

int DisplayMode::height

Definition at line 23 of file displayInformation.h.

◆ refresh_rate

int DisplayMode::refresh_rate

Definition at line 25 of file displayInformation.h.

◆ width

int DisplayMode::width

Definition at line 22 of file displayInformation.h.


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