Class VulkanLWJGLExtKHRSwapChain
java.lang.Object
com.io7m.jcoronado.lwjgl.internal.VulkanLWJGLExtKHRSwapChain
- All Implemented Interfaces:
VulkanExtensionType,VulkanExtKHRSwapChainType
Access to the
VK_KHR_swapchain extension.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.io7m.jcoronado.extensions.khr_swapchain.api.VulkanExtKHRSwapChainType
VulkanExtKHRSwapChainType.VulkanKHRSwapChainType -
Method Summary
Modifier and TypeMethodDescriptionvoidqueuePresent(VulkanQueueType in_queue, VulkanPresentInfoKHR present_info) Queue images for presentation.swapChainCreate(VulkanLogicalDeviceType in_device, VulkanSwapChainCreateInfo info) Create a new swap chain.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.io7m.jcoronado.extensions.khr_swapchain.api.VulkanExtKHRSwapChainType
name
-
Method Details
-
toString
-
swapChainCreate
public VulkanExtKHRSwapChainType.VulkanKHRSwapChainType swapChainCreate(VulkanLogicalDeviceType in_device, VulkanSwapChainCreateInfo info) throws VulkanException Description copied from interface:VulkanExtKHRSwapChainTypeCreate a new swap chain.- Specified by:
swapChainCreatein interfaceVulkanExtKHRSwapChainType- Parameters:
in_device- The physical deviceinfo- The creation info- Returns:
- The capabilities of the given surface
- Throws:
VulkanException- On errors- See Also:
-
queuePresent
public void queuePresent(VulkanQueueType in_queue, VulkanPresentInfoKHR present_info) throws VulkanException Description copied from interface:VulkanExtKHRSwapChainTypeQueue images for presentation.- Specified by:
queuePresentin interfaceVulkanExtKHRSwapChainType- Parameters:
in_queue- The presentation queuepresent_info- The presentation info- Throws:
VulkanException- On errors- See Also:
-