Class VkRayTracingPipelineCreateInfoNV

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkRayTracingPipelineCreateInfoNV
    extends Struct
    implements NativeResource
    Structure specifying parameters of a newly created ray tracing pipeline.
    Description

    The parameters basePipelineHandle and basePipelineIndex are described in more detail in Pipeline Derivatives.

    Valid Usage
    Valid Usage (Implicit)
    See Also

    VkPipelineShaderStageCreateInfo, VkRayTracingShaderGroupCreateInfoNV, CreateRayTracingPipelinesNV

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • flags – a bitmask of VkPipelineCreateFlagBits specifying how the pipeline will be generated.
    • stageCount – the number of entries in the pStages array.
    • pStages – an array of size stageCount structures of type VkPipelineShaderStageCreateInfo describing the set of the shader stages to be included in the ray tracing pipeline.
    • groupCount – the number of entries in the pGroups array.
    • pGroups – an array of size groupCount structures of type VkRayTracingShaderGroupCreateInfoNV describing the set of the shader stages to be included in each shader group in the ray tracing pipeline.
    • maxRecursionDepth – the maximum recursion that will be called from this pipeline.
    • layout – the description of binding locations used by both the pipeline and descriptor sets used with the pipeline.
    • basePipelineHandle – a pipeline to derive from.
    • basePipelineIndex – an index into the pCreateInfos parameter to use as a pipeline to derive from.

    Layout

    
     struct VkRayTracingPipelineCreateInfoNV {
         VkStructureType sType;
         void const * pNext;
         VkPipelineCreateFlags flags;
         uint32_t stageCount;
         VkPipelineShaderStageCreateInfo const * pStages;
         uint32_t groupCount;
         VkRayTracingShaderGroupCreateInfoNV const * pGroups;
         uint32_t maxRecursionDepth;
         VkPipelineLayout layout;
         VkPipeline basePipelineHandle;
         int32_t basePipelineIndex;
     }