20 lines
367 B
C++
20 lines
367 B
C++
#pragma once
|
|
|
|
#include "Program.hpp"
|
|
|
|
/// Final pass
|
|
class ColorProgram: public Program {
|
|
public:
|
|
ColorProgram();
|
|
~ColorProgram();
|
|
|
|
std::string getName() const override;
|
|
void start(Renderer *) override;
|
|
Buffer::params setup(Renderer *, glm::mat4 modelMatrix) override;
|
|
|
|
void setMVP(const GLfloat *matrix);
|
|
|
|
private:
|
|
GLuint MVPMatrixID;
|
|
};
|