19 lines
426 B
C++
19 lines
426 B
C++
#pragma once
|
|
|
|
#include "yave_window.hpp"
|
|
#include "yave_graphics_pipeline.hpp"
|
|
|
|
namespace yave {
|
|
class Application {
|
|
public:
|
|
static constexpr int WIDTH = 800;
|
|
static constexpr int HEIGHT = 600;
|
|
|
|
void run();
|
|
|
|
private:
|
|
YaveWindow yaveWindow{WIDTH, HEIGHT, "Hello Vulkan!"};
|
|
YaveGrPipeline yavePipeline{"shaders/shader.vert.spv","shaders/shader.frag.spv"};
|
|
|
|
};
|
|
} // namespace yave
|