Interface VulkanExtKHRSwapChainType
- All Superinterfaces:
VulkanExtensionType
- All Known Implementing Classes:
VulkanLWJGLExtKHRSwapChain
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe result of presenting an image.static interfaceA created swap chain. -
Method Summary
Modifier and TypeMethodDescriptiondefault Stringname()queuePresent(VulkanQueueType queue, VulkanPresentInfoKHR presentInfo) Queue images for presentation.swapChainCreate(VulkanLogicalDeviceType device, VulkanSwapChainCreateInfo info) Create a new swap chain.
-
Method Details
-
name
- Specified by:
namein interfaceVulkanExtensionType- Returns:
- The name of the extension (such as "VK_KHR_Surface")
-
extraNames
- Specified by:
extraNamesin interfaceVulkanExtensionType- Returns:
- The extra extension names that are also required (such as "VK_EXT_swapchain_maintenance1")
-
swapChainCreate
VulkanExtKHRSwapChainType.VulkanKHRSwapChainType swapChainCreate(VulkanLogicalDeviceType device, VulkanSwapChainCreateInfo info) throws VulkanException Create a new swap chain.- Parameters:
device- The physical deviceinfo- The creation info- Returns:
- The capabilities of the given surface
- Throws:
VulkanException- On errors- See Also:
-
queuePresent
VulkanExtKHRSwapChainType.QueuePresentResult queuePresent(VulkanQueueType queue, VulkanPresentInfoKHR presentInfo) throws VulkanException Queue images for presentation.- Parameters:
queue- The presentation queuepresentInfo- The presentation info- Returns:
- The present result
- Throws:
VulkanException- On errors- See Also:
-