Window with own structure
This commit is contained in:
15
first_app.hpp
Normal file
15
first_app.hpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include "cve_window.hpp"
|
||||
|
||||
namespace cve {
|
||||
class FirstApp {
|
||||
public:
|
||||
static constexpr int WIDTH = 800;
|
||||
static constexpr int HEIGHT = 600;
|
||||
|
||||
void run();
|
||||
private:
|
||||
CveWindow cveWindow{WIDTH, HEIGHT, "Hello Vulkan!"};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user