Class VkSurfaceProtectedCapabilitiesKHR

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkSurfaceProtectedCapabilitiesKHR extends Struct<VkSurfaceProtectedCapabilitiesKHR> implements NativeResource
Structure describing capability of a surface to be protected.
Description

If the VK_GOOGLE_surfaceless_query extension is enabled, the value returned in supportsProtected will be identical for every valid surface created on this physical device, and so in the GetPhysicalDeviceSurfaceCapabilities2KHR call, VkPhysicalDeviceSurfaceInfo2KHR::surface can be NULL_HANDLE. In that case, the contents of VkSurfaceCapabilities2KHR::surfaceCapabilities as well as any other struct chained to it will be undefined.

Valid Usage (Implicit)

Layout


 struct VkSurfaceProtectedCapabilitiesKHR {
     VkStructureType sType();
     void const * pNext();
     VkBool32 supportsProtected();
 }