Interface VulkanExtKHRSwapChainType
-
- All Superinterfaces:
VulkanExtensionType
- All Known Implementing Classes:
VulkanLWJGLExtKHRSwapChain
public interface VulkanExtKHRSwapChainType extends VulkanExtensionType
- See Also:
- "VK_KHR_swapchain"
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
VulkanExtKHRSwapChainType.VulkanKHRSwapChainType
A created swap chain.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.String
name()
void
queuePresent(VulkanQueueType queue, VulkanPresentInfoKHR present_info)
Queue images for presentation.VulkanExtKHRSwapChainType.VulkanKHRSwapChainType
swapChainCreate(VulkanLogicalDeviceType device, VulkanSwapChainCreateInfo info)
Create a new swap chain.
-
-
-
Method Detail
-
name
default java.lang.String name()
- Specified by:
name
in interfaceVulkanExtensionType
- Returns:
- The name of the extension (such as "VK_KHR_Surface")
-
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:
- "vkCreateSwapchainKHR"
-
queuePresent
void queuePresent(VulkanQueueType queue, VulkanPresentInfoKHR present_info) throws VulkanException
Queue images for presentation.- Parameters:
queue
- The presentation queuepresent_info
- The presentation info- Throws:
VulkanException
- On errors- See Also:
- "vkQueuePresentKHR"
-
-