first commit

This commit is contained in:
2025-06-15 22:03:02 -04:00
commit 91d01a1441
25 changed files with 24689 additions and 0 deletions

14
src/shader.h Normal file
View 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);