Skip to main content

get_physical_device_surface_present_modes

Function get_physical_device_surface_present_modes 

Source
pub unsafe fn get_physical_device_surface_present_modes(
    physical_device: VkHandleRef<'_, VkPhysicalDevice>,
    surface: VkHandleRef<'_, VkSurfaceKHR>,
    sink: &mut [MaybeUninit<PresentMode>],
) -> Result<ArrayQueryResult<u32>>
Expand description

ยงSafety

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