Function TRAP::Graphics::API::VulkanInits::RenderPassBeginInfo#

Function Documentation#

VkRenderPassBeginInfo TRAP::Graphics::API::VulkanInits::RenderPassBeginInfo(VkRenderPass renderPass, VkFramebuffer frameBuffer, const VkRect2D &renderArea, std::span<const VkClearValue> colorValues)#

Create a Vulkan render pass begin info.

Parameters:
  • renderPass – Vulkan render pass to use.

  • frameBuffer – Vulkan frame buffer to use.

  • renderArea – Vulkan render area.

  • colorValues – List of Vulkan clear values for color attachments.

Returns:

VkRenderPassBeginInfo.