Skip to main content

PFN_vkCreatePipelineCache

Type Alias PFN_vkCreatePipelineCache 

Source
pub type PFN_vkCreatePipelineCache = Option<unsafe extern "system" fn(device: DeviceHandle, p_create_info: *const PipelineCacheCreateInfo<'_>, p_allocator: *const AllocationCallbacks, p_pipeline_cache: *mut PipelineCache) -> Result>;
Expand description

Nullable function pointer for vkCreatePipelineCache.

Khronos reference: vkCreatePipelineCache

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.