|
gKit2 light
|
alignement des donnees / uniform 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 > |
| struct | glsl::array::gscalar< T > |
| struct | glsl::array::gvec2< T > |
| struct | glsl::array::gvec3< T > |
| struct | glsl::array::gvec4< T > |
Typedefs | |
| typedef gscalar< float > | glsl::array::gfloat |
| typedef gscalar< int > | glsl::array::gint |
| typedef gscalar< unsigned int > | glsl::array::guint |
| typedef gscalar< bool > | glsl::array::gbool |
| typedef gvec2< float > | glsl::array::vec2 |
| typedef gvec2< int > | glsl::array::ivec2 |
| typedef gvec2< unsigned int > | glsl::array::uvec2 |
| typedef gvec2< int > | glsl::array::bvec2 |
| typedef gvec3< float > | glsl::array::vec3 |
| typedef gvec3< int > | glsl::array::ivec3 |
| typedef gvec3< unsigned int > | glsl::array::uvec3 |
| typedef gvec3< int > | glsl::array::bvec3 |
| typedef gvec4< float > | glsl::array::vec4 |
| typedef gvec4< int > | glsl::array::ivec4 |
| typedef gvec4< unsigned int > | glsl::array::uvec4 |
| typedef gvec4< int > | glsl::array::bvec4 |
Functions | |
| const char * | glsl_string (const GLenum type) |
| int | print_uniform (const GLuint program) |
| int | init () |
| int | quit () |
| int | main (int argc, char **argv) |
Variables | |
| GLuint | program |
alignement des donnees / uniform buffers.
Definition in file tuto_uniform_buffers.cpp.
| typedef gscalar<float> glsl::array::gfloat |
Definition at line 111 of file tuto_uniform_buffers.cpp.
| typedef gscalar<int> glsl::array::gint |
Definition at line 112 of file tuto_uniform_buffers.cpp.
| typedef gscalar<unsigned int> glsl::array::guint |
Definition at line 113 of file tuto_uniform_buffers.cpp.
| typedef gscalar<bool> glsl::array::gbool |
Definition at line 114 of file tuto_uniform_buffers.cpp.
| typedef gvec2<float> glsl::array::vec2 |
Definition at line 129 of file tuto_uniform_buffers.cpp.
| typedef gvec2<int> glsl::array::ivec2 |
Definition at line 130 of file tuto_uniform_buffers.cpp.
| typedef gvec2<unsigned int> glsl::array::uvec2 |
Definition at line 131 of file tuto_uniform_buffers.cpp.
| typedef gvec2<int> glsl::array::bvec2 |
Definition at line 132 of file tuto_uniform_buffers.cpp.
| typedef gvec3<float> glsl::array::vec3 |
Definition at line 151 of file tuto_uniform_buffers.cpp.
| typedef gvec3<int> glsl::array::ivec3 |
Definition at line 152 of file tuto_uniform_buffers.cpp.
| typedef gvec3<unsigned int> glsl::array::uvec3 |
Definition at line 153 of file tuto_uniform_buffers.cpp.
| typedef gvec3<int> glsl::array::bvec3 |
Definition at line 154 of file tuto_uniform_buffers.cpp.
| typedef gvec4<float> glsl::array::vec4 |
Definition at line 170 of file tuto_uniform_buffers.cpp.
| typedef gvec4<int> glsl::array::ivec4 |
Definition at line 171 of file tuto_uniform_buffers.cpp.
| typedef gvec4<unsigned int> glsl::array::uvec4 |
Definition at line 172 of file tuto_uniform_buffers.cpp.
| typedef gvec4<int> glsl::array::bvec4 |
Definition at line 173 of file tuto_uniform_buffers.cpp.
| const char * glsl_string | ( | const GLenum | type | ) |
Definition at line 180 of file tuto_uniform_buffers.cpp.
| int print_uniform | ( | const GLuint | program | ) |
Definition at line 208 of file tuto_uniform_buffers.cpp.
| int init | ( | ) |
Definition at line 280 of file tuto_uniform_buffers.cpp.
| int quit | ( | ) |
Definition at line 341 of file tuto_uniform_buffers.cpp.
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 348 of file tuto_uniform_buffers.cpp.
| GLuint program |
Definition at line 278 of file tuto_uniform_buffers.cpp.