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/skypass.h

23 lines
372 B
C
Raw Normal View History

2018-11-07 07:20:52 -05:00
#pragma once
#include <vulkan/vulkan.h>
2018-12-19 12:19:52 -05:00
#include <glm/glm.hpp>
2018-11-07 07:20:52 -05:00
class Renderer;
class SkyPass {
public:
SkyPass(Renderer& renderer);
~SkyPass();
2018-12-19 12:19:52 -05:00
void render(glm::vec3 color, VkCommandBuffer commandBuffer);
2018-11-07 07:20:52 -05:00
private:
void createPipeline();
VkPipeline pipeline_ = nullptr;
VkPipelineLayout pipelineLayout_ = nullptr;
Renderer& renderer_;
};