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