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
2018-10-16 08:49:25 -04:00

22 lines
365 B
C++

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