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 VulkanExtKHRSwapChainType
VulkanExtKHRSwapChainType.QueuePresentResult, VulkanExtKHRSwapChainType.VulkanKHRSwapChainType -
Method Summary
Modifier and TypeMethodDescriptionqueuePresent(VulkanQueueType inQueue, VulkanPresentInfoKHR presentInfo) Queue images for presentation.swapChainCreate(VulkanLogicalDeviceType inDevice, VulkanSwapChainCreateInfo info) Create a new swap chain.toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface VulkanExtKHRSwapChainType
extraNames, name
-
Method Details
-
toString
-
swapChainCreate
public VulkanExtKHRSwapChainType.VulkanKHRSwapChainType swapChainCreate(VulkanLogicalDeviceType inDevice, VulkanSwapChainCreateInfo info) throws VulkanException Description copied from interface:VulkanExtKHRSwapChainTypeCreate a new swap chain.- Specified by:
swapChainCreatein interfaceVulkanExtKHRSwapChainType- Parameters:
inDevice- The physical deviceinfo- The creation info- Returns:
- The capabilities of the given surface
- Throws:
VulkanException- On errors- See Also:
-
queuePresent
public VulkanExtKHRSwapChainType.QueuePresentResult queuePresent(VulkanQueueType inQueue, VulkanPresentInfoKHR presentInfo) throws VulkanException Description copied from interface:VulkanExtKHRSwapChainTypeQueue images for presentation.- Specified by:
queuePresentin interfaceVulkanExtKHRSwapChainType- Parameters:
inQueue- The presentation queuepresentInfo- The presentation info- Returns:
- The present result
- Throws:
VulkanException- On errors- See Also:
-