Skip to main content

PFN_vkGetDeviceGroupSurfacePresentModesKHR

Type Alias PFN_vkGetDeviceGroupSurfacePresentModesKHR 

Source
pub type PFN_vkGetDeviceGroupSurfacePresentModesKHR = Option<unsafe extern "system" fn(device: Device, surface: SurfaceKHR, p_modes: *mut DeviceGroupPresentModeFlagsKHR) -> Result>;
Expand description

vkGetDeviceGroupSurfacePresentModesKHR Provided by VK_KHR_swapchain.

§Success Codes

  • VK_SUCCESS

§Error Codes

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_OUT_OF_DEVICE_MEMORY
  • VK_ERROR_SURFACE_LOST_KHR
  • VK_ERROR_UNKNOWN
  • VK_ERROR_VALIDATION_FAILED

§Thread Safety

  • surface must be externally synchronized

Aliased Type§

pub enum PFN_vkGetDeviceGroupSurfacePresentModesKHR {
    None,
    Some(unsafe extern "system" fn(Device, SurfaceKHR, *mut DeviceGroupPresentModeFlagBitsKHR) -> Result),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(Device, SurfaceKHR, *mut DeviceGroupPresentModeFlagBitsKHR) -> Result)

Some value of type T.