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)
    • sType must be STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO
    • pNext must be NULL
    • flags must be a valid combination of VkPipelineCreateFlagBits values
    • stage must be a valid VkPipelineShaderStageCreateInfo structure
    • layout must be a valid VkPipelineLayout handle
    • Both of basePipelineHandle, and layout that are valid handles must have been created, allocated, or retrieved from the same VkDevice
    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;
     }