25 lines
432 B
C++
25 lines
432 B
C++
#ifndef MESHPIPELINE_H
|
|
#define MESHPIPELINE_H
|
|
|
|
#include <vulkan/vulkan.h>
|
|
#include <memory>
|
|
#include <destrum/Graphics/Pipeline.h>
|
|
|
|
class MeshPipeline {
|
|
public:
|
|
MeshPipeline();
|
|
~MeshPipeline();
|
|
|
|
void init(GfxDevice& gfxDevice, VkFormat drawImageFormat, VkFormat depthImageFormat);
|
|
void draw();
|
|
|
|
|
|
private:
|
|
VkPipelineLayout m_pipelineLayout;
|
|
|
|
std::unique_ptr<Pipeline> m_pipeline;
|
|
|
|
};
|
|
|
|
#endif //MESHPIPELINE_H
|