Vulkan-Docs/doc/specs/vulkan/man/vkCreateDisplayPlaneSurface...

47 lines
1.3 KiB
Plaintext

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