|
gKit2 light
|
le premier shader, afficher un triangle et le deplacer... More...
Go to the source code of this file.
Functions | |
| std::string | read (const char *filename) |
| int | init () |
| int | quit () |
| int | draw () |
| int | main (int argc, char **argv) |
Variables | |
| GLuint | vertex_shader |
| GLuint | fragment_shader |
| GLuint | program |
| GLuint | vao |
le premier shader, afficher un triangle et le deplacer...
Definition in file tuto2GL.cpp.
| std::string read | ( | const char * | filename | ) |
Definition at line 39 of file tuto2GL.cpp.
| int init | ( | ) |
Definition at line 57 of file tuto2GL.cpp.
| int quit | ( | ) |
Definition at line 103 of file tuto2GL.cpp.
| int draw | ( | void | ) |
Definition at line 114 of file tuto2GL.cpp.
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 133 of file tuto2GL.cpp.
| GLuint vertex_shader |
Definition at line 30 of file tuto2GL.cpp.
| GLuint fragment_shader |
Definition at line 31 of file tuto2GL.cpp.
| GLuint program |
Definition at line 33 of file tuto2GL.cpp.
| GLuint vao |
Definition at line 36 of file tuto2GL.cpp.