File: getpointerv.3gl

package info (click to toggle)
vnc4 4.1.1%2BX4.3.0-37
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 171,636 kB
  • ctags: 288,245
  • sloc: ansic: 2,205,268; cpp: 56,345; sh: 38,092; pascal: 13,773; asm: 12,656; tcl: 9,182; lisp: 7,831; perl: 3,364; makefile: 2,957; yacc: 2,902; objc: 2,698; xml: 2,614; python: 2,383; lex: 1,477; awk: 901; csh: 58; sed: 50
file content (72 lines) | stat: -rw-r--r-- 1,951 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
'\" te
'\"! tbl|eqn | mmdoc
'\"macro stdmacro
.ds Vn Version 1.2
.ds Dt 24 September 1999
.ds Re Release 1.2.1
.ds Dp Jan 14 18:30
.ds Dm 01 getpointe
.ds Xs 38346 4 getpointerv.gl
.TH GLGETPOINTERV 3G
.SH NAME
.B "glGetPointerv
\- return the address of the specified pointer

.SH C SPECIFICATION
void \f3glGetPointerv\fP(
GLenum \fIpname\fP,
.nf
.ta \w'\f3void \fPglGetPointerv( 'u
	void \fI**params\fP )
.fi

.EQ
delim $$
.EN
.SH PARAMETERS
.TP \w'\fIparams\fP\ \ 'u 
\f2pname\fP
Specifies the array or buffer pointer to be returned.
Symbolic constants
\%\f3GL_COLOR_ARRAY_POINTER\fP,
\%\f3GL_EDGE_FLAG_ARRAY_POINTER\fP,
\%\f3GL_FEEDBACK_BUFFER_POINTER\fP,
\%\f3GL_INDEX_ARRAY_POINTER\fP,
\%\f3GL_NORMAL_ARRAY_POINTER\fP,
\%\f3GL_TEXTURE_COORD_ARRAY_POINTER\fP,
\%\f3GL_SELECTION_BUFFER_POINTER\fP,
and
\%\f3GL_VERTEX_ARRAY_POINTER\fP
are accepted. 
.TP
\f2params\fP
Returns the pointer value specified by \f2pname\fP.
.SH DESCRIPTION
\%\f3glGetPointerv\fP returns pointer information. \f2pname\fP 
is a symbolic constant indicating the pointer to be returned, and
\f2params\fP is a pointer to a location in which to place the returned data. 
.SH NOTES
\%\f3glGetPointerv\fP is available only if the GL version is 1.1 or greater.
.P
The pointers are all client-side state.
.P
The initial value for each pointer is 0. 
.P
When the \%\f3GL_ARB_multitexture\fP extension is supported, querying the
\%\f3GL_TEXTURE_COORD_ARRAY_POINTER\fP returns the value for the active
client texture unit.
.SH ERRORS
\%\f3GL_INVALID_ENUM\fP is generated if \f2pname\fP is not an accepted value.
.SH SEE ALSO 
\%\f3glArrayElement(3G)\fP,
\%\f3glClientActiveTextureARB(3G)\fP,
\%\f3glColorPointer(3G)\fP,
\%\f3glDrawArrays(3G)\fP,
\%\f3glEdgeFlagPointer(3G)\fP,
\%\f3glFeedbackBuffer(3G)\fP,
\%\f3glIndexPointer(3G)\fP,
\%\f3glInterleavedArrays(3G)\fP,
\%\f3glNormalPointer(3G)\fP,
\%\f3glSelectBuffer(3G)\fP,
\%\f3glTexCoordPointer(3G)\fP,
\%\f3glVertexPointer(3G)\fP