Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
graph/include/worldpass.h

20 lines
336 B
C++

#pragma once
#include <vulkan/vulkan.h>
class Renderer;
class WorldPass {
public:
WorldPass(Renderer& renderer);
void render(VkCommandBuffer commandBuffer);
private:
void createPipeline();
VkPipelineLayout pipelineLayout_ = nullptr;
VkPipeline pipeline_ = nullptr;
Renderer& renderer_;
};