![JAR search and dependency download from the Maven repository](/logo.png)
org.lwjgl.vulkan.KHRSurfaceProtectedCapabilities Maven / Gradle / Ivy
Show all versions of lwjgl-vulkan Show documentation
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.vulkan;
/**
* This extension extends {@link VkSurfaceCapabilities2KHR}, providing applications a way to query whether swapchains can be created with the {@link KHRSwapchain#VK_SWAPCHAIN_CREATE_PROTECTED_BIT_KHR SWAPCHAIN_CREATE_PROTECTED_BIT_KHR} flag set.
*
* Vulkan 1.1 added (optional) support for protect memory and protected resources including buffers ({@link VK11#VK_BUFFER_CREATE_PROTECTED_BIT BUFFER_CREATE_PROTECTED_BIT}), images ({@link VK11#VK_IMAGE_CREATE_PROTECTED_BIT IMAGE_CREATE_PROTECTED_BIT}), and swapchains ({@link KHRSwapchain#VK_SWAPCHAIN_CREATE_PROTECTED_BIT_KHR 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 {@link VkSurfaceCapabilities2KHR} structure with a new {@link VkSurfaceProtectedCapabilitiesKHR} structure from which the application can obtain information about support for protected swapchain creation through {@link KHRGetSurfaceCapabilities2#vkGetPhysicalDeviceSurfaceCapabilities2KHR GetPhysicalDeviceSurfaceCapabilities2KHR}.
*
* VK_KHR_surface_protected_capabilities
*
*
* - Name String
* - {@code VK_KHR_surface_protected_capabilities}
* - Extension Type
* - Instance extension
* - Registered Extension Number
* - 240
* - Revision
* - 1
* - Extension and Version Dependencies
*
* - Requires Vulkan 1.1
* - Requires {@link KHRGetSurfaceCapabilities2 VK_KHR_get_surface_capabilities2}
*
* - Contact
*
* - Sandeep Shinde sashinde
*
*
*
* Other Extension Metadata
*
*
* - Last Modified Date
* - 2018-12-18
* - IP Status
* - No known IP claims.
* - Contributors
*
* - Sandeep Shinde, NVIDIA
* - James Jones, NVIDIA
* - Daniel Koch, NVIDIA
*
*
*/
public final class KHRSurfaceProtectedCapabilities {
/** The extension specification version. */
public static final int VK_KHR_SURFACE_PROTECTED_CAPABILITIES_SPEC_VERSION = 1;
/** The extension name. */
public static final String VK_KHR_SURFACE_PROTECTED_CAPABILITIES_EXTENSION_NAME = "VK_KHR_surface_protected_capabilities";
/** Extends {@code VkStructureType}. */
public static final int VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR = 1000239000;
private KHRSurfaceProtectedCapabilities() {}
}