My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Attributes | List of all members
SDL_DisplayMode Struct Reference

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

#include <SDL_video.h>

Public Attributes

Uint32 format
 
int w
 
int h
 
int refresh_rate
 
voiddriverdata
 

Detailed Description

The structure that defines a display mode.

See also
SDL_GetNumDisplayModes()
SDL_GetDisplayMode()
SDL_GetDesktopDisplayMode()
SDL_GetCurrentDisplayMode()
SDL_GetClosestDisplayMode()
SDL_SetWindowDisplayMode()
SDL_GetWindowDisplayMode()

Member Data Documentation

void* SDL_DisplayMode::driverdata

driver-specific data, initialize to 0

Uint32 SDL_DisplayMode::format

pixel format

int SDL_DisplayMode::h

height

int SDL_DisplayMode::refresh_rate

refresh rate (or zero for unspecified)

int SDL_DisplayMode::w

width


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