Skip to main content

PFN_vkCreateCommandPool

Type Alias PFN_vkCreateCommandPool 

Source
pub type PFN_vkCreateCommandPool = Option<unsafe extern "system" fn(device: DeviceHandle, p_create_info: *const CommandPoolCreateInfo<'_>, p_allocator: *const AllocationCallbacks, p_command_pool: *mut CommandPool) -> Result>;
Expand description

Nullable function pointer for vkCreateCommandPool.

Khronos reference: vkCreateCommandPool

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.