glgetvertexattribfvarb man page on Solaris

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

GLGETVERTEXATTRIB(3gl)					GLGETVERTEXATTRIB(3gl)

NAME
       glGetVertexAttribfvARB,	glGetVertexAttribivARB, glGetVertexAttribdvARB
       - Returns a generic vertex attribute parameter.

C SPECIFICATION
       void glGetVertexAttribfvARB( GLuint index,
				    GLenum pname,
				    GLfloat *params)
       void glGetVertexAttribivARB( GLuint index,
				    GLenum pname,
				    GLint *params)
       void glGetVertexAttribdvARB( GLuint index,
				    GLenum pname,
				    GLint *params)

PARAMETERS
       index Specifies the vertex attribute to be queried.

       pname Specifies the symbolic name of the vertex attribute to be													       queried.
																					       GL_VER‐
																					       TEX_ATTRIB_ARRAY_ENABLED_ARB,
																					       GL_VER‐
																					       TEX_ATTRIB_ARRAY_SIZE_ARB,
																					       GL_VER‐
																					       TEX_ATTRIB_ARRAY_STRIDE_ARB,
																					       GL_VER‐
																					       TEX_ATTRIB_ARRAY_TYPE_ARB,
																					       GL_VER‐
																					       TEX_ATTRIB_ARRAY_NOR‐
																					       MAL‐
																					       IZED_ARB,
																					       GL_CUR‐
																					       RENT_VER‐
																					       TEX_ATTRIB_ARB

       params Returns the requested data.

DESCRIPTION
       glGetVertexAttribARB returns the values of a vertex  attribute  parame‐
       ter.  The accepted parameter names are as follows:

       GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB Returns  non-zero  value  if	vertex
					  attribute array specified  by	 index
					  is enabled otherwise returns 0.

       GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB	  Returns the number of values (1,2,3,
					  or 4) of each element of the	vertex
					  attribute array specified by index.

       GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB, Returns  the number of bytes between
					  each element of the vertex attribute
					  array specified by index. A value of
					  0 is returned if  the	 elements  are
					  contiguous.

       GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB	  Returns  the array type for the ver‐
					  tex  attribute  array	 specified  by
					  index.     Possible	 values	  are:
					  GL_BYTE, BL_UNSIGEND_BYTE, GL_SHORT,
					  GL_UNSIGNED_SHORT,	       GL_INT,
					  GL_UNSIGNED_INT,    GL_FLOAT,	   and
					  GL_DOUBLE.

       GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB,
					  Returns  the non-zero if fixed point
					  data types for the vertex  attribute
					  array specified by index are normal‐
					  ized	when  they  are	 converted  to
					  floating point.

       GL_CURRENT_VERTEX_ATTRIB_ARB,	  Returns  a 4 element vector contain‐
					  ing the values for the current  ver‐
					  tex attribute specified by index.

ERRORS
       GL_INVALID_VALUE	 is  generated	if  index  is greater than or equal to
       GL_MAX_VERTEX_ATTRIBS_ARB.

       GL_INVALID_ENUM is generated if pname is not an accepted value.

       GL_INVALID_OPERATION is generated if index is 0 and  pname  is  GL_CUR‐
       RENT_VERTEX_ATTRIB_ARB.

SEE ALSO
       glBindAttribLocationARB, glDisableVertexAttribArrayARB, glEnableVertex‐
       AttribArrayARB, glVertexAttribARB, glVertexAttribPointerARB

				   11 Mar 04		GLGETVERTEXATTRIB(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