nomlib
Loading...
Searching...
No Matches
nom::DisplayMode Struct Reference

Container for describing a video display mode. More...

#include <DisplayMode.hpp>

Public Attributes

uint32 format = 0
 The pixel format of the display video mode.
Size2i bounds
 The horizontal and vertical dimensions, in pixel units, of the display video mode.
int refresh_rate = 0
 The display vertical refresh rate of the display video mode.

Detailed Description

Container for describing a video display mode.

Definition at line 41 of file DisplayMode.hpp.

Member Data Documentation

◆ bounds

Size2i nom::DisplayMode::bounds

The horizontal and vertical dimensions, in pixel units, of the display video mode.

Definition at line 50 of file DisplayMode.hpp.

◆ format

uint32 nom::DisplayMode::format = 0

The pixel format of the display video mode.

Remarks
One of the SDL_PixelFormatEnum enumeration values.

Definition at line 46 of file DisplayMode.hpp.

◆ refresh_rate

int nom::DisplayMode::refresh_rate = 0

The display vertical refresh rate of the display video mode.

Remarks
The display's vertical refresh rate, in hertz. Zero (0) if unspecified.

Definition at line 56 of file DisplayMode.hpp.


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