Class VkComputePipelineCreateInfo

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

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

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

    stage points to a structure of type VkPipelineShaderStageCreateInfo.

    Valid Usage
    Valid Usage (Implicit)
    See Also

    VkPipelineShaderStageCreateInfo, CreateComputePipelines

    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.
    • stage – a VkPipelineShaderStageCreateInfo describing the compute shader.
    • 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 VkComputePipelineCreateInfo {
         VkStructureType sType;
         void const * pNext;
         VkPipelineCreateFlags flags;
         VkPipelineShaderStageCreateInfo stage;
         VkPipelineLayout layout;
         VkPipeline basePipelineHandle;
         int32_t basePipelineIndex;
     }