All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SDL_DisplayMode Struct Reference

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

#include <SDL_video.h>

Public Attributes

Uint32 format
int h
int refresh_rate
int w

Detailed Description

Member Data Documentation

void* SDL_DisplayMode::driverdata

driver-specific data, initialize to 0

Definition at line 59 of file SDL_video.h.

Referenced by SDL_GetClosestDisplayModeForDisplay(), and SDL_VideoQuit().

Uint32 SDL_DisplayMode::format
int SDL_DisplayMode::refresh_rate

refresh rate (or zero for unspecified)

Definition at line 58 of file SDL_video.h.

Referenced by cmpmodes(), SDL_GetClosestDisplayModeForDisplay(), SDL_SetDisplayModeForDisplay(), and SDLTest_CommonInit().

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