Package org.lwjgl.vulkan
Class KHRDisplaySwapchain
java.lang.Object
org.lwjgl.vulkan.KHRDisplaySwapchain
This extension provides an API to create a swapchain directly on a device’s display without any underlying window system.
Examples
Note
The example code for the VK_KHR_display and VK_KHR_display_swapchain extensions was removed from the appendix after revision 1.0.43. The display swapchain creation example code was ported to the cube demo that is shipped with the official Khronos SDK, and is being kept up-to-date in that location (see: https://github.com/KhronosGroup/Vulkan-Tools/blob/main/cube/cube.c).
- Name String
VK_KHR_display_swapchain- Extension Type
- Device extension
- Registered Extension Number
- 4
- Revision
- 10
- Extension and Version Dependencies
VK_KHR_swapchainandVK_KHR_display- Contact
- James Jones cubanismo
Other Extension Metadata
- Last Modified Date
- 2017-03-13
- IP Status
- No known IP claims.
- Contributors
- James Jones, NVIDIA
- Jeff Vigil, Qualcomm
- Jesse Hall, Google
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intExtendsVkResult.static final StringThe extension name.static final intThe extension specification version.static final intExtendsVkStructureType. -
Method Summary
Modifier and TypeMethodDescriptionstatic intnvkCreateSharedSwapchainsKHR(org.lwjgl.vulkan.VkDevice device, int swapchainCount, long pCreateInfos, long pAllocator, long pSwapchains) Unsafe version of:CreateSharedSwapchainsKHRstatic intvkCreateSharedSwapchainsKHR(org.lwjgl.vulkan.VkDevice device, VkSwapchainCreateInfoKHR.Buffer pCreateInfos, @Nullable VkAllocationCallbacks pAllocator, long[] pSwapchains) Array version of:CreateSharedSwapchainsKHRstatic intvkCreateSharedSwapchainsKHR(org.lwjgl.vulkan.VkDevice device, VkSwapchainCreateInfoKHR.Buffer pCreateInfos, @Nullable VkAllocationCallbacks pAllocator, LongBuffer pSwapchains) Create multiple swapchains that share presentable images.
-
Field Details
-
VK_KHR_DISPLAY_SWAPCHAIN_SPEC_VERSION
public static final int VK_KHR_DISPLAY_SWAPCHAIN_SPEC_VERSIONThe extension specification version.- See Also:
-
VK_KHR_DISPLAY_SWAPCHAIN_EXTENSION_NAME
The extension name.- See Also:
-
VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR
public static final int VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHRExtendsVkStructureType.- See Also:
-
VK_ERROR_INCOMPATIBLE_DISPLAY_KHR
public static final int VK_ERROR_INCOMPATIBLE_DISPLAY_KHRExtendsVkResult.- See Also:
-
-
Method Details