Class VkRaytracingPipelineCreateInfoNVX

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

    public class VkRaytracingPipelineCreateInfoNVX
    extends Struct
    implements NativeResource
    Structure specifying parameters of a newly created raytracing pipeline.
    Description

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

    Valid Usage (Implicit)
    • sType must be STRUCTURE_TYPE_RAYTRACING_PIPELINE_CREATE_INFO_NVX
    • pNext must be NULL
    • flags must be a valid combination of VkPipelineCreateFlagBits values
    • pStages must be a valid pointer to an array of stageCount valid VkPipelineShaderStageCreateInfo structures
    • pGroupNumbers must be a valid pointer to an array of stageCount uint32_t values
    • layout must be a valid VkPipelineLayout handle
    • stageCount must be greater than 0
    • Both of basePipelineHandle, and layout that are valid handles must have been created, allocated, or retrieved from the same VkDevice
    See Also

    VkPipelineShaderStageCreateInfo, CreateRaytracingPipelinesNVX

    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 and pGroupNumbers arrays.
    • pStages – an array of size stageCount structures of type VkPipelineShaderStageCreateInfo describing the set of the shader stages to be included in the raytracing pipeline.
    • pGroupNumbers – an array of size stageCount integers, where each integer indicates the hit group that the corresponding shader belongs to.
    • 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 VkRaytracingPipelineCreateInfoNVX {
         VkStructureType sType;
         void const * pNext;
         VkPipelineCreateFlags flags;
         uint32_t stageCount;
         VkPipelineShaderStageCreateInfo const * pStages;
         uint32_t const * pGroupNumbers;
         uint32_t maxRecursionDepth;
         VkPipelineLayout layout;
         VkPipeline basePipelineHandle;
         int32_t basePipelineIndex;
     }