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

47 lines
1.3 KiB
Plaintext

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