VEX Engine
Retro looking game engine made in vulkan mostly because i wanted to understand it better.
Loading...
Searching...
No Matches
EditorImGUIWrapper.hpp
Go to the documentation of this file.
1
6
7#pragma once
8#include <imgui.h>
11
14public:
15
21 EditorImGUIWrapper(SDL_Window* window, vex::VulkanContext& vulkanContext)
22 : vex::VulkanImGUIWrapper(window, vulkanContext) {}
23
25 void init() override {
27 ImGuiIO& io = ImGui::GetIO();
28 io.IniFilename = "editorLayout.ini";
29 }
30
32 void beginFrame() override;
33
36 void processEvent(const SDL_Event* event) override;
37};
This file defines class with Imgui for vulkan backend definition.
void processEvent(const SDL_Event *event) override
Processes SDL events specifically for ImGUI interaction within the editor.
void beginFrame() override
Overrides the base class function to begin a new ImGUI frame.
EditorImGUIWrapper(SDL_Window *window, vex::VulkanContext &vulkanContext)
Constructs an EditorImGUIWrapper.
void init() override
Initializes ImGUI for the editor, setting a custom layout file.
Class with Imgui for vulkan backend definition, inheriting from ImGUIWrapper.
void init() override
Initialization called inside Engine class.
VulkanImGUIWrapper(SDL_Window *window, VulkanContext &vulkanContext)
Constructor for VulkanImGUIWrapper.
This file defines struct holding all vulkan data, like device, surface, swapchain,...
Struct holding all vulkan data, like device, surface, swapchain, images, views, and more.
Definition context.hpp:26