mirror of
https://github.com/status-im/Vulkan-Docs.git
synced 2025-01-12 15:04:10 +00:00
47 lines
1.1 KiB
Plaintext
47 lines
1.1 KiB
Plaintext
|
vkGetPhysicalDeviceSurfaceFormatsKHR(3)
|
||
|
======================================
|
||
|
|
||
|
Name
|
||
|
----
|
||
|
vkGetPhysicalDeviceSurfaceFormatsKHR - get color formats supported by surface.
|
||
|
|
||
|
C Specification
|
||
|
---------------
|
||
|
|
||
|
include::../protos/vkGetPhysicalDeviceSurfaceFormatsKHR.txt[]
|
||
|
|
||
|
Parameters
|
||
|
----------
|
||
|
|
||
|
pname:physicalDevice::
|
||
|
A valid physical device.
|
||
|
|
||
|
pname:surface::
|
||
|
VkSurface to query.
|
||
|
|
||
|
pname:pSurfaceFormatCount::
|
||
|
The number of elements in the array pointed by pSurfaceFormats .
|
||
|
|
||
|
pname:pSurfaceFormats::
|
||
|
A pointer to an array of VkSurfaceFormatKHR.
|
||
|
|
||
|
Description
|
||
|
-----------
|
||
|
|
||
|
fname:vkGetPhysicalDeviceSurfaceFormatsKHR queries the supported swapchain format-colorspace pairs for a surface.
|
||
|
|
||
|
pname:pSurfaceFormats is an instance of the slink:VkSurfaceFormatKHR
|
||
|
structure, the definition of which is:
|
||
|
|
||
|
include::../structs/VkSurfaceFormatKHR.txt[]
|
||
|
|
||
|
include::../validity/protos/vkGetPhysicalDeviceSurfaceFormatsKHR.txt[]
|
||
|
|
||
|
See Also
|
||
|
--------
|
||
|
|
||
|
flink:vkGetPhysicalDeviceFormatProperties, flink:vkGetPhysicalDeviceImageFormatProperties,
|
||
|
flink:vkCreateSwapchainKHR
|
||
|
|
||
|
include::footer.txt[]
|