SDL_GetWindowPixelFormat

Get the pixel format associated with the window.

extern (C) nothrow @nogc extern
SDL_GetWindowPixelFormat

Parameters

window SDL_Window*

the window to query.

Return Value

the pixel format of the window on success or SDL_PIXELFORMAT_UNKNOWN on failure; call SDL_GetError() for more information.

Threadsafety: This function should only be called on the main thread.

Meta