diff options
author | tylermurphy534 <tylermurphy534@gmail.com> | 2022-09-19 07:08:42 -0400 |
---|---|---|
committer | tylermurphy534 <tylermurphy534@gmail.com> | 2022-09-19 07:08:42 -0400 |
commit | 8754e31367f6fcfcda4bf50d373797a048dedf53 (patch) | |
tree | 432ff2e30fcfacf115d571ca27c4f7315c7ee873 /src/first_app.hpp | |
parent | LICENSE (diff) | |
download | minecraftvulkan-8754e31367f6fcfcda4bf50d373797a048dedf53.tar.gz minecraftvulkan-8754e31367f6fcfcda4bf50d373797a048dedf53.tar.bz2 minecraftvulkan-8754e31367f6fcfcda4bf50d373797a048dedf53.zip |
start refactoring, doesnt compile
Diffstat (limited to '')
-rwxr-xr-x | src/first_app.hpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/first_app.hpp b/src/first_app.hpp index bcdf33e..081113d 100755 --- a/src/first_app.hpp +++ b/src/first_app.hpp @@ -1,8 +1,6 @@ #pragma once -#include "xe_renderer.hpp" -#include "xe_window.hpp" -#include "xe_device.hpp" +#include "xe_engine.hpp" #include "xe_game_object.hpp" #include "xe_descriptors.hpp" @@ -26,11 +24,8 @@ class FirstApp { private: void loadGameObjects(); - XeWindow xeWindow{WIDTH, HEIGHT, "Hello Vulkan!"}; - XeDevice xeDevice{xeWindow}; - XeRenderer xeRenderer{xeWindow, xeDevice}; + XeEngine xeEngine; - std::unique_ptr<XeDescriptorPool> globalPool{}; std::vector<XeGameObject> gameObjects; }; }
\ No newline at end of file |