naev 0.12.5
opengl_shader.h
1/*
2 * See Licensing and Copyright notice in naev.h
3 */
4#pragma once
5
6#include "opengl.h"
7
8#include "colour.h"
9#include "mat4.h"
10#include "shaders.gen.h"
11
12GLuint gl_program_backend( const char *vert, const char *frag, const char *geom,
13 const char *prependtext );
14GLuint gl_program_vert_frag_geom( const char *vert, const char *frag,
15 const char *geom );
16GLuint gl_program_vert_frag( const char *vert, const char *frag );
17GLuint gl_program_vert_frag_string( const char *vert, size_t vert_size,
18 const char *frag, size_t frag_size );
19void gl_uniformColour( GLint location, const glColour *c );
20void gl_uniformAColour( GLint location, const glColour *c, GLfloat a );
21void gl_uniformMat4( GLint location, const mat4 *m );
static const double c[]
Definition rng.c:256
Definition mat4.h:12