|
gKit2 light
|
application minimaliste openGL3 core More...
#include <fstream>#include <sstream>#include <string>#include "glcore.h"#include "SDL2/SDL.h"Go to the source code of this file.
Functions | |
| std::string | read (const char *filename) |
| bool | init_program () |
| bool | init_vao () |
| bool | init () |
| void | quit () |
| void | draw () |
| int | main (int argc, char **argv) |
Variables | |
| GLuint | vertex_shader |
| GLuint | fragment_shader |
| GLuint | program |
| GLuint | vao |
application minimaliste openGL3 core
Definition in file tuto1GL.cpp.
| std::string read | ( | const char * | filename | ) |
Definition at line 35 of file tuto1GL.cpp.
| bool init_program | ( | ) |
Definition at line 53 of file tuto1GL.cpp.
| bool init_vao | ( | ) |
Definition at line 94 of file tuto1GL.cpp.
| bool init | ( | ) |
Definition at line 102 of file tuto1GL.cpp.
| void quit | ( | ) |
Definition at line 139 of file tuto1GL.cpp.
| void draw | ( | void | ) |
Definition at line 149 of file tuto1GL.cpp.
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 168 of file tuto1GL.cpp.
| GLuint vertex_shader |
Definition at line 25 of file tuto1GL.cpp.
| GLuint fragment_shader |
Definition at line 26 of file tuto1GL.cpp.
| GLuint program |
Definition at line 28 of file tuto1GL.cpp.
| GLuint vao |
Definition at line 31 of file tuto1GL.cpp.