Class VkPipelineShaderStageCreateInfo

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

    public class VkPipelineShaderStageCreateInfo
    extends Struct
    implements NativeResource
    Structure specifying parameters of a newly created pipeline shader stage.
    Valid Usage
    Valid Usage (Implicit)
    • pNext must be NULL
    • flags must be 0
    • stage must be a valid VkShaderStageFlagBits value
    • module must be a valid VkShaderModule handle
    • pName must be a null-terminated UTF-8 string
    • If pSpecializationInfo is not NULL, pSpecializationInfo must be a valid pointer to a valid VkSpecializationInfo structure
    See Also

    VkComputePipelineCreateInfo, VkGraphicsPipelineCreateInfo, VkRaytracingPipelineCreateInfoNVX, VkSpecializationInfo

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • flags – reserved for future use.
    • stage – a VkShaderStageFlagBits value specifying a single pipeline stage.
    • module – a VkShaderModule object that contains the shader for this stage.
    • pName – a pointer to a null-terminated UTF-8 string specifying the entry point name of the shader for this stage.
    • pSpecializationInfo – a pointer to VkSpecializationInfo, as described in Specialization Constants, and can be NULL.


     struct VkPipelineShaderStageCreateInfo {
         VkStructureType sType;
         void const * pNext;
         VkPipelineShaderStageCreateFlags flags;
         VkShaderStageFlagBits stage;
         VkShaderModule module;
         char const * pName;
         VkSpecializationInfo const * pSpecializationInfo;