2014-10-22 22:52:04 +00:00
|
|
|
#ifndef SHADER_HH_INCLUDED
|
|
|
|
#define SHADER_HH_INCLUDED
|
|
|
|
|
|
|
|
#include "model.hh"
|
|
|
|
#include <string>
|
|
|
|
#include <ACGL/OpenGL/Creator/ShaderProgramCreator.hh>
|
|
|
|
|
|
|
|
class Shader {
|
|
|
|
public:
|
|
|
|
Shader(std::string filePath, Model model);
|
2014-10-24 08:48:45 +00:00
|
|
|
Shader();
|
2014-10-22 22:52:04 +00:00
|
|
|
ACGL::OpenGL::SharedShaderProgram getReference();
|
|
|
|
~Shader();
|
|
|
|
private:
|
|
|
|
ACGL::OpenGL::SharedShaderProgram reference;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|