first commit
This commit is contained in:
14
src/shader.h
Normal file
14
src/shader.h
Normal file
@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include "file.h"
|
||||
|
||||
#define SHADER_BUFFER_MAX 2048
|
||||
|
||||
struct Shader
|
||||
{
|
||||
GLuint handle = 0;
|
||||
};
|
||||
|
||||
bool shader_init(Shader* self, const char* vertexPath, const char* fragmentPath);
|
||||
void shader_free(Shader* self);
|
||||
void shader_use(Shader* self);
|
Reference in New Issue
Block a user