glGetPointervEXT.3gl








Name


  glGetPointervEXT - return the	address	of a vertex data array





C Specification


  void glGetPointervEXT( GLenum	pname,

			 GLvoid* *params )





Parameters




  pname	  Specifies the	array pointer to be returned.  Symbolic	constants

	  GL_VERTEX_ARRAY_POINTER_EXT, GL_NORMAL_ARRAY_POINTER_EXT,

	  GL_COLOR_ARRAY_POINTER_EXT, GL_INDEX_ARRAY_POINTER_EXT,

	  GL_TEXTURE_COORD_ARRAY_POINTER_EXT, GL_EDGE_FLAG_ARRAY_POINTER_EXT,

	  are accepted.



  params  returns the array pointer value specified by pname.





Description


  glGetPointervEXT returns array pointer information. pname is a symbolic

  constant indicating the array	pointer	to be returned,	and params is a

  pointer to a location	in which to place the returned data.



Notes


  The array pointers are client	side state.



  glGetPointervEXT is part of the EXT_vertex_array extension,	not

  part of the core GL command set. If "GL_EXT_vertex_array" is

  included in the string returned by glGetString, when called with argument

  GL_EXTENSIONS, extension EXT_vertex_array is supported.



Errors


  GL_INVALID_ENUM is generated if pname	is not an accepted value.



See Also


  glArrayElementEXT, glColorPointerEXT,	glDrawArraysEXT,

  glEdgeFlagPointerEXT,	glIndexPointerEXT, glNormalPointerEXT,

  glTexCoordPointerEXT,	glVertexPointerEXT








Introduction | Alphabetic | Specification

Last Edited: Fri Feb 24, 1995

AFV