VkSurfaceCapabilities2KHR, providing applications a way to query whether swapchains can be created with the SWAPCHAIN_CREATE_PROTECTED_BIT_KHR flag set.
Vulkan 1.1 added (optional) support for protect memory and protected resources including buffers (BUFFER_CREATE_PROTECTED_BIT), images (IMAGE_CREATE_PROTECTED_BIT), and swapchains (SWAPCHAIN_CREATE_PROTECTED_BIT_KHR). However, on implementations which support multiple windowing systems, not all window systems may be able to provide a protected display path.
This extension provides a way to query if a protected swapchain created for a surface (and thus a specific windowing system) can be displayed on screen. It extends the existing VkSurfaceCapabilities2KHR structure with a new VkSurfaceProtectedCapabilitiesKHR structure from which the application can obtain information about support for protected swapchain creation through GetPhysicalDeviceSurfaceCapabilities2KHR.
VK_KHR_surface_protected_capabilitiesVK_KHR_get_surface_capabilities2| Modifier and Type | Field and Description |
|---|---|
| public static final String | VK_KHR_SURFACE_PROTECTED_CAPABILITIES_EXTENSION_NAME
The extension name. |
| public static final int | VK_KHR_SURFACE_PROTECTED_CAPABILITIES_SPEC_VERSION
The extension specification version. |
| public static final int | VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR
Extends |
| Access | Constructor and Description |
|---|---|
| private |
| VK_KHR_SURFACE_PROTECTED_CAPABILITIES_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_KHR_SURFACE_PROTECTED_CAPABILITIES_EXTENSION_NAME The extension name. | |
| VK_KHR_SURFACE_PROTECTED_CAPABILITIES_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_KHR_SURFACE_PROTECTED_CAPABILITIES_SPEC_VERSION The extension specification version. | |
| VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR Extends | |
| KHRSurfaceProtectedCapabilities | back to summary |
|---|---|
| private KHRSurfaceProtectedCapabilities() | |