Skip to main content

PFN_vkCreateSurfaceOHOS

Type Alias PFN_vkCreateSurfaceOHOS 

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

vkCreateSurfaceOHOS Provided by VK_OHOS_surface.

§Success Codes

  • VK_SUCCESS

§Error Codes

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_SURFACE_LOST_KHR
  • VK_ERROR_UNKNOWN
  • VK_ERROR_VALIDATION_FAILED

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.