SDL_WindowSupportsGPUPresentMode

Determines whether a presentation mode is supported by the window.

The window must be claimed before calling this function.

extern (C) nothrow @nogc extern
bool
SDL_WindowSupportsGPUPresentMode

Parameters

device SDL_GPUDevice*

a GPU context.

window SDL_Window*

an SDL_Window.

present_mode SDL_GPUPresentMode

the presentation mode to check.

Return Value

Type: bool

true if supported, false if unsupported.

See Also

Meta