Files
eepp/include/eepp/graphics/shaderprogrammanager.hpp
Martín Lucas Golini f60d4c183e clang-formated all project source files.
Improved documentation.

--HG--
branch : dev
2020-01-10 04:39:46 -03:00

31 lines
830 B
C++

#ifndef EE_GRAPHICSSHADERPROGRAMANAGER_HPP
#define EE_GRAPHICSSHADERPROGRAMANAGER_HPP
#include <eepp/graphics/base.hpp>
#include <eepp/graphics/shaderprogram.hpp>
#include <eepp/system/resourcemanager.hpp>
#include <eepp/system/singleton.hpp>
using namespace EE::System;
namespace EE { namespace Graphics {
/** @brief The Shader Program Manager is a singleton class that manages all the instances of Shader
Programs instanciated. Releases the Shader Program instances automatically. So the user doesn't
need to release any Shader Program instance. */
class EE_API ShaderProgramManager : public ResourceManager<ShaderProgram> {
SINGLETON_DECLARE_HEADERS( ShaderProgramManager )
public:
virtual ~ShaderProgramManager();
void reload();
protected:
ShaderProgramManager();
};
}} // namespace EE::Graphics
#endif