- Name
-
gl.GetArray -- return the value or values of a selected parameter as an array
- Synopsis
-
paramsArray = gl.GetArray(pname)
- Function
-
This function does the same as gl.Get() except that the values are returned
as an array. See gl.Get for details.
Please consult an OpenGL reference manual for more information.
- Inputs
-
- pname
- specifies the parameter value to be returned
- Results
-
- paramsArray
- parameter values in an array
- Errors
-
#GL_INVALID_ENUM
is generated if pname
is not an accepted value.
#GL_INVALID_OPERATION
is generated if gl.Get() is executed between the execution of gl.Begin() and the corresponding execution of gl.End() .