|
Space Sim
|
#include "types.h"Go to the source code of this file.
Functions | |
| char * | read_file (const char *filename) |
| GLuint | create_compute_shader (const char *filename) |
| GLuint | compile_shader (GLenum type, const char *filename) |
| GLuint | create_shader_program (const char *vertexPath, const char *fragmentPath) |
| void | init_shaders () |
| char * read_file | ( | const char * | filename | ) |
Definition at line 7 of file shaders.c.
References read_file(), and size.
Referenced by compile_shader(), create_compute_shader(), and read_file().
| GLuint create_compute_shader | ( | const char * | filename | ) |
Definition at line 20 of file shaders.c.
References create_compute_shader(), and read_file().
Referenced by create_compute_shader(), init(), init_density_compute_shader(), init_indirect_compute_shader(), and init_marching_cubes_compute_shader().
| GLuint compile_shader | ( | GLenum | type, |
| const char * | filename ) |
Definition at line 61 of file shaders.c.
References compile_shader(), and read_file().
Referenced by compile_shader(), and create_shader_program().
| GLuint create_shader_program | ( | const char * | vertexPath, |
| const char * | fragmentPath ) |
Definition at line 91 of file shaders.c.
References compile_shader(), and create_shader_program().
Referenced by create_shader_program(), init_atmosphere_from_space_shader(), init_atmosphere_shader(), init_clouds_shader(), init_main_shader(), init_mesh_shader(), init_postprocess_shader(), init_shadow_map_shader(), init_shadow_water_shader(), init_sky_shader(), and init_water_shader().
| void init_shaders | ( | ) |
Definition at line 498 of file shaders.c.
References init_atmosphere_from_space_shader(), init_atmosphere_shader(), init_clouds_shader(), init_density_compute_shader(), init_indirect_compute_shader(), init_main_shader(), init_marching_cubes_compute_shader(), init_mesh_shader(), init_postprocess_shader(), init_shaders(), init_shadow_map_shader(), init_shadow_water_shader(), init_sky_shader(), and init_water_shader().
Referenced by init(), init_shaders(), and process_input().