|
atomes 1.2.1
atomes: an atomic scale modeling tool box
|
#include <ogl_shading.h>
Collaboration diagram for glsl_program:Data Fields | |
| int | id |
| int | object |
| GLuint | vertex_shader |
| GLuint | geometry_shader |
| GLuint | fragment_shader |
| GLenum | vert_type |
| gboolean | draw_instanced |
| GLuint | vao |
| GLuint * | vbo |
| GLuint * | array_pointer |
| GLuint * | uniform_loc |
| GLuint * | light_uniform |
| object_3d * | obj |
| float | line_width |
| ColRGBA * | col |
Definition at line 130 of file ogl_shading.h.
| GLuint* array_pointer |
Vertex pointer(s)
Definition at line 142 of file ogl_shading.h.
| ColRGBA* col |
String color
Definition at line 147 of file ogl_shading.h.
| gboolean draw_instanced |
0 = single instance, 1 = multiple instances
Definition at line 139 of file ogl_shading.h.
| GLuint fragment_shader |
The fragment shader ID
Definition at line 136 of file ogl_shading.h.
| GLuint geometry_shader |
The geometry shader ID
Definition at line 135 of file ogl_shading.h.
| int id |
The GLSL program ID
Definition at line 132 of file ogl_shading.h.
| GLuint* light_uniform |
Light(s) uniform
Definition at line 144 of file ogl_shading.h.
| float line_width |
Wireframe line width
Definition at line 146 of file ogl_shading.h.
| object_3d* obj |
The 3D object(s) to render
Definition at line 145 of file ogl_shading.h.
| int object |
The number of 3D object(s) to render
Definition at line 133 of file ogl_shading.h.
| GLuint* uniform_loc |
Uniform location pointer(s)
Definition at line 143 of file ogl_shading.h.
| GLuint vao |
Vertex object array ID
Definition at line 140 of file ogl_shading.h.
| GLuint* vbo |
Binding buffer(s)
Definition at line 141 of file ogl_shading.h.
| GLenum vert_type |
The type of vertex
Definition at line 137 of file ogl_shading.h.
| GLuint vertex_shader |
The vertex shader ID
Definition at line 134 of file ogl_shading.h.