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

47 lines
1.2 KiB
Plaintext

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