Function TRAP::Graphics::API::VulkanInits::FramebufferCreateInfo#

Function Documentation#

VkFramebufferCreateInfo TRAP::Graphics::API::VulkanInits::FramebufferCreateInfo(VkRenderPass renderPass, std::span<const VkImageView> attachments, u32 width, u32 height, u32 layerCount)#

Create a Vulkan framebuffer create info.

Parameters:
  • renderPass – Vulkan render pass to use.

  • attachments – List of Vulkan image views.

  • width – Width of the frame buffer.

  • height – Height of the frame buffer.

  • layerCount – Number of layers in the frame buffer.

Returns:

VkFramebufferCreateInfo.