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

22 lines
372 B
C++

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