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

47 lines
1.3 KiB
Plaintext
Raw Normal View History

2016-02-16 09:53:44 +00:00
vkCreateXcbSurfaceKHR(3)
=======================
Name
----
vkCreateXcbSurfaceKHR - create a VkSurfaceKHR object for a X11 window, using the XCB client-side library.
C Specification
---------------
include::../protos/vkCreateXcbSurfaceKHR.txt[]
Parameters
----------
pname:instance::
The VkInstance to associate the surface.
pname:pCreateInfo::
A pointer to an instance of the VkXcbSurfaceCreateInfoKHR structure containing the parameters affecting the creation of the surface object.
pname:pAllocator::
The allocator used for host memory allocated for the surface object.
pname:pSurface::
The resulting surface object handle is returned in pSurface.
Description
-----------
fname:vkCreateXcbSurfaceKHR creates a VkSurface associated with the X11 window.
pname:pCreateInfo is an instance of the slink:VkXcbSurfaceCreateInfoKHR
structure, the definition of which is:
include::../structs/VkXcbSurfaceCreateInfoKHR.txt[]
include::../validity/protos/vkCreateXcbSurfaceKHR.txt[]
See Also
--------
flink:vkDestroySurfaceKHR, flink:vkGetPhysicalDeviceSurfaceCapabilitiesKHR, flink:vkGetPhysicalDeviceSurfaceFormatsKHR,
flink:vkGetPhysicalDeviceSurfacePresentModesKHR, flink:vkCreateSwapchainKHR
include::footer.txt[]