glprogramenvparameter4fvarb man page on SunOS

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
SunOS logo
[printable version]

GLPROGRAMENVPARAMETER(3gl)			    GLPROGRAMENVPARAMETER(3gl)

NAME
       glProgramEnvParameter4fvARB,glProgramEnvParameter4dvARB glProgramEnvPa‐
       rameter4fARB,glProgramEnvParameter4dARB - Returns the value of a	 envi‐
       ronment program parameter.

C SPECIFICATION
       void glProgramEnvParameter4fvARB( GLenum target,
					 GLuint index,
					 GLfloat *params)
       void glProgramEnvParameter4dvARB( 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 environment parameter to be updated.

       params Pointer to array of values used to update the																	       spec‐
																								       i‐
																								       fied
																								       envi‐
																								       ron‐
																								       ment
																								       param‐
																								       e‐
																								       ter.

C SPECIFICATION
       void glProgramEnvParameter4fARB( GLenum target,
					GLuint index,
					GLdouble x,
					GLdouble y,
					GLdouble z,
					GLdouble w)
       void glProgramEnvParameter4dARB( 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 environment parameter to be updated.

       x, y, z, w, Specifies the new values used to update																	       the
																								       spec‐
																								       i‐
																								       fied
																								       envi‐
																								       ron‐
																								       ment
																								       param‐
																								       e‐
																								       ter.

DESCRIPTION
       glProgramEnvParameterARB updates the value for the program  environment
       parameter  numbered  index  belonging  to  the program object currently
       bound to target.	 For glProgramEnvParameter4fARB and glProgramEnvParam‐
       eter4dARB,  the	four  components of the parameter are updated with the
       values of x,  y,	 z,  and  w,  respectively.   For  glProgramEnvParame‐
       ter4fvARB  and  glProgramEnvParameter4dvARB, 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  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.

ASSOCIATED GETS
       glGetProgramEnvParameterARB with parameters target and index.

SEE ALSO
       glBindProgramARB

				   11 Mar 04	    GLPROGRAMENVPARAMETER(3gl)
[top]

List of man pages available for SunOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net