Skip to main content

PFN_vkCreateImage

Type Alias PFN_vkCreateImage 

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

Nullable function pointer for vkCreateImage.

Khronos reference: vkCreateImage

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(DeviceHandle, *const ImageCreateInfo<'_>, *const AllocationCallbacks, *mut Image) -> Result)

Some value of type T.