Isle
Loading...
Searching...
No Matches
MxDisplayMode Struct Reference

[AI] Represents a display mode with specific resolution and color depth. More...

#include <mxdirectxinfo.h>

Public Member Functions

 MxDisplayMode ()
 [AI] Default constructor. More...
 
 MxDisplayMode (DWORD p_width, DWORD p_height, DWORD p_bitsPerPixel)
 [AI] Initialize the display mode with width, height, and color depth. More...
 
int operator== (MxDisplayMode) const
 [AI] Comparison operator placeholder: returns 0, not implemented. More...
 
int operator< (MxDisplayMode) const
 [AI] Comparison operator placeholder: returns 0, not implemented. More...
 

Public Attributes

DWORD m_width
 [AI] Width in pixels More...
 
DWORD m_height
 [AI] Height in pixels More...
 
DWORD m_bitsPerPixel
 [AI] Color depth (bits per pixel) More...
 

Detailed Description

[AI] Represents a display mode with specific resolution and color depth.

[AI] Used when enumerating available output modes for a graphics driver.

Definition at line 175 of file mxdirectxinfo.h.

Constructor & Destructor Documentation

◆ MxDisplayMode() [1/2]

MxDisplayMode::MxDisplayMode ( )
inline

[AI] Default constructor.

Leaves values uninitialized.

Definition at line 179 of file mxdirectxinfo.h.

◆ MxDisplayMode() [2/2]

MxDisplayMode::MxDisplayMode ( DWORD  p_width,
DWORD  p_height,
DWORD  p_bitsPerPixel 
)
inline

[AI] Initialize the display mode with width, height, and color depth.

Parameters
p_widthWidth in pixels. [AI]
p_heightHeight in pixels. [AI]
p_bitsPerPixelBits per pixel (color depth). [AI]

Definition at line 186 of file mxdirectxinfo.h.

Member Function Documentation

◆ operator<()

int MxDisplayMode::operator< ( MxDisplayMode  ) const
inline

[AI] Comparison operator placeholder: returns 0, not implemented.

Definition at line 200 of file mxdirectxinfo.h.

◆ operator==()

int MxDisplayMode::operator== ( MxDisplayMode  ) const
inline

[AI] Comparison operator placeholder: returns 0, not implemented.

Definition at line 196 of file mxdirectxinfo.h.

Member Data Documentation

◆ m_bitsPerPixel

DWORD MxDisplayMode::m_bitsPerPixel

[AI] Color depth (bits per pixel)

Definition at line 204 of file mxdirectxinfo.h.

◆ m_height

DWORD MxDisplayMode::m_height

[AI] Height in pixels

Definition at line 203 of file mxdirectxinfo.h.

◆ m_width

DWORD MxDisplayMode::m_width

[AI] Width in pixels

Definition at line 202 of file mxdirectxinfo.h.


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