Function TRAP::Graphics::API::VulkanInits::SubPassDescription(VkPipelineBindPoint, std::span<const VkAttachmentReference>, std::span<const VkAttachmentReference>)#

Function Documentation#

constexpr VkSubpassDescription TRAP::Graphics::API::VulkanInits::SubPassDescription(VkPipelineBindPoint bindPoint, std::span<const VkAttachmentReference> inputAttachments, std::span<const VkAttachmentReference> colorAttachments) noexcept#

Create a Vulkan subpass description.

Parameters:
  • bindPoint – Vulkan pipeline bind point.

  • inputAttachments – Vulkan input attachments.

  • colorAttachments – Vulkan color attachments.

Returns:

VkSubpassDescription.