SparrowRenderer/material.h
2015-08-07 23:48:18 +02:00

20 lines
306 B
C++

#ifndef MATERIAL_H
#define MATERIAL_H
#include "shader.h"
#include "glm/fwd.hpp"
class Material
{
public:
Material(Shader* myShader = NULL) : shader(myShader) {}
Shader* getShader() {return shader;}
virtual void bindAttributes() = 0;
protected:
Shader* shader;
};
#endif // MATERIAL_H