base setup for osx in place
This commit is contained in:
12
engine/shader.hpp
Normal file
12
engine/shader.hpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
class Shader
|
||||
{
|
||||
GLuint prog;
|
||||
public:
|
||||
bool create(std::string vertex, std::string fragment);
|
||||
void use();
|
||||
void u_vec4(std::string name, const glm::vec4& v);
|
||||
void u_mat4(std::string name, const glm::mat4& m);
|
||||
void u_int(std::string name, int i);
|
||||
};
|
||||
Reference in New Issue
Block a user