Wiki Page Content

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)

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