glGetUniformLocationARB man page on Solaris

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

GLGETUNIFORMLOCATION(3gl)			     GLGETUNIFORMLOCATION(3gl)

NAME
       glGetUniformLocationARB - returns the location of a uniform variable

C SPECIFICATION
       int glGetUniformLocationARB( GLhandleARB program,
				     const GLcharARB *name )

PARAMETERS
       program Specifies the handle of program object to be queried.

       name Points to a string containing the name of the uniform

DESCRIPTION
       glGetUniformLocationARB returns an integer that represents the location
       of an uniform variable name. name must be  a  null  terminated  string,
       without	white space. The value of -1 will be returned if name does not
       correspond to an active uniform variable name in	 program  or  if  name
       starts with the reserved prefix "gl_".

       A  valid	 name cannot be a structure, an array of structures, or a sub‐
       component of a vector or a matrix. In order to identify a  valid	 name,
       the  "." (dot) and "[]" operators can be used in <name> to operate on a
       structure or to operate on an array.

       The location of the first element of an array can be retrieved by using
       the name of the uniform, or by using the name appended with "[0]".

       The  currently  active  uniforms for program  can be queried by calling
       glGetActiveUniformARB.

ERRORS
       GL_INVALID_OPERATION is generated if program has not been  successfully
       linked.
       GL_INVALID_OPERATION  is	 generated  if	program is not of type GL_PRO‐
       GRAM_OBJECT_ARB.
       GL_INVALID_OPERATION is generated if  glGetUniformLocationARB  is  exe‐
       cuted  between the execution of glBegin and the corresponding execution
       of glEnd.

SEE ALSO
	glLinkProgramARB, glGetActiveUniformARB,
	glGetUniformARB, glUniformARB

				   11 Mar 04	     GLGETUNIFORMLOCATION(3gl)
[top]

List of man pages available for Solaris

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