1
0
Fork 0
Univerxel/src/client/render/gl/pass/ColorProgram.hpp

22 lines
418 B
C++
Raw Normal View History

2020-07-25 14:29:05 +00:00
#pragma once
#include "Program.hpp"
2020-07-25 16:45:03 +00:00
namespace pass {
/// Solid colors pass
class ColorProgram: public Program {
public:
ColorProgram();
~ColorProgram();
2020-07-25 14:29:05 +00:00
2020-09-26 22:05:43 +00:00
buffer::params setup(render::gl::Renderer *, glm::mat4 modelMatrix);
2020-07-25 14:29:05 +00:00
2020-08-30 16:35:45 +00:00
protected:
std::string getName() const override;
2020-07-25 16:45:03 +00:00
void setMVP(const GLfloat *matrix);
2020-07-25 14:29:05 +00:00
2020-07-25 16:45:03 +00:00
private:
GLuint MVPMatrixID;
};
}