13#include <vulkan/vulkan_core.h>
34 VkImage m_ColorRTImages[MaxSimultaneousRenderTargets];
36 VkDeviceMemory m_ColorRTDeviceMemory[MaxSimultaneousRenderTargets];
37 VkImageView m_ColorRTViews[MaxSimultaneousRenderTargets];
39 bool bSwapChainColorRenderTarget =
false;
44 VkImage m_DepthRTImage;
46 VkDeviceMemory m_DepthRTDeviceMemory;
47 VkImageView m_DepthRTView;
56 uint32_t m_NumColorRenderTargets;
59 bool bDepthRenderTarget =
false;
71 class FVulkanFramebuffer
76 VkFramebuffer GetHandle()
const {
return m_Framebuffer; }
78 ~FVulkanFramebuffer();
83 VkFramebuffer m_Framebuffer;
84 VkRect2D m_RenderArea;
Karma Engine Vulkan RHI Render Pass definitions.
Manages Vulkan device resources and operations.
Definition VulkanDevice.h:33
The actual Vulkan renderpass Engine class.
Definition VulkanRenderPass.h:591
Data structure for Vulkan's render targets (color buffers and depth buffer).
Definition VulkanRenderPass.h:535
May move to more abstract since any graphic api should use such render targets' information.
Definition VulkanFramebuffer.h:30
std::vector< ColorRenderTarget > m_ColorRenderTargets
Array of of color rendertargets for each swapchain image.
Definition VulkanFramebuffer.h:55
Karma's std::vector wrapper with additional functionalities.
Definition KarmaTypes.h:243
Definition VulkanFramebuffer.h:33
Definition VulkanFramebuffer.h:43