Skip to main content

PFN_vkCreateGraphicsPipelines

Type Alias PFN_vkCreateGraphicsPipelines 

Source
pub type PFN_vkCreateGraphicsPipelines = Option<unsafe extern "system" fn(device: Device, pipeline_cache: PipelineCache, create_info_count: u32, p_create_infos: *const GraphicsPipelineCreateInfo, p_allocator: *const AllocationCallbacks, p_pipelines: *mut Pipeline) -> Result>;
Expand description

vkCreateGraphicsPipelines Provided by VK_GRAPHICS_VERSION_1_0.

§Success Codes

  • VK_SUCCESS
  • VK_PIPELINE_COMPILE_REQUIRED_EXT

§Error Codes

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_OUT_OF_DEVICE_MEMORY
  • VK_ERROR_INVALID_SHADER_NV
  • VK_ERROR_UNKNOWN
  • VK_ERROR_VALIDATION_FAILED

§Thread Safety

  • pipelineCache must be externally synchronized

Aliased Type§

pub enum PFN_vkCreateGraphicsPipelines {
    None,
    Some(unsafe extern "system" fn(Device, PipelineCache, u32, *const GraphicsPipelineCreateInfo, *const AllocationCallbacks, *mut Pipeline) -> Result),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.