// Copyright (C) 2020 Jérôme Leclercq // This file is part of the "Nazara Engine - Renderer module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_OPENGLRENDERER_OPENGLRENDERPIPELINE_HPP #define NAZARA_OPENGLRENDERER_OPENGLRENDERPIPELINE_HPP #include #include #include #include #include #include namespace Nz { class NAZARA_OPENGLRENDERER_API OpenGLRenderPipeline : public RenderPipeline { public: OpenGLRenderPipeline(OpenGLDevice& device, RenderPipelineInfo pipelineInfo); ~OpenGLRenderPipeline() = default; void Apply(const GL::Context& context) const; inline const RenderPipelineInfo& GetPipelineInfo() const; private: RenderPipelineInfo m_pipelineInfo; GL::Program m_program; }; } #include #endif // NAZARA_OPENGLRENDERER_OPENGLRENDERPIPELINE_HPP