SDL  2.0
SDL_DisplayMode Struct Reference

The structure that defines a display mode. More...

#include <SDL_video.h>

Data Fields

Uint32 format
 
int w
 
int h
 
int refresh_rate
 
voiddriverdata
 

Detailed Description

Field Documentation

◆ driverdata

void* SDL_DisplayMode::driverdata

driver-specific data, initialize to 0

Definition at line 59 of file SDL_video.h.

Referenced by SDL_GetClosestDisplayModeForDisplay(), SDL_VideoQuit(), and video_getClosestDisplayModeCurrentResolution().

◆ format

◆ h

◆ refresh_rate

int SDL_DisplayMode::refresh_rate

◆ w


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