mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-10 22:23:34 +00:00
28 lines
581 B
C++
28 lines
581 B
C++
#ifndef __MLX_FINAL_PASS__
|
|
#define __MLX_FINAL_PASS__
|
|
|
|
#include <Renderer/Descriptor.h>
|
|
#include <Renderer/Pipelines/Shader.h>
|
|
#include <Renderer/Pipelines/Graphics.h>
|
|
|
|
namespace mlx
|
|
{
|
|
class FinalPass
|
|
{
|
|
public:
|
|
FinalPass() = default;
|
|
void Init();
|
|
void Pass(class Scene& scene, class Renderer& renderer, class Texture& render_target);
|
|
void Destroy();
|
|
~FinalPass() = default;
|
|
|
|
private:
|
|
GraphicPipeline m_pipeline;
|
|
std::shared_ptr<DescriptorSet> p_set;
|
|
std::shared_ptr<Shader> p_vertex_shader;
|
|
std::shared_ptr<Shader> p_fragment_shader;
|
|
};
|
|
}
|
|
|
|
#endif
|