Files
Cheap-Vulkan-Renderer/first_app.cpp
2026-02-20 11:30:18 +00:00

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;
}
}