|
Subastra
|
Small container and wrapper over OpenGL for shader-related things. In actually it is closer to what OpenGL calls a "program". More...
#include <shader.h>
Static Public Member Functions | |
| static void | shader_init (shader_t *shader, const char *vertex_src, const char *fragment_src) |
Data Fields | |
| GLuint | gl_program |
Small container and wrapper over OpenGL for shader-related things. In actually it is closer to what OpenGL calls a "program".
|
static |
| GLuint gl_program |