C Specification
An application queries if a protected VkSurface is displayable on a specific
windowing system using VkSurfaceProtectedCapabilitiesKHR, which can
be passed in pNext parameter of VkSurfaceCapabilities2KHR.
The VkSurfaceProtectedCapabilitiesKHR structure is defined as:
typedef struct VkSurfaceProtectedCapabilitiesKHR {
VkStructureType sType;
const void* pNext;
VkBool32 supportsProtected;
} VkSurfaceProtectedCapabilitiesKHR;
Members
-
sTypeis the type of this structure. -
pNextisNULLor a pointer to an extension-specific structure. -
supportsProtectedspecifies whether a protected swapchain created from VkPhysicalDeviceSurfaceInfo2KHR::surfacefor a particular windowing system can be displayed on screen or not. IfsupportsProtectedisVK_TRUE, then creation of swapchains with theVK_SWAPCHAIN_CREATE_PROTECTED_BIT_KHRflag set must be supported forsurface.
Description
See Also
VkBool32, VkStructureType
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.
Copyright
Copyright (c) 2014-2019 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.