27 #include <ht_renderpass_base.h> 28 #include <ht_vulkan.h> 29 #include <ht_vktexture.h> 30 #include <ht_vkrendertarget.h> 31 #include <ht_vkrootlayout.h> 32 #include <ht_rootlayout.h> 33 #include <ht_vkcommandpool.h> 48 bool Initialize(
const Resource::RenderPassHandle& handle,
const VkDevice& device,
49 const VkDescriptorPool& descriptorPool,
const VKSwapChain* swapchain);
53 void VUpdate()
override;
55 bool VBuildCommandList(
const ICommandPool* commandPool)
override;
57 const VkRenderPass& GetVkRenderPass()
const;
58 const VkCommandBuffer& GetVkCommandBuffer()
const;
61 const std::vector<RenderTargetHandle>& GetOutputRenderTargets()
const;
65 uint32_t m_firstInputTargetSetIndex;
66 std::vector<VkDescriptorSet> m_inputTargetDescriptorSets;
68 std::vector<RenderTargetHandle> m_renderTargets;
72 bool setupRenderPass();
73 bool setupAttachmentImages();
74 bool setupFramebuffer();
78 bool setupDescriptorSets(std::map < uint32_t, std::map < uint32_t, VKRenderTarget* >> inputTargets);
81 VkDescriptorPool m_descriptorPool;
83 VkRenderPass m_renderPass;
84 VkCommandBuffer m_commandBuffer;
90 std::map<MeshHandle, UniformBlock_vk> m_instanceBlocks;
92 std::vector<Image_vk> m_colorImages;
93 Image_vk m_depthImage;
95 VkFramebuffer m_framebuffer;
Definition: ht_vkrootlayout.h:30
Definition: ht_vkswapchain.h:55
Definition: ht_vkcommandpool.h:35
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Definition: ht_color.h:19
Definition: ht_renderpass_base.h:59
Definition: ht_commandpool.h:31
Definition: ht_vkrenderpass.h:41