GLGETPROGRAMLOCALPARAMETER(3gl)GLGETPROGRAMLOCALPARAMETER(3gl)NAME
glGetProgramLocalParameterfvARB,glGetProgramLocalParameterdvARB -
Returns the value of a local program parameter.
C SPECIFICATION
void glGetProgramLocalParameterfvARB( GLenum target,
GLuint index,
GLfloat *params)
void glGetProgramLocalParameterdvARB( 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 local parameter to be queried.
params Returns the value of the specified local parameter.
DESCRIPTION
glGetProgramLocalParameterARB returns the current value for the program
local parameter numbered index belonging to the program object cur‐
rently bound to target, and places the information in the array params.
When the program target type is VERTEX_PROGRAM_ARB, each program local
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 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.
SEE ALSO
glProgramLocalParameter
11 Mar 04 GLGETPROGRAMLOCALPARAMETER(3gl)