Function SDL_GetWindowPixelFormat

pub unsafe extern "C" fn SDL_GetWindowPixelFormat(
    window: *mut SDL_Window,
) -> u32 
Available on crate feature dep_sdl2 only.
Expand description

Get the pixel format associated with the window.

\param window the window to query \returns the pixel format of the window on success or SDL_PIXELFORMAT_UNKNOWN on failure; call SDL_GetError() for more information.

\since This function is available since SDL 2.0.0.