Files
Cheap-Vulkan-Renderer/first_app.hpp

19 lines
405 B
C++

#pragma once
#include "cve_window.hpp"
#include "cve_pipeline.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!"};
CvePipeline cvePipeline{"shaders/simple_shader.vert.spv",
"shaders/simple_shader.frag.spv"};
};
}