Entropie git · main
Entropie festival game; first steps
C 88.5% Markdown 9.1% GLSL 2.3%git clone https://git.christianimmanuel.de/games/Entropie.gitwget https://git.christianimmanuel.de/games/Entropie/archive/Entropie.tar.gzentropie/src/render/shader.h raw
#ifndef RENDER_SHADER_H
#define RENDER_SHADER_H
#include "core/gl.h"
/*
* Compiles and links a program from two asset files. Returns 0 on failure.
* Shader files have no #version line: the loader prepends
* "#version 330 core" and shaders/common.glsl (shared noise helpers).
*/
GLuint Shader_load(const char *vert_asset, const char *frag_asset);
void Shader_destroy(GLuint *program);
#endif /* RENDER_SHADER_H */