Class VkSurfaceProtectedCapabilitiesKHR

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkSurfaceProtectedCapabilitiesKHR>
org.lwjgl.vulkan.VkSurfaceProtectedCapabilitiesKHR
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkSurfaceProtectedCapabilitiesKHR extends org.lwjgl.system.Struct<VkSurfaceProtectedCapabilitiesKHR> implements org.lwjgl.system.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();
 }