#include <prog_parameter.h>
Used by shaders/programs for uniforms, constants, varying vars, etc.
Data Fields | |
const char * | Name |
Null-terminated string. | |
gl_register_file | Type |
PROGRAM_NAMED_PARAM, CONSTANT or STATE_VAR. | |
GLenum | DataType |
GL_FLOAT, GL_FLOAT_VEC2, etc. | |
GLuint | Size |
Number of components (1. | |
GLboolean | Used |
Helper flag for GLSL uniform tracking. | |
GLboolean | Initialized |
Has the ParameterValue[] been set? | |
GLbitfield | Flags |
Bitmask of PROG_PARAM_*_BIT. | |
gl_state_index | StateIndexes [STATE_LENGTH] |
A sequence of STATE_* tokens and integers to identify GL state. |
const char* gl_program_parameter::Name |
Null-terminated string.
PROGRAM_NAMED_PARAM, CONSTANT or STATE_VAR.
GL_FLOAT, GL_FLOAT_VEC2, etc.
GLuint gl_program_parameter::Size |
Number of components (1.
.4)
GLboolean gl_program_parameter::Used |
Helper flag for GLSL uniform tracking.
GLboolean gl_program_parameter::Initialized |
Has the ParameterValue[] been set?
GLbitfield gl_program_parameter::Flags |
Bitmask of PROG_PARAM_*_BIT.
gl_state_index gl_program_parameter::StateIndexes[STATE_LENGTH] |
A sequence of STATE_* tokens and integers to identify GL state.