Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2011-04-21 17:58:57
Size: 690
Editor: SheenaSmith
Comment: update content - w/ Sam; remove draft
Revision 3 as of 2011-05-17 18:00:46
Size: 685
Editor: SheenaSmith
Comment: minor change, camelcase pragma change
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
#pragma disable-camelcase #pragma camelcase off
Line 18: Line 18:
Returns the pixel format of the window on success, or SDL_PIXELFORMAT_UNKNOWN on failure; call [[SDL_GetError]]() for more information. Returns the pixel format of the window on success or SDL_PIXELFORMAT_UNKNOWN on failure; call [[SDL_GetError]]() for more information.

SDL_GetWindowPixelFormat

Use this function to get the pixel format associated with the window.

Syntax

Uint32 SDL_GetWindowPixelFormat(SDL_Window* window)

Function Parameters

window

the window to query

Return Value

Returns the pixel format of the window on success or SDL_PIXELFORMAT_UNKNOWN on failure; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryVideo

None: SDL_GetWindowPixelFormat (last edited 2011-05-17 18:00:46 by SheenaSmith)

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