Skip to main content

PFN_vkCreateImage

Type Alias PFN_vkCreateImage 

Source
pub type PFN_vkCreateImage = Option<unsafe extern "system" fn(device: Device, p_create_info: *const ImageCreateInfo, p_allocator: *const AllocationCallbacks, p_image: *mut Image) -> Result>;
Expand description

vkCreateImage Provided by VK_BASE_VERSION_1_0.

§Success Codes

  • VK_SUCCESS

§Error Codes

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_OUT_OF_DEVICE_MEMORY
  • VK_ERROR_COMPRESSION_EXHAUSTED_EXT
  • VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR
  • VK_ERROR_UNKNOWN
  • VK_ERROR_VALIDATION_FAILED

Aliased Type§

pub enum PFN_vkCreateImage {
    None,
    Some(unsafe extern "system" fn(Device, *const ImageCreateInfo, *const AllocationCallbacks, *mut Image) -> Result),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(Device, *const ImageCreateInfo, *const AllocationCallbacks, *mut Image) -> Result)

Some value of type T.