logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_WindowSupportsGPUSwapchainComposition - Determines whether a swapchain composition is supported by

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.

       swapchain_composition
              the swapchain composition to check.

Name

       SDL_WindowSupportsGPUSwapchainComposition  -  Determines  whether a swapchain composition 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_WindowSupportsGPUSwapchainComposition(3)

Synopsis

#include<SDL3/SDL_gpu.h>boolSDL_WindowSupportsGPUSwapchainComposition(SDL_GPUDevice*device,SDL_Window*window,SDL_GPUSwapchainCompositionswapchain_composition);

See Also