|
atomes 1.3.1
atomes: an atomic scale modeling tool box
|
#include <ogl_shading.h>
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 118 of file ogl_shading.h.
| GLuint* array_pointer |
Vertex pointer(s)
Definition at line 130 of file ogl_shading.h.
| ColRGBA* col |
String color
Definition at line 135 of file ogl_shading.h.
| gboolean draw_instanced |
0 = single instance, 1 = multiple instances
Definition at line 127 of file ogl_shading.h.
| GLuint fragment_shader |
The fragment shader ID
Definition at line 124 of file ogl_shading.h.
| GLuint geometry_shader |
The geometry shader ID
Definition at line 123 of file ogl_shading.h.
| int id |
The GLSL program ID
Definition at line 120 of file ogl_shading.h.
| GLuint* light_uniform |
Light(s) uniform
Definition at line 132 of file ogl_shading.h.
| float line_width |
Wireframe line width
Definition at line 134 of file ogl_shading.h.
| object_3d* obj |
The 3D object(s) to render
Definition at line 133 of file ogl_shading.h.
| int object |
The number of 3D object(s) to render
Definition at line 121 of file ogl_shading.h.
| GLuint* uniform_loc |
Uniform location pointer(s)
Definition at line 131 of file ogl_shading.h.
| GLuint vao |
Vertex object array ID
Definition at line 128 of file ogl_shading.h.
| GLuint* vbo |
Binding buffer(s)
Definition at line 129 of file ogl_shading.h.
| GLenum vert_type |
The type of vertex
Definition at line 125 of file ogl_shading.h.
| GLuint vertex_shader |
The vertex shader ID
Definition at line 122 of file ogl_shading.h.