SDL_WindowSupportsGPUPresentMode3
Determines whether a presentation mode is supported by the window.
Usage
#include "SDL3/SDL.h"
bool SDL_WindowSupportsGPUPresentMode( SDL_GPUDevice *device, SDL_Window *window, SDL_GPUPresentMode present_mode);
Header file
Defined in SDL3/SDL_gpu.h
Overview
The window must be claimed before calling this function.
Function parameters
device
|
a GPU context. |
|---|---|
window
|
an |
present_mode
|
the presentation mode to check. |
Return value
Returns true if supported, false if unsupported.