Function TRAP::Graphics::API::VulkanInits::GraphicsPipelineCreateInfo#

Function Documentation#

constexpr VkGraphicsPipelineCreateInfo TRAP::Graphics::API::VulkanInits::GraphicsPipelineCreateInfo(std::span<const VkPipelineShaderStageCreateInfo> stages, const VkPipelineVertexInputStateCreateInfo &vi, const VkPipelineInputAssemblyStateCreateInfo &ia, const VkPipelineViewportStateCreateInfo &vs, const VkPipelineRasterizationStateCreateInfo &rs, const VkPipelineMultisampleStateCreateInfo &ms, const VkPipelineDepthStencilStateCreateInfo &ds, const VkPipelineColorBlendStateCreateInfo &cb, const VkPipelineDynamicStateCreateInfo &dy, VkPipelineLayout layout, VkRenderPass renderPass) noexcept#

Create a Vulkan graphics pipeline create info.

Parameters:
  • stageCount – Number of shader stages.

  • stages – Pointer to Vulkan pipeline shader stage create info(s).

  • vi – Vulkan pipeline vertex input state create info.

  • ia – Vulkan pipeline input assembly state create info.

  • vs – Vulkan pipeline viewport state create info.

  • rs – Vulkan pipeline rasterization state create info.

  • ms – Vulkan pipeline multisample state create info.

  • ds – Vulkan pipeline depth stencil state create info.

  • cb – Vulkan pipeline color blend state create info.

  • dy – Vulkan pipeline dynamic state create info.

  • layout – Vulkan pipeline layout.

  • renderPass – Vulkan render pass.

Returns:

VkGraphicsPipelineCreateInfo.