Skip to main content

PFN_vkCreateDevice

Type Alias PFN_vkCreateDevice 

Source
pub type PFN_vkCreateDevice = Option<unsafe extern "system" fn(physical_device: PhysicalDevice, p_create_info: *const DeviceCreateInfo<'_>, p_allocator: *const AllocationCallbacks, p_device: *mut DeviceHandle) -> Result>;
Expand description

Nullable function pointer for vkCreateDevice.

Khronos reference: vkCreateDevice

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.