Skip to main content

get_physical_device_surface_formats

Function get_physical_device_surface_formats 

Source
pub unsafe fn get_physical_device_surface_formats(
    physical_device: VkHandleRef<'_, VkPhysicalDevice>,
    surface: VkHandleRef<'_, VkSurfaceKHR>,
    sink: &mut [MaybeUninit<SurfaceFormat>],
) -> Result<ArrayQueryResult<u32>>
Available on crate features Implements and VK_KHR_surface only.
Expand description

ยงSafety

surface and physical_device must be created from the same brvk::VkInstance.