couch/core/Shader.h
2021-01-15 16:15:47 -06:00

27 lines
441 B
C++

#ifndef SHADER_H
#define SHADER_H
#include <string>
#include <fstream>
#include <sstream>
#include <iostream>
#include <glm/gtc/type_ptr.hpp>
#include "types.h"
class Shader {
public:
Id id;
Shader(const char *vertexPath, const char *fragmentPath);
void Use();
void UpdateView(Matrix view);
void UpdateModel(Matrix model);
void UpdateProjection(Matrix projection);
virtual Name GetName() const;
};
#endif /* SHADER_H */