Files
eepp/include/eepp/graphics/shaderprogrammanager.hpp
Martín Lucas Golini 3a4a51423f Optimized imports.
--HG--
branch : dev-2.1
2018-01-11 18:43:24 -03:00

29 lines
797 B
C++

#ifndef EE_GRAPHICSSHADERPROGRAMANAGER_HPP
#define EE_GRAPHICSSHADERPROGRAMANAGER_HPP
#include <eepp/graphics/base.hpp>
#include <eepp/graphics/shaderprogram.hpp>
#include <eepp/system/singleton.hpp>
#include <eepp/system/resourcemanager.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();
};
}}
#endif