Muto 0.0.1
Cross-Platform Application Template
GitHub Repo | Muto Updates | Muto's Author
Loading...
Searching...
No Matches
EntryPoint.h
Go to the documentation of this file.
1#pragma once
2
3#if defined(MU_PLATFORM_WINDOWS) || defined(MU_PLATFORM_LINUX)
4
6
7int main(int argc, char** argv)
8{
9
11
12 MU_PROFILE_BEGIN_SESSION("Startup", "MutoProfile-Startup.json");
15
16 MU_PROFILE_BEGIN_SESSION("Runtime", "MutoProfile-Runtime.json");
17 app->Run();
19
20 MU_PROFILE_BEGIN_SESSION("Shutdown", "MutoProfile-Shutdown.json");
21 delete app;
23}
24
25#endif
#define MU_PROFILE_END_SESSION()
Definition Instrumentor.h:235
#define MU_PROFILE_BEGIN_SESSION(name, filepath)
Definition Instrumentor.h:234
The core application class that manages the main loop, window, layers, and event handling.
Definition Application.h:70
void PushLayer(Layer *layer)
Adds a layer to the application layer stack.
Definition Application.cpp:89
void Run()
Starts the main application loop.
Definition Application.cpp:125
Definition EditorLayer.h:13
EditorLayer()
Definition EditorLayer.cpp:38
A logging utility class for the Vesper engine.
Definition Log.h:17
static void Init()
Initializes the logging system.
Definition Log.cpp:16
Definition MutareApp.cpp:10
~Mutare()
Definition MutareApp.cpp:19
Mutare()
Definition MutareApp.cpp:12
The main namespace for the Muto engine.
Definition Application.cpp:15
Application * CreateApplication()
Definition SandboxApp.cpp:200