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_Vulkan_GetPresentationSupport - Query support for presentation via a given physical device and queue

Availability

       This function is available since SDL 3.2.0.

Description

       The instance must have been created with extensions returned by

       SDL_Vulkan_GetInstanceExtensions () enabled.

Function Parameters

instance
              the Vulkan instance handle.

       physicalDevice
              a valid Vulkan physical device handle.

       queueFamilyIndex
              a valid queue family index for the given physical device.

Header File

       Defined in SDL3/SDL_vulkan.h

Name

       SDL_Vulkan_GetPresentationSupport  - Query support for presentation via a given physical device and queue
       family.

Return Value

       Returns true if supported, false if unsupported or an error occurred.

See Also

(3), SDL_Vulkan_GetInstanceExtensions(3)

Simple Directmedia Layer                           SDL 3.2.10               SDL_Vulkan_GetPresentationSupport(3)

Synopsis

#include"SDL3/SDL.h"boolSDL_Vulkan_GetPresentationSupport(VkInstanceinstance,VkPhysicalDevicephysicalDevice,Uint32queueFamilyIndex);

See Also