Space Sim
Loading...
Searching...
No Matches
shaders.h
Go to the documentation of this file.
1#ifndef SHADERS_H
2#define SHADERS_H
3#include "types.h"
4
5
6
7char *read_file(const char *filename);
8GLuint create_compute_shader(const char *filename);
9GLuint compile_shader(GLenum type, const char *filename);
10GLuint create_shader_program(const char *vertexPath, const char *fragmentPath);
11void init_shaders();
12
13#endif
GLuint compile_shader(GLenum type, const char *filename)
Definition shaders.c:61
GLuint create_shader_program(const char *vertexPath, const char *fragmentPath)
Definition shaders.c:91
char * read_file(const char *filename)
Definition shaders.c:7
GLuint create_compute_shader(const char *filename)
Definition shaders.c:20
void init_shaders()
Definition shaders.c:498