SDL_WindowSupportsGPUPresentMode - Determines whether a presentation mode is supported by the window.
Contents
Availability
This function is available since SDL 3.2.0.
Description
The window must be claimed before calling this function.
Function Parameters
device a GPU context.
window an SDL_Window.
present_mode
the presentation mode to check.
Name
SDL_WindowSupportsGPUPresentMode - Determines whether a presentation mode is supported by the window.
Return Value
Returns true if supported, false if unsupported.
See Also
SDL_ClaimWindowForGPUDevice(3) Simple Directmedia Layer SDL 3.2.20 SDL_WindowSupportsGPUPresentMode(3)
Synopsis
#include<SDL3/SDL_gpu.h>boolSDL_WindowSupportsGPUPresentMode(SDL_GPUDevice*device,SDL_Window*window,SDL_GPUPresentModepresent_mode);
