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

47 lines
1.3 KiB
Plaintext
Raw Normal View History

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