Isle
Loading...
Searching...
No Matches
DeviceModesInfo::Mode Struct Reference

[AI] Represents a specific display mode supported by the device (width, height, bits per pixel). More...

#include <mxdirectxinfo.h>

Public Member Functions

int operator== (const Mode &p_mode) const
 [AI] Compares two display modes for equality by width, height, and bits per pixel. More...
 

Public Attributes

int width
 [AI] Horizontal resolution in pixels More...
 
int height
 [AI] Vertical resolution in pixels More...
 
int bitsPerPixel
 [AI] Color depth (bits per pixel) More...
 

Detailed Description

[AI] Represents a specific display mode supported by the device (width, height, bits per pixel).

[AI] Used to store and compare supported video modes (resolutions and color depths) for enumeration and selection.

Definition at line 22 of file mxdirectxinfo.h.

Member Function Documentation

◆ operator==()

int DeviceModesInfo::Mode::operator== ( const Mode p_mode) const
inline

[AI] Compares two display modes for equality by width, height, and bits per pixel.

Parameters
p_modeThe mode to compare against [AI].
Returns
1 if the modes are identical; otherwise 0. [AI]

Definition at line 28 of file mxdirectxinfo.h.

Member Data Documentation

◆ bitsPerPixel

int DeviceModesInfo::Mode::bitsPerPixel

[AI] Color depth (bits per pixel)

Definition at line 35 of file mxdirectxinfo.h.

◆ height

int DeviceModesInfo::Mode::height

[AI] Vertical resolution in pixels

Definition at line 34 of file mxdirectxinfo.h.

◆ width

int DeviceModesInfo::Mode::width

[AI] Horizontal resolution in pixels

Definition at line 33 of file mxdirectxinfo.h.


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