Skip to main content

create_compute_pipelines

Function create_compute_pipelines 

Source
pub unsafe fn create_compute_pipelines(
    device: VkHandleRef<'_, VkDevice>,
    pipeline_cache: Option<VkHandleRef<'_, VkPipelineCache>>,
    create_infos: &[ComputePipelineCreateInfo<'_>],
    allocation_callbacks: Option<&VkAllocationCallbacks>,
    results: &mut [MaybeUninit<VkPipeline>],
) -> Result<()>
Available on crate feature Implements only.
Expand description

ยงSafety

pipeline_cache must be created from device.