atomes 1.1.15
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
glsl_program Struct Reference

#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
 
GLuintvbo
 
GLuintarray_pointer
 
GLuintuniform_loc
 
GLuintlight_uniform
 
object_3dobj
 
float line_width
 
ColRGBAcol
 

Detailed Description

Definition at line 125 of file ogl_shading.h.

Field Documentation

◆ array_pointer

GLuint* array_pointer

Vertex pointer(s)

Definition at line 137 of file ogl_shading.h.

◆ col

ColRGBA* col

String color

Definition at line 142 of file ogl_shading.h.

◆ draw_instanced

gboolean draw_instanced

0 = single instance, 1 = multiple instances

Definition at line 134 of file ogl_shading.h.

◆ fragment_shader

GLuint fragment_shader

The fragement shader ID

Definition at line 131 of file ogl_shading.h.

◆ geometry_shader

GLuint geometry_shader

The geometry shader ID

Definition at line 130 of file ogl_shading.h.

◆ id

int id

The GLSL program ID

Definition at line 127 of file ogl_shading.h.

◆ light_uniform

GLuint* light_uniform

Light(s) uniform

Definition at line 139 of file ogl_shading.h.

◆ line_width

float line_width

Wireframe line width

Definition at line 141 of file ogl_shading.h.

◆ obj

object_3d* obj

The 3D object(s) to render

Definition at line 140 of file ogl_shading.h.

◆ object

int object

The number of 3D object(s) to render

Definition at line 128 of file ogl_shading.h.

◆ uniform_loc

GLuint* uniform_loc

Uniform location pointer(s)

Definition at line 138 of file ogl_shading.h.

◆ vao

GLuint vao

Vertex object array ID

Definition at line 135 of file ogl_shading.h.

◆ vbo

GLuint* vbo

Binding buffer(s)

Definition at line 136 of file ogl_shading.h.

◆ vert_type

GLenum vert_type

The type of vertex

Definition at line 132 of file ogl_shading.h.

◆ vertex_shader

GLuint vertex_shader

The vertex shader ID

Definition at line 129 of file ogl_shading.h.


The documentation for this struct was generated from the following file: