add new struct and events

This commit is contained in:
2025-04-08 15:16:20 +03:00
parent ff3122c74d
commit 1ab87dd53d
35 changed files with 264 additions and 624 deletions

21
example/main.cpp Executable file
View File

@@ -0,0 +1,21 @@
#include "layers/ui_layer/ui_layer.hpp"
namespace sandbox
{
class app : public VE::application
{
public:
app(std::string app_name) : VE::application{ app_name } {};
~app() = default;
};
}
auto main(int argc, char* args[]) -> int
{
sandbox::app app{ "vertex_engine_sandbox" };
app.push_layer(
new sandbox::ui_layer{}
);
app.run();
}