|
gKit2 light
|
alignement des donnees / storage buffers. More...
#include <cstddef>#include <cassert>#include <vector>#include "window.h"#include "vec.h"#include "color.h"#include "program.h"Go to the source code of this file.
Classes | |
| struct | glsl::gscalar< T > |
| struct | glsl::gvec2< T > |
| struct | glsl::gvec3< T > |
| struct | glsl::gvec4< T > |
Typedefs | |
| typedef gscalar< float > | glsl::gfloat |
| typedef gscalar< int > | glsl::gint |
| typedef gscalar< unsigned int > | glsl::guint |
| typedef gscalar< bool > | glsl::gbool |
| typedef gvec2< float > | glsl::vec2 |
| typedef gvec2< int > | glsl::ivec2 |
| typedef gvec2< unsigned int > | glsl::uvec2 |
| typedef gvec2< int > | glsl::bvec2 |
| typedef gvec3< float > | glsl::vec3 |
| typedef gvec3< int > | glsl::ivec3 |
| typedef gvec3< unsigned int > | glsl::uvec3 |
| typedef gvec3< int > | glsl::bvec3 |
| typedef gvec4< float > | glsl::vec4 |
| typedef gvec4< int > | glsl::ivec4 |
| typedef gvec4< unsigned int > | glsl::uvec4 |
| typedef gvec4< int > | glsl::bvec4 |
Functions | |
| const char * | glsl_string (const GLenum type) |
| int | print_storage (const GLuint program) |
| int | init () |
| int | quit () |
| int | main (int argc, char **argv) |
Variables | |
| GLuint | program |
alignement des donnees / storage buffers.
Definition in file tuto_storage.cpp.
| typedef gscalar< float > glsl::gfloat |
Definition at line 30 of file tuto_storage.cpp.
| typedef gscalar< int > glsl::gint |
Definition at line 31 of file tuto_storage.cpp.
| typedef gscalar< unsigned int > glsl::guint |
Definition at line 32 of file tuto_storage.cpp.
| typedef gscalar< bool > glsl::gbool |
Definition at line 33 of file tuto_storage.cpp.
| typedef gvec2< float > glsl::vec2 |
Definition at line 49 of file tuto_storage.cpp.
| typedef gvec2< int > glsl::ivec2 |
Definition at line 50 of file tuto_storage.cpp.
| typedef gvec2< unsigned int > glsl::uvec2 |
Definition at line 51 of file tuto_storage.cpp.
| typedef gvec2< int > glsl::bvec2 |
Definition at line 52 of file tuto_storage.cpp.
| typedef gvec3< float > glsl::vec3 |
Definition at line 72 of file tuto_storage.cpp.
| typedef gvec3< int > glsl::ivec3 |
Definition at line 73 of file tuto_storage.cpp.
| typedef gvec3< unsigned int > glsl::uvec3 |
Definition at line 74 of file tuto_storage.cpp.
| typedef gvec3< int > glsl::bvec3 |
Definition at line 75 of file tuto_storage.cpp.
| typedef gvec4< float > glsl::vec4 |
Definition at line 92 of file tuto_storage.cpp.
| typedef gvec4< int > glsl::ivec4 |
Definition at line 93 of file tuto_storage.cpp.
| typedef gvec4< unsigned int > glsl::uvec4 |
Definition at line 94 of file tuto_storage.cpp.
| typedef gvec4< int > glsl::bvec4 |
Definition at line 95 of file tuto_storage.cpp.
| const char * glsl_string | ( | const GLenum | type | ) |
Definition at line 100 of file tuto_storage.cpp.
| int print_storage | ( | const GLuint | program | ) |
Definition at line 126 of file tuto_storage.cpp.
| int init | ( | ) |
Definition at line 203 of file tuto_storage.cpp.
| int quit | ( | ) |
Definition at line 251 of file tuto_storage.cpp.
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 258 of file tuto_storage.cpp.
| GLuint program |
Definition at line 201 of file tuto_storage.cpp.