Vulkan-Docs/doc/specs/vulkan/man/vkCreateSwapchainKHR.txt

48 lines
1.1 KiB
Plaintext
Raw Normal View History

2016-02-16 09:53:44 +00:00
vkCreateSwapchainKHR(3)
======================
Name
----
vkCreateSwapchainKHR - create a swapchain.
C Specification
---------------
include::../protos/vkCreateSwapchainKHR.txt[]
Parameters
----------
pname:device::
The VkDevice to associate the swapchain.
pname:pCreateInfo::
A pointer to an instance of the VkSwapchainCreateInfoKHR structure containing the parameters affecting the creation of the swapchain object.
pname:pAllocator::
The allocator used for host memory allocated for the surface object.
pname:pSwapchain::
The resulting swapchain.
Description
-----------
fname:vkCreateSwapchainKHR creates a swapchain.
pname:pCreateInfo is an instance of the slink:VkSwapchainCreateInfoKHR
structure, the definition of which is:
include::../structs/VkSwapchainCreateInfoKHR.txt[]
include::../validity/protos/vkCreateSwapchainKHR.txt[]
See Also
--------
flink:vkCreateSharedSwapchainsKHR, flink:vkDestroySwapchainKHR,
flink:vkGetSwapchainImagesKHR, flink:vkAcquireNextImageKHR,
flink:vkQueuePresentKHR
include::footer.txt[]