vengine  0.0.1
3D graphics engine
Loading...
Searching...
No Matches
Engine.hpp
Go to the documentation of this file.
1///
2/// @file Engine.hpp
3/// @brief This file contains the Engine class
4/// @namespace ven
5///
6
7#pragma once
8
15
16namespace ven {
17
18 ///
19 /// @class Engine
20 /// @brief Class for engine
21 /// @namespace ven
22 ///
23 class Engine {
24
25 public:
26
27 explicit Engine(const Config& config);
29
30 Engine(const Engine&) = delete;
31 Engine operator=(const Engine&) = delete;
32 Engine(Engine&&) = delete;
33 Engine operator=(Engine&&) = delete;
34
35 void run();
36
37 private:
38
39 void loadObjects();
40
42
49 std::unique_ptr<DescriptorPool> m_globalPool;
50 std::vector<std::unique_ptr<DescriptorPool>> m_framePools;
51
52 }; // class Engine
53
54} // namespace ven
This file contains the ImGuiWindowManager class.
This file contains the SceneManager class.
This file contains the DescriptorPool class.
This file contains the Renderer class.
This file contains utils for VEngine.
Class for camera.
Definition Camera.hpp:28
Class for device.
Definition Device.hpp:35
Class for engine.
Definition Engine.hpp:23
Camera m_camera
Definition Engine.hpp:44
std::vector< std::unique_ptr< DescriptorPool > > m_framePools
Definition Engine.hpp:50
SceneManager m_sceneManager
Definition Engine.hpp:47
Engine(const Engine &)=delete
Renderer m_renderer
Definition Engine.hpp:48
Engine(Engine &&)=delete
Device m_device
Definition Engine.hpp:46
void run()
Definition engine.cpp:86
void loadObjects()
Definition engine.cpp:28
Engine operator=(const Engine &)=delete
ENGINE_STATE m_state
Definition Engine.hpp:41
Engine operator=(Engine &&)=delete
Engine(const Config &config)
Definition engine.cpp:13
Window m_window
Definition Engine.hpp:43
std::unique_ptr< DescriptorPool > m_globalPool
Definition Engine.hpp:49
Class for Gui.
Definition Gui.hpp:30
static void cleanup()
Definition render.cpp:11
Class for renderer.
Definition Renderer.hpp:24
Class for object manager.
Definition Manager.hpp:19
Class for window.
Definition Window.hpp:26
ENGINE_STATE
Definition Utils.hpp:13
@ EXIT
Definition Utils.hpp:17