'\" t .\" Title: glGetBufferPointerv .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.76.1 .\" Date: 05/30/2012 .\" Manual: [FIXME: manual] .\" Source: [FIXME: source] .\" Language: English .\" .TH "GLGETBUFFERPOINTERV" "3G" "05/30/2012" "[FIXME: source]" "[FIXME: manual]" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" glGetBufferPointerv \- return the pointer to a mapped buffer object\*(Aqs data store .SH "C SPECIFICATION" .HP \w'void\ glGetBufferPointerv('u .BI "void glGetBufferPointerv(GLenum\ " "target" ", GLenum\ " "pname" ", GLvoid\ **\ " "params" ");" .SH "PARAMETERS" .PP \fItarget\fR .RS 4 Specifies the target buffer object\&. The symbolic constant must be \fBGL_ARRAY_BUFFER\fR, \fBGL_COPY_READ_BUFFER\fR, \fBGL_COPY_WRITE_BUFFER\fR, \fBGL_ELEMENT_ARRAY_BUFFER\fR, \fBGL_PIXEL_PACK_BUFFER\fR, \fBGL_PIXEL_UNPACK_BUFFER\fR, \fBGL_TEXTURE_BUFFER\fR, \fBGL_TRANSFORM_FEEDBACK_BUFFER\fR, or \fBGL_UNIFORM_BUFFER\fR\&. .RE .PP \fIpname\fR .RS 4 Specifies the pointer to be returned\&. The symbolic constant must be \fBGL_BUFFER_MAP_POINTER\fR\&. .RE .PP \fIparams\fR .RS 4 Returns the pointer value specified by \fIpname\fR\&. .RE .SH "DESCRIPTION" .PP \fBglGetBufferPointerv\fR returns pointer information\&. \fIpname\fR is a symbolic constant indicating the pointer to be returned, which must be \fBGL_BUFFER_MAP_POINTER\fR, the pointer to which the buffer object\*(Aqs data store is mapped\&. If the data store is not currently mapped, \fBNULL\fR is returned\&. \fIparams\fR is a pointer to a location in which to place the returned pointer value\&. .SH "NOTES" .PP If an error is generated, no change is made to the contents of \fIparams\fR\&. .PP The initial value for the pointer is \fBNULL\fR\&. .SH "ERRORS" .PP \fBGL_INVALID_ENUM\fR is generated if \fItarget\fR or \fIpname\fR is not an accepted value\&. .PP \fBGL_INVALID_OPERATION\fR is generated if the reserved buffer object name 0 is bound to \fItarget\fR\&. .SH "SEE ALSO" .PP \fBglBindBuffer\fR(), \fBglMapBuffer\fR() .SH "COPYRIGHT" .PP Copyright \(co 2005 Addison\-Wesley\&. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1\&.0, 8 June 1999\&. \m[blue]\fBhttp://opencontent\&.org/openpub/\fR\m[]\&.