paramsArray = gl.GetTexEnv(pname)
gl.GetTexEnv() returns a table containing selected values of a texture environment that was specified with
gl.TexEnv(). pname names a specific texture environment parameter. The two parameters are
as follows:
#GL_TEXTURE_ENV_MODE
#GL_TEXTURE_ENV_COLORPlease consult an OpenGL reference manual for more information.
#GL_INVALID_ENUM is generated if pname is not an accepted value.
#GL_INVALID_OPERATION is generated if gl.GetTexEnv() is called between a call to glBegin and the corresponding execution to glEnd.