VEX Engine
Retro looking game engine made in vulkan mostly because i wanted to understand it better.
Loading...
Searching...
No Matches
UiComponent.hpp
Go to the documentation of this file.
1
6
7 #pragma once
9
10 namespace vex {
12 struct UiComponent {
14 UiComponent(std::shared_ptr<VexUI> ui) : m_vexUI(ui) {}
15 std::shared_ptr<VexUI> m_vexUI;
16 bool visible = true;
17 };
18 } // namespace vex
This file defines vex ui class, very basic ui system.
UiComponent(std::shared_ptr< VexUI > ui)
Constructor for UiComponent, initializes the VexUI instance.