#pragma section-numbers off #pragma camelcase off = SDL_GetWindowPixelFormat = Use this function to get the pixel format associated with the window. <> == Syntax == {{{#!highlight cpp 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 == {{{#!highlight cpp You can add your code example here }}} == Remarks == ''You can add useful comments here'' ---- [[CategoryAPI]], [[CategoryVideo]]