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