Function TRAP::Graphics::API::VulkanInits::RenderPassCreateInfo(std::span<const VkAttachmentDescription2KHR>, const VkSubpassDescription2KHR&)#

Function Documentation#

constexpr VkRenderPassCreateInfo2KHR TRAP::Graphics::API::VulkanInits::RenderPassCreateInfo(std::span<const VkAttachmentDescription2KHR> attachmentDescriptions, const VkSubpassDescription2KHR &subpassDescription) noexcept#

Create a Vulkan render pass create info.

Parameters:
  • attachmentDescriptions – List of Vulkan attachment descriptions.

  • subpassDescription – Vulkan subpass description.

Returns:

VkRenderPassCreateInfo2KHR.