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

43 lines
1.0 KiB
Plaintext

vkGetPhysicalDeviceSurfaceCapabilitiesKHR(3)
===========================================
Name
----
vkGetPhysicalDeviceSurfaceCapabilitiesKHR - get surface capabilities.
C Specification
---------------
include::../protos/vkGetPhysicalDeviceSurfaceCapabilitiesKHR.txt[]
Parameters
----------
pname:physicalDevice::
A valid physical device.
pname:surface::
VkSurface to query.
pname:pSurfaceCapabilities::
A pointer to an instance of VkSurfaceCapabilitiesKHR that will be filled.
Description
-----------
fname:vkGetPhysicalDeviceSurfaceCapabilitiesKHR queries the basic capabilities of a surface, needed in order to create a swapchain.
pname:pSurfaceCapabilities is an instance of the slink:VkSurfaceCapabilitiesKHR
structure, the definition of which is:
include::../structs/VkSurfaceCapabilitiesKHR.txt[]
include::../validity/protos/vkGetPhysicalDeviceSurfaceCapabilitiesKHR.txt[]
See Also
--------
flink:vkGetPhysicalDeviceSurfaceFormatsKHR
include::footer.txt[]