<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd">
<html
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:mml="http://www.w3.org/1998/Math/MathML"
><head><title>glGetPointerv</title><link rel="stylesheet" href="style.css" type="text/css"/><meta name="generator" content="DocBook XSL Stylesheets V1.59.1"/><link rel="home" href="index.xml" title="PyOpenGL 2.0.1.07 Man Pages"/><link rel="up" href="reference-GL.xml" title="GL"/><link rel="previous" href="glGetPixelMap.3G.xml" title="glGetPixelMap"/><link rel="next" href="glGetPolygonStipple.3G.xml" title="glGetPolygonStipple"/></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">glGetPointerv</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="glGetPixelMap.3G.xml">Prev</a> </td><th width="60%" align="center">GL</th><td width="20%" align="right"> <a accesskey="n" href="glGetPolygonStipple.3G.xml">Next</a></td></tr></table><hr/></div><div class="refentry" lang="en"><a name="glGetPointerv.3G"/><div class="titlepage"/><div class="refnamediv"><a name="glGetPointerv.3G-name"/><h2>Name</h2><p>glGetPointerv &#8212; return the address of the specified pointer</p></div><div class="refsynopsisdiv"><a name="glGetPointerv.3G-c_spec"/><h2>C Specification</h2><table class="funcprototype" border="0" cellpadding="0" cellspacing="0"><tr><td valign="top"><code>void <tt>glGetPointerv</tt></code></td><td valign="top"><code>(</code></td><td valign="top"><code>GLenum <i><tt>pname</tt></i>, GLvoid* *<i><tt>params</tt></i>);</code></td></tr></table></div><div class="refsynopsisdiv"><a name="glGetPointerv.3G-python_spec"/><h2>Python Specification</h2><p>
			PyOpenGL does not export a binding for <tt>glGetPointerv</tt> since all memory management for array
			functions and buffer functions and handled automatically.  For more information see
			??? and ???.
		</p></div><div class="refsect1" lang="en"><a name="glGetPointerv.3G-parameters"/><h2>Parameters</h2><div class="variablelist"><dl><dt><span class="term"><i><tt>pname</tt></i></span></dt><dd>
						Specifies the array or buffer pointer to be returned. Symbolic constants
						<tt>GL_COLOR_ARRAY_POINTER</tt>, <tt>GL_EDGE_FLAG_ARRAY_POINTER</tt>,
						<tt>GL_FEEDBACK_BUFFER_POINTER</tt>, <tt>GL_INDEX_ARRAY_POINTER</tt>,
						<tt>GL_NORMAL_ARRAY_POINTER</tt>, <tt>GL_TEXTURE_COORD_ARRAY_POINTER</tt>,
						<tt>GL_SELECTION_BUFFER_POINTER</tt>, and <tt>GL_VERTEX_ARRAY_POINTER</tt> are
						accepted.
					</dd><dt><span class="term"><i><tt>params</tt></i></span></dt><dd>
						Returns the pointer value specified by <i><tt>pname</tt></i>.
					</dd></dl></div></div><div class="refsect1" lang="en"><a name="glGetPointerv.3G-description"/><h2>Description</h2><p>
			<tt>glGetPointerv</tt> returns pointer information. <i><tt>pname</tt></i> is a symbolic constant
			indicating the pointer to be returned, and <i><tt>params</tt></i> is a pointer to a location in which to place
			the returned data.
		</p></div><div class="refsect1" lang="en"><a name="glGetPointerv.3G-notes"/><h2>Notes</h2><p>
			<tt>glGetPointerv</tt> is available only if the GL version is 1.1 or greater.
		</p><p>
			The pointers are all client-side state.
		</p><p>
			The initial value for each pointer is 0.
		</p><p>
			When the <tt>GL_ARB_multitexture</tt> extension is supported, querying the
			<tt>GL_TEXTURE_COORD_ARRAY_POINTER</tt> returns the value for the active client texture unit.
		</p></div><div class="refsect1" lang="en"><a name="glGetPointerv.3G-errors"/><h2>Errors</h2><p>
			<tt>GL_INVALID_ENUM</tt> is generated if <i><tt>pname</tt></i> is not an accepted value.
		</p></div><div class="refsect1" lang="en"><a name="glGetPointerv.3G-see_also"/><h2>See Also</h2><p>
			<span class="simplelist"><a href="glArrayElement.3G.xml">glArrayElement</a>, <a href="glClientActiveTextureARB.3G.xml">glClientActiveTextureARB</a>, <a href="glColorPointer.3G.xml">glColorPointer</a>, <a href="glDrawArrays.3G.xml">glDrawArrays</a>, <a href="glEdgeFlagPointer.3G.xml">glEdgeFlagPointer</a>, <a href="glFeedbackBuffer.3G.xml">glFeedbackBuffer</a>, <a href="glIndexPointer.3G.xml">glIndexPointer</a>, <a href="glInterleavedArrays.3G.xml">glInterleavedArrays</a>, <a href="glNormalPointer.3G.xml">glNormalPointer</a>, <a href="glSelectBuffer.3G.xml">glSelectBuffer</a>, <a href="glTexCoordPointer.3G.xml">glTexCoordPointer</a>, <a href="glVertexPointer.3G.xml">glVertexPointer</a></span>
		</p></div></div><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="glGetPixelMap.3G.xml">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="reference-GL.xml">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="glGetPolygonStipple.3G.xml">Next</a></td></tr><tr><td width="40%" align="left" valign="top">glGetPixelMap </td><td width="20%" align="center"><a accesskey="h" href="index.xml">Home</a></td><td width="40%" align="right" valign="top"> glGetPolygonStipple</td></tr></table></div></body></html>
