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