Skip to main content

PFN_vkCreatePipelineCache

Type Alias PFN_vkCreatePipelineCache 

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

vkCreatePipelineCache Provided by VK_COMPUTE_VERSION_1_0.

§Success Codes

  • VK_SUCCESS

§Error Codes

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_OUT_OF_DEVICE_MEMORY
  • VK_ERROR_UNKNOWN
  • VK_ERROR_VALIDATION_FAILED

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.