19 entt::registry& t_reg,
21 VkRenderPass t_GlobalRenderPass,
22 std::shared_ptr<Fling::BaseEditor> t_Editor,
23 std::shared_ptr<Fling::Shader> t_Vert,
24 std::shared_ptr<Fling::Shader> t_Frag
29 void Draw(
CommandBuffer& t_CmdBuf, VkFramebuffer t_PresentFrameBuf,
UINT32 t_ActiveFrameInFlight, entt::registry& t_reg,
float DeltaTime)
override;
37 void CleanUp(entt::registry& t_reg)
override;
VkPipelineLayout m_pipelineLayout
Definition: ImGuiSubpass.h:61
struct Fling::ImGuiSubpass::PushConstBlock pushConstBlock
void Draw(CommandBuffer &t_CmdBuf, VkFramebuffer t_PresentFrameBuf, UINT32 t_ActiveFrameInFlight, entt::registry &t_reg, float DeltaTime) override
Definition: ImGuiSubpass.cpp:71
INT32 m_indexCount
Definition: ImGuiSubpass.h:77
VkDescriptorPool m_descriptorPool
Definition: ImGuiSubpass.h:58
VkPipeline m_pipeLine
Definition: ImGuiSubpass.h:62
A subpass represents one part of a RenderPipeline.
Definition: Subpass.h:25
void PrepareAttachments() override
Add any attachments to a frame buffer that this subpass may need.
Definition: ImGuiSubpass.cpp:164
Base class that represents a window to the Fling Engine.
Definition: FlingWindow.h:27
void CreateDescriptorSets(VkDescriptorPool t_Pool, entt::registry &t_reg) override
Given the frame buffers and the registry, create any descriptor sets that we may need Assumes that th...
Definition: ImGuiSubpass.cpp:159
std::unique_ptr< class Buffer > m_vertexBuffer
Definition: ImGuiSubpass.h:55
void CreateGraphicsPipeline() override
Definition: ImGuiSubpass.cpp:169
Definition: ImGuiSubpass.h:13
glm::vec2 scale
Definition: ImGuiSubpass.h:51
VkSampler m_sampler
Definition: ImGuiSubpass.h:71
Encapsulates functionality of a Vulkan Command buffer.
Definition: CommandBuffer.h:17
A logical device represents the application view of the device.
Definition: LogicalDevice.h:13
VkDeviceMemory m_fontMemory
Definition: ImGuiSubpass.h:68
ImGuiSubpass(const LogicalDevice *t_Dev, const Swapchain *t_Swap, entt::registry &t_reg, FlingWindow *t_Window, VkRenderPass t_GlobalRenderPass, std::shared_ptr< Fling::BaseEditor > t_Editor, std::shared_ptr< Fling::Shader > t_Vert, std::shared_ptr< Fling::Shader > t_Frag)
Definition: ImGuiSubpass.cpp:20
void BuildCommandBuffer(VkCommandBuffer t_commandBuffer)
Definition: ImGuiSubpass.cpp:87
INT32 m_vertexCount
Definition: ImGuiSubpass.h:76
std::shared_ptr< Fling::BaseEditor > m_Editor
Instance of the editor that we will get what commands to build from.
Definition: ImGuiSubpass.h:74
void CleanUp(entt::registry &t_reg) override
Cleanup any allocated resources that you may need a registry for.
Definition: ImGuiSubpass.cpp:415
VkDescriptorSetLayout m_descriptorSetLayout
Definition: ImGuiSubpass.h:59
VkDescriptorSet m_descriptorSet
Definition: ImGuiSubpass.h:64
Represents a swap chain that can be used throughout the program.
Definition: SwapChain.h:21
VkImage m_fontImage
Definition: ImGuiSubpass.h:69
VkPipelineCache m_pipelineCache
Definition: ImGuiSubpass.h:60
int32_t INT32
Definition: FlingTypes.h:18
virtual ~ImGuiSubpass()
Definition: ImGuiSubpass.cpp:54
std::unique_ptr< class Buffer > m_indexBuffer
Definition: ImGuiSubpass.h:56
VkRenderPass m_GlobalRenderPass
Definition: ImGuiSubpass.h:79
void PrepareResources()
Definition: ImGuiSubpass.cpp:435
Definition: ImGuiSubpass.h:49
void UpdateUniforms()
Definition: ImGuiSubpass.cpp:442
glm::vec2 translate
Definition: ImGuiSubpass.h:52
VkImageView m_fontImageView
Definition: ImGuiSubpass.h:70
uint32_t UINT32
Definition: FlingTypes.h:13
void PrepImGuiStyleSettings()
Definition: ImGuiSubpass.cpp:420
FlingWindow * m_Window
Definition: ImGuiSubpass.h:66