Class KHRSurfaceProtectedCapabilities
- java.lang.Object
-
- org.lwjgl.vulkan.KHRSurfaceProtectedCapabilities
-
public final class KHRSurfaceProtectedCapabilities extends java.lang.Object
This extension extendsVkSurfaceCapabilities2KHR
, providing applications a way to query whether swapchains can be created with theSWAPCHAIN_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 newVkSurfaceProtectedCapabilitiesKHR
structure from which the application can obtain information about support for protected swapchain creation throughGetPhysicalDeviceSurfaceCapabilities2KHR
.- Name String
VK_KHR_surface_protected_capabilities
- Extension Type
- Instance extension
- Registered Extension Number
- 240
- Revision
- 1
- Extension and Version Dependencies
- Requires Vulkan 1.1
- Requires
VK_KHR_get_surface_capabilities2
- Contact
- Sandeep Shinde sashinde
- Last Modified Date
- 2018-12-18
- IP Status
- No known IP claims.
- Contributors
- Sandeep Shinde, NVIDIA
- James Jones, NVIDIA
- Daniel Koch, NVIDIA
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
VK_KHR_SURFACE_PROTECTED_CAPABILITIES_EXTENSION_NAME
The extension name.static int
VK_KHR_SURFACE_PROTECTED_CAPABILITIES_SPEC_VERSION
The extension specification version.static int
VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR
ExtendsVkStructureType
.
-
-
-
Field Detail
-
VK_KHR_SURFACE_PROTECTED_CAPABILITIES_SPEC_VERSION
public static final int VK_KHR_SURFACE_PROTECTED_CAPABILITIES_SPEC_VERSION
The extension specification version.- See Also:
- Constant Field Values
-
VK_KHR_SURFACE_PROTECTED_CAPABILITIES_EXTENSION_NAME
public static final java.lang.String VK_KHR_SURFACE_PROTECTED_CAPABILITIES_EXTENSION_NAME
The extension name.- See Also:
- Constant Field Values
-
VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR
public static final int VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR
ExtendsVkStructureType
.- See Also:
- Constant Field Values
-
-