mightymandel v16

GPU-based Mandelbrot set explorer

shader.h
Go to the documentation of this file.
1 // mightymandel -- GPU-based Mandelbrot Set explorer
2 // Copyright (C) 2012,2013,2014 Claude Heiland-Allen
3 // License GPL3+ http://www.gnu.org/licenses/gpl.html
4 
5 #ifndef SHADER_H
6 #define SHADER_H 1
7 
13 #include <GL/glew.h>
14 
15 void debug_program(GLuint program, const char *name);
16 void compile_shader(GLint program, GLenum type, const GLchar *source);
17 GLint compile_program_tf(const char *name, const GLchar *vert, const GLchar *geom, const GLchar *frag, int nvaryings, const GLchar **varyings);
18 GLint compile_program(const char *name, const GLchar *vert, const GLchar *geom, const GLchar *frag);
19 
20 #endif