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

47 lines
1.3 KiB
Plaintext
Raw Normal View History

2016-02-16 09:53:44 +00:00
vkCreateXlibSurfaceKHR(3)
========================
Name
----
vkCreateXlibSurfaceKHR - create a VkSurfaceKHR object for an X11 window, using the Xlib client-side library.
C Specification
---------------
include::../protos/vkCreateXlibSurfaceKHR.txt[]
Parameters
----------
pname:instance::
The VkInstance to associate the surface.
pname:pCreateInfo::
A pointer to an instance of the VkXlibSurfaceCreateInfoKHR 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:vkCreateXlibSurfaceKHR creates a VkSurface associated with the specified X11 window.
pname:pCreateInfo is an instance of the slink:VkXlibSurfaceCreateInfoKHR
structure, the definition of which is:
include::../structs/VkXlibSurfaceCreateInfoKHR.txt[]
include::../validity/protos/vkCreateXlibSurfaceKHR.txt[]
See Also
--------
flink:vkDestroySurfaceKHR, flink:vkGetPhysicalDeviceSurfaceCapabilitiesKHR, flink:vkGetPhysicalDeviceSurfaceFormatsKHR,
flink:vkGetPhysicalDeviceSurfacePresentModesKHR, flink:vkCreateSwapchainKHR
include::footer.txt[]