GLPROGRAMLOCALPARAMETER(3gl)GLPROGRAMLOCALPARAMETER(3gl)NAME
glProgramLocalParameter4fvARB,glProgramLocalParameter4dvARB glProgram‐
LocalParameter4fARB,glProgramLocalParameter4dARB - Returns the value of
a local program parameter.
C SPECIFICATION
void glProgramLocalParameter4fvARB( GLenum target,
GLuint index,
GLfloat *params)
void glProgramLocalParameter4dvARB( GLenum target,
GLuint index,
GLdouble *params)
PARAMETERS
target Specifies the program object to be updated. Accepted values are:
GL_VER‐
TEX_PRO‐
GRAM_ARB
and
GL_FRAG‐
MENT_PRO‐
GRAM_ARB.
index Specifies the local parameter to be updated.
params Pointer to array of values used to update the spec‐
i‐
fied
local
param‐
e‐
ter.
C SPECIFICATION
void glProgramLocalParameter4fARB( GLenum target,
GLuint index,
GLdouble x,
GLdouble y,
GLdouble z,
GLdouble w)
void glProgramLocalParameter4dARB( GLenum target,
GLuint index,
GLdouble x,
GLdouble y,
GLdouble z,
GLdouble w)
PARAMETERS
target Specifies the program object to be updated. Accepted values are:
GL_VER‐
TEX_PRO‐
GRAM_ARB
and
GL_FRAG‐
MENT_PRO‐
GRAM_ARB.
index Specifies the local parameter to be updated.
x, y, z, w Specifies the new values used to update the
spec‐
i‐
fied
local
param‐
e‐
ter.
DESCRIPTION
glProgramLocalParameterARB updates the value for the program local
parameter numbered index belonging to the program object currently
bound to target. For glProgramLocalParameter4fARB and glProgramLocal‐
Parameter4dARB, the four components of the parameter are updated with
the values of x, y, z, and w, respectively. For glProgramLocalParame‐
ter4fvARB and glProgramLocalParameter4dvARB, the four components of the
parameter are updated with the array of four values pointed to by
params.
ERRORS
GL_INVALID_ENUM is generated if target specifies a nonexistent program
target or a program target that does not support program local parame‐
ters.
GL_INVALID_VALUE is generated if index is greater than or equal to the
implementation-dependent number of supported program local parameters
for the program target.
GL_INVALID_ENUM is generated if target is not GL_VERTEX_PROGRAM_ARB or
GL_FRAGMENT_PROGRAM_ARB.
ASSOCIATED GETS
glGetProgramLocalParameterARB with parameters target and index.
SEE ALSO
glBindProgramARB
11 Mar 04 GLPROGRAMLOCALPARAMETER(3gl)