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
8
#include <
components/UI/VexUI.hpp
>
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
VexUI.hpp
This file defines vex ui class, very basic ui system.
vex
Definition
AssetTypes.hpp:10
vex::UiComponent::UiComponent
UiComponent(std::shared_ptr< VexUI > ui)
Constructor for UiComponent, initializes the VexUI instance.
Definition
UiComponent.hpp:14
Core
include
components
GameComponents
UiComponent.hpp
Generated by
1.16.1