Wiki Page Content

Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2009-12-05 20:29:01
Size: 771
Editor: SheenaSmith
Comment: create page, add content
Revision 6 as of 2009-12-13 07:19:50
Size: 870
Editor: SheenaSmith
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
The structure that defines a display mode. A structure that describes a display mode.
Line 10: Line 10:
||Uint32 format||pixel format||
||int w||width||
||int h||height||
||int refresh_rate||refresh rate (or zero for unspecified)||
||void* driverdata||driver-specific data, initialize to 0||
||Uint32||'''format'''||an enumerated pixel format; see [[SDL_PixelFormatEnum]] for details||
||int||'''w'''||width||
||int||'''h'''||height||
||int||'''refresh_rate'''||refresh rate or zero for unspecified(in Hz)||
||void*||'''driverdata'''||driver-specific data, initialize to 0||
Line 22: Line 22:
You can add useful comments here ''You can add useful comments here''

SDL_DisplayMode

A structure that describes a display mode.

Data Fields

Uint32

format

an enumerated pixel format; see SDL_PixelFormatEnum for details

int

w

width

int

h

height

int

refresh_rate

refresh rate or zero for unspecified(in Hz)

void*

driverdata

driver-specific data, initialize to 0

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryStruct

None: SDL_DisplayMode (last edited 2016-01-01 18:18:43 by PhilippWiesemann)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit