SDL_WindowSupportsGPUSwapchainComposition

Determines whether a swapchain composition is supported by the window.

The window must be claimed before calling this function.

extern (C) nothrow @nogc extern
bool
SDL_WindowSupportsGPUSwapchainComposition

Parameters

device SDL_GPUDevice*

a GPU context.

window SDL_Window*

an SDL_Window.

swapchain_composition SDL_GPUSwapchainComposition

the swapchain composition to check.

Return Value

Type: bool

true if supported, false if unsupported.

See Also

Meta