Added Shader

This commit is contained in:
grayson committed 2021-08-22 21:40:50 -05:00
1 parent 0724c6a84a
commit a9106ee20e
6 files changed
+79 -4

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
#pragma once
#ifdef NFENGINE
#include "GL/glew.h"
#endif
#include "Utility.h"
namespace nf {
class Shader {
public:
Shader(const char* vertexSource, const char* fragmentSource);
void bind();
~Shader();
private:
unsigned int m_id;
//Associated resource?
};
}