Skip to main content

PFN_vkCreateMacOSSurfaceMVK

Type Alias PFN_vkCreateMacOSSurfaceMVK 

Source
pub type PFN_vkCreateMacOSSurfaceMVK = Option<unsafe extern "system" fn(instance: Instance, p_create_info: *const MacOSSurfaceCreateInfoMVK, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR) -> Result>;
Expand description

vkCreateMacOSSurfaceMVK Provided by VK_MVK_macos_surface.

§Success Codes

  • VK_SUCCESS

§Error Codes

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_OUT_OF_DEVICE_MEMORY
  • VK_ERROR_NATIVE_WINDOW_IN_USE_KHR
  • VK_ERROR_UNKNOWN
  • VK_ERROR_VALIDATION_FAILED

Aliased Type§

pub enum PFN_vkCreateMacOSSurfaceMVK {
    None,
    Some(unsafe extern "system" fn(Instance, *const MacOSSurfaceCreateInfoMVK, *const AllocationCallbacks, *mut SurfaceKHR) -> Result),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(Instance, *const MacOSSurfaceCreateInfoMVK, *const AllocationCallbacks, *mut SurfaceKHR) -> Result)

Some value of type T.