Skip to main content

PFN_vkCreateRayTracingPipelinesKHR

Type Alias PFN_vkCreateRayTracingPipelinesKHR 

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

vkCreateRayTracingPipelinesKHR Provided by VK_KHR_ray_tracing_pipeline.

§Success Codes

  • VK_SUCCESS
  • VK_OPERATION_DEFERRED_KHR
  • VK_OPERATION_NOT_DEFERRED_KHR
  • VK_PIPELINE_COMPILE_REQUIRED_EXT

§Error Codes

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_OUT_OF_DEVICE_MEMORY
  • VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS
  • VK_ERROR_UNKNOWN
  • VK_ERROR_VALIDATION_FAILED

§Thread Safety

  • pipelineCache must be externally synchronized

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.