namespace Brutal.VulkanApi
{
///
/// VkSurfaceProtectedCapabilitiesKHR - Structure describing capability of a surface to be protected
///
///
///
/// An application queries if a protected VkSurfaceKHR is displayable on a
/// specific windowing system using VkSurfaceProtectedCapabilitiesKHR,
/// which can be passed in pNext parameter of
/// VkSurfaceCapabilities2KHR.
///
///
/// The VkSurfaceProtectedCapabilitiesKHR structure is defined as:
///
///
/// // Provided by VK_KHR_surface_protected_capabilities
/// typedef struct VkSurfaceProtectedCapabilitiesKHR {
/// VkStructureType sType;
/// void* pNext;
/// VkBool32 supportsProtected;
/// } VkSurfaceProtectedCapabilitiesKHR;
///
///
[StructLayout(LayoutKind.Explicit, Size = 24)]
public unsafe partial struct VkSurfaceProtectedCapabilitiesKHR()
{
///
/// sType is a VkStructureType value identifying this structure.
///
[FieldOffset(0)]
internal readonly VkStructureType sType = VkStructureType.SurfaceProtectedCapabilitiesKHR;
///
/// Next is `NULL` or a pointer to a structure extending this structure.
///
[FieldOffset(8)]
public void* Next;
///
/// SupportsProtected specifies whether a protected swapchain created from VkPhysicalDeviceSurfaceInfo2KHR::surface for a particular windowing system can be displayed on screen or not. If supportsProtected is VK_TRUE, then creation of swapchains with the VK_SWAPCHAIN_CREATE_PROTECTED_BIT_KHR flag set must be supported for surface.
///
[FieldOffset(16)]
public Brutal.Bool32 SupportsProtected;
}
}