Skip to main content

PFN_vkGetPhysicalDevicePresentRectanglesKHR

Type Alias PFN_vkGetPhysicalDevicePresentRectanglesKHR 

Source
pub type PFN_vkGetPhysicalDevicePresentRectanglesKHR = Option<unsafe extern "system" fn(physical_device: PhysicalDevice, surface: SurfaceKHR, p_rect_count: *mut u32, p_rects: *mut Rect2D) -> Result>;
Expand description

vkGetPhysicalDevicePresentRectanglesKHR Provided by VK_KHR_swapchain.

§Success Codes

  • VK_SUCCESS
  • VK_INCOMPLETE

§Error Codes

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_OUT_OF_DEVICE_MEMORY
  • VK_ERROR_UNKNOWN
  • VK_ERROR_VALIDATION_FAILED

§Thread Safety

  • surface must be externally synchronized

Aliased Type§

pub enum PFN_vkGetPhysicalDevicePresentRectanglesKHR {
    None,
    Some(unsafe extern "system" fn(PhysicalDevice, SurfaceKHR, *mut u32, *mut Rect2D) -> Result),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(PhysicalDevice, SurfaceKHR, *mut u32, *mut Rect2D) -> Result)

Some value of type T.