Click or drag to resize
Ab4d.SharpEngine logo

VkGetPhysicalDeviceSurfaceFormats Method


Namespace: Ab4d.Vulkan
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public Result GetPhysicalDeviceSurfaceFormats(
	PhysicalDevice physicalDevice,
	SurfaceKHR surface,
	uint* pSurfaceFormatCount,
	SurfaceFormatKHR* pSurfaceFormats
)

Parameters

physicalDevice  PhysicalDevice
 
surface  SurfaceKHR
 
pSurfaceFormatCount  UInt32*
 
pSurfaceFormats  SurfaceFormatKHR*
 

Return Value

Result
Remarks

Required Extension: VK_KHR_surface

Success codes:VK_SUCCESS, VK_INCOMPLETE

Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR

See Also