lmao
This commit is contained in:
parent
6c47960b69
commit
c3e49cd78e
10 changed files with 81 additions and 5 deletions
22
include/shader.hpp
Normal file
22
include/shader.hpp
Normal file
|
@ -0,0 +1,22 @@
|
|||
#ifndef SHADER_HPP
|
||||
#define SHADER_HPP
|
||||
|
||||
#include <core.hpp>
|
||||
#include <glad/glad.h>
|
||||
|
||||
namespace oglu
|
||||
{
|
||||
class OGLU_API Shader
|
||||
{
|
||||
public:
|
||||
Shader(const char* vertexShaderFile, const char* fragmentShaderFile);
|
||||
|
||||
private:
|
||||
void LoadShaderSource(const char* filename, char** buffer);
|
||||
|
||||
private:
|
||||
GLuint vertexShader, fragmentShader;
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue