Vertex positions no longer hard coded

This commit is contained in:
2026-02-20 19:01:01 +00:00
parent 9477f686c6
commit b55769bbf2
4 changed files with 26 additions and 5 deletions

View File

@@ -4,6 +4,7 @@
#include "cve_pipeline.hpp"
#include "cve_device.hpp"
#include "cve_swap_chain.hpp"
#include "cve_model.hpp"
#include <memory>
#include <vector>
@@ -22,6 +23,7 @@ namespace cve {
void run();
private:
void loadModels();
void createPipelineLayout();
void createPipeline();
void createCommandBuffers();
@@ -33,5 +35,6 @@ namespace cve {
std::unique_ptr<CvePipeline> cvePipeline;
VkPipelineLayout pipelineLayout;
std::vector<VkCommandBuffer> commandBuffers;
std::unique_ptr<CveModel> cveModel;
};
}