Determines whether a presentation mode is supported by the window.
Defined in <SDL3/SDL_gpu.h>
bool SDL_WindowSupportsGPUPresentMode(
SDL_GPUDevice *device,
SDL_Window *window, SDL_GPUPresentMode present_mode);
SDL_GPUDevice * | device | a GPU context. |
SDL_Window * | window | an SDL_Window. |
SDL_GPUPresentMode | present_mode | the presentation mode to check. |
(bool) Returns true if supported, false if unsupported.
The window must be claimed before calling this function.
This function is available since SDL 3.1.3.