GLGETPROGRAMENVPARAMETER(3gl)GLGETPROGRAMENVPARAMETER(3gl)NAME
glGetProgramEnvParameterfvARB,glGetProgramEnvParameterdvARB - Returns
the value of a environment program parameter.
C SPECIFICATION
void glGetProgramEnvParameterfvARB( GLenum target,
GLuint index,
GLfloat *params)
void glGetProgramEnvParameterdvARB( GLenum target,
GLuint index,
GLdouble *params)
PARAMETERS
target Specifies the program object to be queried accepted values are: GL_VER‐
TEX_PRO‐
GRAM_ARB
and
GL_FRAG‐
MENT_PRO‐
GRAM_ARB.
index Specifies the environment parameter to be queried.
params Returns the value of the specified environment parameter.
DESCRIPTION
glGetProgramEnvParameterARB returns the current value for the program
environment parameter numbered index belonging to the program object
currently bound to target, and places the information in the array
params.
When the program target type is VERTEX_PROGRAM_ARB, each program envi‐
ronment parameter returned is an array of four values.
ERRORS
GL_INVALID_ENUM is generated if target specifies a nonexistent program
target or a program target that does not support program environment
parameters.
GL_INVALID_VALUE is generated if index is greater than or equal to the
implementation-dependent number of supported program environment param‐
eters for the program target.
GL_INVALID_ENUM is generated if target is not GL_VERTEX_PROGRAM_ARB or
GL_FRAGMENT_PROGRAM_ARB.
SEE ALSO
glProgramEnvParameter
11 Mar 04 GLGETPROGRAMENVPARAMETER(3gl)