Function TRAP::Graphics::API::VulkanInits::PipelineShaderStageCreateInfo#

Function Documentation#

VkPipelineShaderStageCreateInfo TRAP::Graphics::API::VulkanInits::PipelineShaderStageCreateInfo(VkShaderStageFlagBits stage, VkShaderModule shaderModule, std::string_view name)#

Create a Vulkan pipeline shader stage create info.

Parameters:
  • stage – Vulkan shader stage.

  • module – Vulkan shader module.

  • nameShader entry point name, usually “main”.

Returns:

VkPipelineShaderStageCreateInfo.