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

Function Documentation#

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

Create a Vulkan subpass description.

Parameters:
  • bindPoint – Vulkan pipeline bind point.

  • inputAttachments – Vulkan input attachments.

  • colorAttachments – Vulkan color attachments.

  • depthStencilAttachment – Vulkan depth stencil attachment.

Returns:

VkSubpassDescription.