To create ray tracing pipelines, call:
// Provided by VK_NV_ray_tracing VkResult vkCreateRayTracingPipelinesNV( VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkRayTracingPipelineCreateInfoNV* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines);
deviceis the logical device that creates the ray tracing pipelines.
pipelineCacheis either VK_NULL_HANDLE, indicating that pipeline caching is disabled, or the handle of a valid pipeline cache object, in which case use of that cache is enabled for the duration of the command.
createInfoCountis the length of the
pCreateInfosis a pointer to an array of VkRayTracingPipelineCreateInfoNV structures.
pAllocatorcontrols host memory allocation as described in the Memory Allocation chapter.
pPipelinesis a pointer to an array in which the resulting ray tracing pipeline objects are returned.
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.