SDL_WindowSupportsGPUSwapchainComposition3
Determines whether a swapchain composition is supported by the window.
Usage
#include "SDL3/SDL.h"
bool SDL_WindowSupportsGPUSwapchainComposition( SDL_GPUDevice *device, SDL_Window *window, SDL_GPUSwapchainComposition swapchain_composition);
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 |
swapchain_composition
|
the swapchain composition to check. |
Return value
Returns true if supported, false if unsupported.