Size: 824
Comment: format update
|
Size: 909
Comment: content changed
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
A structure that contains data to define a display mode. | A structure that describes a display mode. |
Line 10: | Line 10: |
||Uint32||'''format'''||pixel format|| | ||Uint32||'''format'''||[[SDL_PixelFormatEnum]]; see [[#format|Remarks]] for details|| |
Line 22: | Line 22: |
''You can add useful comments here'' | <<Anchor(format)>> An enumerated pixel format; see [[SDL_PixelFormatEnum]] for details. |
SDL_DisplayMode
A structure that describes a display mode.
Data Fields
Uint32 |
format |
SDL_PixelFormatEnum; see Remarks for details |
int |
w |
width |
int |
h |
height |
int |
refresh_rate |
refresh rate (or zero for unspecified) |
void* |
driverdata |
driver-specific data, initialize to 0 |
Code Examples
You can add your code example here
Remarks
An enumerated pixel format; see SDL_PixelFormatEnum for details.