sdlWindowSupportsGpuPresentMode function gpu
        
bool
sdlWindowSupportsGpuPresentMode(
    
- Pointer<SdlGpuDevice> device,
- Pointer<SdlWindow> window,
- int presentMode
Determines whether a presentation mode is supported by the window.
The window must be claimed before calling this function.
\param device a GPU context. \param window an SDL_Window. \param present_mode the presentation mode to check. \returns true if supported, false if unsupported.
\since This function is available since SDL 3.2.0.
\sa SDL_ClaimWindowForGPUDevice
extern SDL_DECLSPEC bool SDLCALL SDL_WindowSupportsGPUPresentMode( SDL_GPUDevice *device, SDL_Window *window, SDL_GPUPresentMode present_mode)
Implementation
bool sdlWindowSupportsGpuPresentMode(
  Pointer<SdlGpuDevice> device,
  Pointer<SdlWindow> window,
  int presentMode,
) {
  final sdlWindowSupportsGpuPresentModeLookupFunction = _libSdl
      .lookupFunction<
        Uint8 Function(
          Pointer<SdlGpuDevice> device,
          Pointer<SdlWindow> window,
          Int32 presentMode,
        ),
        int Function(
          Pointer<SdlGpuDevice> device,
          Pointer<SdlWindow> window,
          int presentMode,
        )
      >('SDL_WindowSupportsGPUPresentMode');
  return sdlWindowSupportsGpuPresentModeLookupFunction(
        device,
        window,
        presentMode,
      ) ==
      1;
}