18 lines
513 B
C++
18 lines
513 B
C++
#include "first_app.hpp"
|
|
|
|
namespace cve {
|
|
void FirstApp::run() {
|
|
while (!cveWindow.shouldClose()) {
|
|
glfwPollEvents();
|
|
}
|
|
}
|
|
void FirstApp::createPipelineLayout() {
|
|
VkPipelineLayoutCreateInfo pipelineLayoutInfo{};
|
|
pipelineLayoutInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO;
|
|
pipelineLayoutInfo.setLayoutCount = 0;
|
|
pipelineLayoutInfo.pSetLayouts = nullptr;
|
|
pipelineLayoutInfo.pushConstantRangeCount = 0;
|
|
pipelineLayoutInfo.pPushConstantRanges = nullptr;
|
|
}
|
|
}
|