[][src]Function fermium::video::SDL_GetWindowPixelFormat

pub unsafe extern "C" fn SDL_GetWindowPixelFormat(
    window: *mut SDL_Window
) -> u32

Gets the pixel format of the window.

Return: the pixel format on success, or SDL_PIXELFORMAT_UNKNOWN on failure. Call SDL_GetError for more.