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

22 lines
354 B
C
Raw Normal View History

2018-10-15 19:52:16 -04:00
#pragma once
#include <vulkan/vulkan.h>
class Renderer;
class WorldPass {
public:
WorldPass(Renderer& renderer);
2018-10-15 20:03:01 -04:00
~WorldPass();
2018-10-15 19:52:16 -04:00
void render(VkCommandBuffer commandBuffer);
private:
void createPipeline();
VkPipelineLayout pipelineLayout_ = nullptr;
VkPipeline pipeline_ = nullptr;
Renderer& renderer_;
};