This commit is contained in:
2025-06-19 05:29:06 -04:00
parent 9929e69f22
commit 91190987ed
30 changed files with 2754 additions and 475 deletions

View File

@ -1,6 +1,6 @@
#pragma once
#include "file.h"
#include "COMMON.h"
#define SHADER_BUFFER_MAX 2048
@ -9,6 +9,6 @@ struct Shader
GLuint handle = 0;
};
bool shader_init(Shader* self, const char* vertexPath, const char* fragmentPath);
bool shader_init(Shader* self, const char* vertex, const char* fragment);
void shader_free(Shader* self);
void shader_use(Shader* self);