All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.vulkan.KHRSurfaceProtectedCapabilities Maven / Gradle / Ivy

Go to download

A new generation graphics and compute API that provides high-efficiency, cross-platform access to modern GPUs used in a wide variety of devices from PCs and consoles to mobile phones and embedded platforms.

There is a newer version: 3.3.6
Show newest version
/*
 * 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
*
*
* *
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() {} }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy