# 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

  Modifier and Type
  Method
  Description
  `default 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 Details

  - ### name

    default String name()
    Specified by:
      `name` in interface `VulkanExtensionType`
    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 device
      `info` - 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 queue
      `present_info` - The presentation info
    Throws:
      `VulkanException` - On errors
    See Also:
      - "vkQueuePresentKHR"