1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN" "xhtml1-transitional.dtd">
3 <!-- saved from url=(0013)about:internet -->
4 <?xml-stylesheet type=
"text/xsl" href=
"mathml.xsl"?><html xmlns=
"http://www.w3.org/1999/xhtml" xmlns:
pref=
"http://www.w3.org/2002/Math/preference" pref:
renderer=
"mathplayer-dl"><head><meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8" /><link rel=
"stylesheet" type=
"text/css" href=
"opengl-man.css" /><title>glPixelStore
</title><meta name=
"generator" content=
"DocBook XSL Stylesheets V1.75.2" /></head><body><div class=
"refentry" title=
"glPixelStore"><a id=
"glPixelStore"></a><div class=
"titlepage"></div><div class=
"refnamediv"><h2>Name
</h2><p>glPixelStore — set pixel storage modes
</p></div><div class=
"refsynopsisdiv" title=
"C Specification"><h2>C Specification
</h2><div class=
"funcsynopsis"><table border=
"0" summary=
"Function synopsis" cellspacing=
"0" cellpadding=
"0" class=
"funcprototype-table"><tr><td><code class=
"funcdef">void
<b class=
"fsfunc">glPixelStoref
</b>(
</code></td><td>GLenum
<var class=
"pdparam">pname
</var>,
</td></tr><tr><td> </td><td>GLfloat
<var class=
"pdparam">param
</var><code>)
</code>;
</td></tr></table><div class=
"funcprototype-spacer"> </div></div><div class=
"funcsynopsis"><table border=
"0" summary=
"Function synopsis" cellspacing=
"0" cellpadding=
"0" class=
"funcprototype-table"><tr><td><code class=
"funcdef">void
<b class=
"fsfunc">glPixelStorei
</b>(
</code></td><td>GLenum
<var class=
"pdparam">pname
</var>,
</td></tr><tr><td> </td><td>GLint
<var class=
"pdparam">param
</var><code>)
</code>;
</td></tr></table><div class=
"funcprototype-spacer"> </div></div></div><div class=
"refsect1" title=
"Parameters"><a id=
"parameters"></a><h2>Parameters
</h2><div class=
"variablelist"><dl><dt><span class=
"term"><em class=
"parameter"><code>pname
</code></em></span></dt><dd><p>
5 Specifies the symbolic name of the parameter to be set.
6 Six values affect the packing of pixel data into memory:
7 <code class=
"constant">GL_PACK_SWAP_BYTES
</code>,
8 <code class=
"constant">GL_PACK_LSB_FIRST
</code>,
9 <code class=
"constant">GL_PACK_ROW_LENGTH
</code>,
10 <code class=
"constant">GL_PACK_IMAGE_HEIGHT
</code>,
11 <code class=
"constant">GL_PACK_SKIP_PIXELS
</code>,
12 <code class=
"constant">GL_PACK_SKIP_ROWS
</code>,
13 <code class=
"constant">GL_PACK_SKIP_IMAGES
</code>, and
14 <code class=
"constant">GL_PACK_ALIGNMENT
</code>.
15 Six more affect the unpacking of pixel data
<span class=
"emphasis"><em>from
</em></span> memory:
16 <code class=
"constant">GL_UNPACK_SWAP_BYTES
</code>,
17 <code class=
"constant">GL_UNPACK_LSB_FIRST
</code>,
18 <code class=
"constant">GL_UNPACK_ROW_LENGTH
</code>,
19 <code class=
"constant">GL_UNPACK_IMAGE_HEIGHT
</code>,
20 <code class=
"constant">GL_UNPACK_SKIP_PIXELS
</code>,
21 <code class=
"constant">GL_UNPACK_SKIP_ROWS
</code>,
22 <code class=
"constant">GL_UNPACK_SKIP_IMAGES
</code>, and
23 <code class=
"constant">GL_UNPACK_ALIGNMENT
</code>.
24 </p></dd><dt><span class=
"term"><em class=
"parameter"><code>param
</code></em></span></dt><dd><p>
25 Specifies the value that
<em class=
"parameter"><code>pname
</code></em> is set to.
26 </p></dd></dl></div></div><div class=
"refsect1" title=
"Description"><a id=
"description"></a><h2>Description
</h2><p>
27 <code class=
"function">glPixelStore
</code> sets pixel storage modes that affect the operation of subsequent
28 <a class=
"citerefentry" href=
"glReadPixels.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glReadPixels
</span></span></a> as well as the unpacking of
29 texture patterns (see
<a class=
"citerefentry" href=
"glTexImage1D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage1D
</span></span></a>,
30 <a class=
"citerefentry" href=
"glTexImage2D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage2D
</span></span></a>,
<a class=
"citerefentry" href=
"glTexImage3D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage3D
</span></span></a>,
<a class=
"citerefentry" href=
"glTexSubImage1D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexSubImage1D
</span></span></a>,
31 <a class=
"citerefentry" href=
"glTexSubImage2D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexSubImage2D
</span></span></a>,
<a class=
"citerefentry" href=
"glTexSubImage3D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexSubImage3D
</span></span></a>).
33 <em class=
"parameter"><code>pname
</code></em> is a symbolic constant indicating the parameter to be set, and
34 <em class=
"parameter"><code>param
</code></em> is the new value. Six of the twelve storage parameters affect
35 how pixel data is returned to client memory.
37 </p><div class=
"variablelist"><dl><dt><span class=
"term"><code class=
"constant">GL_PACK_SWAP_BYTES
</code></span></dt><dd><p>
39 byte ordering for multibyte color components,
44 if a four-byte component consists of bytes
45 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
47 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
51 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
53 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
57 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
59 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
63 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
65 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
69 it is stored in memory as
70 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
72 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
76 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
78 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
82 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
84 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
88 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
90 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
94 if
<code class=
"constant">GL_PACK_SWAP_BYTES
</code> is true.
95 <code class=
"constant">GL_PACK_SWAP_BYTES
</code> has no effect on the memory order of components
97 only on the order of bytes within components or indices.
99 the three components of a
<code class=
"constant">GL_RGB
</code> format pixel are always stored with
103 regardless of the value of
<code class=
"constant">GL_PACK_SWAP_BYTES
</code>.
104 </p></dd><dt><span class=
"term"><code class=
"constant">GL_PACK_LSB_FIRST
</code></span></dt><dd><p>
106 bits are ordered within a byte from least significant to most significant;
108 the first bit in each byte is the most significant one.
109 </p></dd><dt><span class=
"term"><code class=
"constant">GL_PACK_ROW_LENGTH
</code></span></dt><dd><p>
111 <code class=
"constant">GL_PACK_ROW_LENGTH
</code> defines the number of pixels in a row.
112 If the first pixel of a row is placed at location
113 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">p
</mml:mi></mml:math>
115 then the location of the first pixel of the next row is obtained by skipping
117 </p><div class=
"informalequation"><mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
120 <mml:mi mathvariant=
"italic">k
</mml:mi>
122 <mml:mfenced open=
"{" close=
"">
127 <mml:mi mathvariant=
"italic">n
</mml:mi>
129 <mml:mi mathvariant=
"italic">l
</mml:mi>
134 <mml:mfenced open=
"" close=
"">
136 <mml:mi mathvariant=
"italic">a
</mml:mi>
137 <mml:mi mathvariant=
"italic">s
</mml:mi>
141 <mml:mfenced open=
"⌈" close=
"⌉">
143 <mml:mfenced open=
"" close=
"">
145 <mml:mi mathvariant=
"italic">s
</mml:mi>
147 <mml:mi mathvariant=
"italic">n
</mml:mi>
149 <mml:mi mathvariant=
"italic">l
</mml:mi>
152 <mml:mi mathvariant=
"italic">a
</mml:mi>
162 <mml:mi mathvariant=
"italic">s
</mml:mi>
163 <mml:mo>>=
</mml:mo>
164 <mml:mi mathvariant=
"italic">a
</mml:mi>
169 <mml:mi mathvariant=
"italic">s
</mml:mi>
170 <mml:mo><</mml:mo>
171 <mml:mi mathvariant=
"italic">a
</mml:mi>
180 components or indices,
182 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>
183 is the number of components or indices in a pixel,
184 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">l
</mml:mi></mml:math>
185 is the number of pixels in a row
186 (
<code class=
"constant">GL_PACK_ROW_LENGTH
</code> if it is greater than
0,
188 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">width
</mml:mi></mml:math>
189 argument to the pixel routine otherwise),
190 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">a
</mml:mi></mml:math>
191 is the value of
<code class=
"constant">GL_PACK_ALIGNMENT
</code>, and
192 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">s
</mml:mi></mml:math>
193 is the size, in bytes, of a single component
195 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
198 <mml:mi mathvariant=
"italic">a
</mml:mi>
199 <mml:mo><</mml:mo>
200 <mml:mi mathvariant=
"italic">s
</mml:mi>
204 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
207 <mml:mi mathvariant=
"italic">a
</mml:mi>
209 <mml:mi mathvariant=
"italic">s
</mml:mi>
212 In the case of
1-bit values,
213 the location of the next row is obtained by skipping
215 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
218 <mml:mi mathvariant=
"italic">k
</mml:mi>
223 <mml:mi mathvariant=
"italic">a
</mml:mi>
225 <mml:mfenced open=
"⌈" close=
"⌉">
227 <mml:mfenced open=
"" close=
"">
229 <mml:mi mathvariant=
"italic">n
</mml:mi>
231 <mml:mi mathvariant=
"italic">l
</mml:mi>
234 <mml:mfenced open=
"" close=
"">
238 <mml:mi mathvariant=
"italic">a
</mml:mi>
247 components or indices.
249 The word
<span class=
"emphasis"><em>component
</em></span> in this description refers to the nonindex values
255 Storage format
<code class=
"constant">GL_RGB
</code>,
257 has three components per pixel:
261 </p></dd><dt><span class=
"term"><code class=
"constant">GL_PACK_IMAGE_HEIGHT
</code></span></dt><dd><p>
263 <code class=
"constant">GL_PACK_IMAGE_HEIGHT
</code> defines the number of pixels in an image
264 three-dimensional texture volume, where ``image'' is defined by all pixels
265 sharing the same third dimension index.
266 If the first pixel of a row is placed at location
267 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">p
</mml:mi></mml:math>
269 then the location of the first pixel of the next row is obtained by skipping
271 </p><div class=
"informalequation"><mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
274 <mml:mi mathvariant=
"italic">k
</mml:mi>
276 <mml:mfenced open=
"{" close=
"">
281 <mml:mi mathvariant=
"italic">n
</mml:mi>
283 <mml:mi mathvariant=
"italic">l
</mml:mi>
285 <mml:mi mathvariant=
"italic">h
</mml:mi>
290 <mml:mfenced open=
"" close=
"">
292 <mml:mi mathvariant=
"italic">a
</mml:mi>
293 <mml:mi mathvariant=
"italic">s
</mml:mi>
297 <mml:mfenced open=
"⌈" close=
"⌉">
299 <mml:mfenced open=
"" close=
"">
301 <mml:mi mathvariant=
"italic">s
</mml:mi>
303 <mml:mi mathvariant=
"italic">n
</mml:mi>
305 <mml:mi mathvariant=
"italic">l
</mml:mi>
307 <mml:mi mathvariant=
"italic">h
</mml:mi>
310 <mml:mi mathvariant=
"italic">a
</mml:mi>
320 <mml:mi mathvariant=
"italic">s
</mml:mi>
321 <mml:mo>>=
</mml:mo>
322 <mml:mi mathvariant=
"italic">a
</mml:mi>
327 <mml:mi mathvariant=
"italic">s
</mml:mi>
328 <mml:mo><</mml:mo>
329 <mml:mi mathvariant=
"italic">a
</mml:mi>
338 components or indices, where
339 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>
340 is the number of components or indices
342 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">l
</mml:mi></mml:math>
343 is the number of pixels in a row
344 (
<code class=
"constant">GL_PACK_ROW_LENGTH
</code> if it is greater than
0, the
345 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">width
</mml:mi></mml:math>
346 argument to
<a class=
"citerefentry" href=
"glTexImage3D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage3D
</span></span></a> otherwise),
347 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">h
</mml:mi></mml:math>
349 rows in a pixel image (
<code class=
"constant">GL_PACK_IMAGE_HEIGHT
</code> if it is greater than
351 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">height
</mml:mi></mml:math>
352 argument to the
<a class=
"citerefentry" href=
"glTexImage3D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage3D
</span></span></a> routine otherwise),
353 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">a
</mml:mi></mml:math>
355 <code class=
"constant">GL_PACK_ALIGNMENT
</code>, and
356 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">s
</mml:mi></mml:math>
357 is the size, in bytes, of a single
359 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
362 <mml:mi mathvariant=
"italic">a
</mml:mi>
363 <mml:mo><</mml:mo>
364 <mml:mi mathvariant=
"italic">s
</mml:mi>
368 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
371 <mml:mi mathvariant=
"italic">a
</mml:mi>
373 <mml:mi mathvariant=
"italic">s
</mml:mi>
377 The word
<span class=
"emphasis"><em>component
</em></span> in this description refers to the nonindex values
383 Storage format
<code class=
"constant">GL_RGB
</code>,
385 has three components per pixel:
389 </p></dd><dt><span class=
"term"><code class=
"constant">GL_PACK_SKIP_PIXELS
</code>,
<code class=
"constant">GL_PACK_SKIP_ROWS
</code>, and
<code class=
"constant">GL_PACK_SKIP_IMAGES
</code></span></dt><dd><p>
390 These values are provided as a convenience to the programmer;
391 they provide no functionality that cannot be duplicated simply by
392 incrementing the pointer passed to
<a class=
"citerefentry" href=
"glReadPixels.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glReadPixels
</span></span></a>.
393 Setting
<code class=
"constant">GL_PACK_SKIP_PIXELS
</code> to
394 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">i
</mml:mi></mml:math>
395 is equivalent to incrementing
397 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
400 <mml:mi mathvariant=
"italic">i
</mml:mi>
402 <mml:mi mathvariant=
"italic">n
</mml:mi>
405 components or indices,
407 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>
408 is the number of components or indices in each pixel.
409 Setting
<code class=
"constant">GL_PACK_SKIP_ROWS
</code> to
410 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">j
</mml:mi></mml:math>
411 is equivalent to incrementing
413 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
416 <mml:mi mathvariant=
"italic">j
</mml:mi>
418 <mml:mi mathvariant=
"italic">m
</mml:mi>
421 components or indices,
423 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">m
</mml:mi></mml:math>
424 is the number of components or indices per row,
425 as just computed in the
<code class=
"constant">GL_PACK_ROW_LENGTH
</code> section.
426 Setting
<code class=
"constant">GL_PACK_SKIP_IMAGES
</code> to
427 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">k
</mml:mi></mml:math>
428 is equivalent to incrementing
430 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
433 <mml:mi mathvariant=
"italic">k
</mml:mi>
435 <mml:mi mathvariant=
"italic">p
</mml:mi>
439 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">p
</mml:mi></mml:math>
440 is the number of components or indices
441 per image, as computed in the
<code class=
"constant">GL_PACK_IMAGE_HEIGHT
</code> section.
442 </p></dd><dt><span class=
"term"><code class=
"constant">GL_PACK_ALIGNMENT
</code></span></dt><dd><p>
443 Specifies the alignment requirements for the start of each pixel row in memory.
444 The allowable values are
446 2 (rows aligned to even-numbered bytes),
447 4 (word-alignment), and
448 8 (rows start on double-word boundaries).
449 </p></dd></dl></div><p>
450 The other six of the twelve storage parameters affect how pixel data is
451 read from client memory.
452 These values are significant for
453 <a class=
"citerefentry" href=
"glTexImage1D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage1D
</span></span></a>,
454 <a class=
"citerefentry" href=
"glTexImage2D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage2D
</span></span></a>,
455 <a class=
"citerefentry" href=
"glTexImage3D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage3D
</span></span></a>,
456 <a class=
"citerefentry" href=
"glTexSubImage1D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexSubImage1D
</span></span></a>,
457 <a class=
"citerefentry" href=
"glTexSubImage2D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexSubImage2D
</span></span></a>, and
458 <a class=
"citerefentry" href=
"glTexSubImage3D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexSubImage3D
</span></span></a>
461 </p><div class=
"variablelist"><dl><dt><span class=
"term"><code class=
"constant">GL_UNPACK_SWAP_BYTES
</code></span></dt><dd><p>
463 byte ordering for multibyte color components,
468 if a four-byte component consists of bytes
469 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
471 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
475 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
477 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
481 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
483 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
487 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
489 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
493 it is taken from memory as
494 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
496 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
500 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
502 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
506 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
508 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
512 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
514 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
518 if
<code class=
"constant">GL_UNPACK_SWAP_BYTES
</code> is true.
519 <code class=
"constant">GL_UNPACK_SWAP_BYTES
</code> has no effect on the memory order of components
521 only on the order of bytes within components or indices.
523 the three components of a
<code class=
"constant">GL_RGB
</code> format pixel are always stored with
527 regardless of the value of
<code class=
"constant">GL_UNPACK_SWAP_BYTES
</code>.
528 </p></dd><dt><span class=
"term"><code class=
"constant">GL_UNPACK_LSB_FIRST
</code></span></dt><dd><p>
530 bits are ordered within a byte from least significant to most significant;
532 the first bit in each byte is the most significant one.
533 </p></dd><dt><span class=
"term"><code class=
"constant">GL_UNPACK_ROW_LENGTH
</code></span></dt><dd><p>
535 <code class=
"constant">GL_UNPACK_ROW_LENGTH
</code> defines the number of pixels in a row.
536 If the first pixel of a row is placed at location
537 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">p
</mml:mi></mml:math>
539 then the location of the first pixel of the next row is obtained by skipping
541 </p><div class=
"informalequation"><mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
544 <mml:mi mathvariant=
"italic">k
</mml:mi>
546 <mml:mfenced open=
"{" close=
"">
551 <mml:mi mathvariant=
"italic">n
</mml:mi>
553 <mml:mi mathvariant=
"italic">l
</mml:mi>
558 <mml:mfenced open=
"" close=
"">
560 <mml:mi mathvariant=
"italic">a
</mml:mi>
561 <mml:mi mathvariant=
"italic">s
</mml:mi>
565 <mml:mfenced open=
"⌈" close=
"⌉">
567 <mml:mfenced open=
"" close=
"">
569 <mml:mi mathvariant=
"italic">s
</mml:mi>
571 <mml:mi mathvariant=
"italic">n
</mml:mi>
573 <mml:mi mathvariant=
"italic">l
</mml:mi>
576 <mml:mi mathvariant=
"italic">a
</mml:mi>
586 <mml:mi mathvariant=
"italic">s
</mml:mi>
587 <mml:mo>>=
</mml:mo>
588 <mml:mi mathvariant=
"italic">a
</mml:mi>
593 <mml:mi mathvariant=
"italic">s
</mml:mi>
594 <mml:mo><</mml:mo>
595 <mml:mi mathvariant=
"italic">a
</mml:mi>
604 components or indices,
606 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>
607 is the number of components or indices in a pixel,
608 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">l
</mml:mi></mml:math>
609 is the number of pixels in a row
610 (
<code class=
"constant">GL_UNPACK_ROW_LENGTH
</code> if it is greater than
0,
612 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">width
</mml:mi></mml:math>
613 argument to the pixel routine otherwise),
614 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">a
</mml:mi></mml:math>
615 is the value of
<code class=
"constant">GL_UNPACK_ALIGNMENT
</code>, and
616 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">s
</mml:mi></mml:math>
617 is the size, in bytes, of a single component
619 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
622 <mml:mi mathvariant=
"italic">a
</mml:mi>
623 <mml:mo><</mml:mo>
624 <mml:mi mathvariant=
"italic">s
</mml:mi>
628 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
631 <mml:mi mathvariant=
"italic">a
</mml:mi>
633 <mml:mi mathvariant=
"italic">s
</mml:mi>
636 In the case of
1-bit values,
637 the location of the next row is obtained by skipping
639 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
642 <mml:mi mathvariant=
"italic">k
</mml:mi>
647 <mml:mi mathvariant=
"italic">a
</mml:mi>
649 <mml:mfenced open=
"⌈" close=
"⌉">
651 <mml:mfenced open=
"" close=
"">
653 <mml:mi mathvariant=
"italic">n
</mml:mi>
655 <mml:mi mathvariant=
"italic">l
</mml:mi>
658 <mml:mfenced open=
"" close=
"">
662 <mml:mi mathvariant=
"italic">a
</mml:mi>
671 components or indices.
673 The word
<span class=
"emphasis"><em>component
</em></span> in this description refers to the nonindex values
679 Storage format
<code class=
"constant">GL_RGB
</code>,
681 has three components per pixel:
685 </p></dd><dt><span class=
"term"><code class=
"constant">GL_UNPACK_IMAGE_HEIGHT
</code></span></dt><dd><p>
687 <code class=
"constant">GL_UNPACK_IMAGE_HEIGHT
</code> defines the number of pixels in an image of
688 a three-dimensional texture volume. Where ``image'' is defined by all
689 pixel sharing the same third dimension index.
690 If the first pixel of a row is placed at location
691 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">p
</mml:mi></mml:math>
693 then the location of the first pixel of the next row is obtained by skipping
695 </p><div class=
"informalequation"><mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
698 <mml:mi mathvariant=
"italic">k
</mml:mi>
700 <mml:mfenced open=
"{" close=
"">
705 <mml:mi mathvariant=
"italic">n
</mml:mi>
707 <mml:mi mathvariant=
"italic">l
</mml:mi>
709 <mml:mi mathvariant=
"italic">h
</mml:mi>
714 <mml:mfenced open=
"" close=
"">
716 <mml:mi mathvariant=
"italic">a
</mml:mi>
717 <mml:mi mathvariant=
"italic">s
</mml:mi>
721 <mml:mfenced open=
"⌈" close=
"⌉">
723 <mml:mfenced open=
"" close=
"">
725 <mml:mi mathvariant=
"italic">s
</mml:mi>
727 <mml:mi mathvariant=
"italic">n
</mml:mi>
729 <mml:mi mathvariant=
"italic">l
</mml:mi>
731 <mml:mi mathvariant=
"italic">h
</mml:mi>
734 <mml:mi mathvariant=
"italic">a
</mml:mi>
744 <mml:mi mathvariant=
"italic">s
</mml:mi>
745 <mml:mo>>=
</mml:mo>
746 <mml:mi mathvariant=
"italic">a
</mml:mi>
751 <mml:mi mathvariant=
"italic">s
</mml:mi>
752 <mml:mo><</mml:mo>
753 <mml:mi mathvariant=
"italic">a
</mml:mi>
762 components or indices,
764 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>
765 is the number of components or indices in a pixel,
766 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">l
</mml:mi></mml:math>
767 is the number of pixels in a row
768 (
<code class=
"constant">GL_UNPACK_ROW_LENGTH
</code> if it is greater than
0,
770 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">width
</mml:mi></mml:math>
771 argument to
<a class=
"citerefentry" href=
"glTexImage3D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage3D
</span></span></a> otherwise),
772 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">h
</mml:mi></mml:math>
773 is the number of rows in an image (
<code class=
"constant">GL_UNPACK_IMAGE_HEIGHT
</code> if
774 it is greater than
0, the
775 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">height
</mml:mi></mml:math>
776 argument to
<a class=
"citerefentry" href=
"glTexImage3D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage3D
</span></span></a> otherwise),
777 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">a
</mml:mi></mml:math>
778 is the value of
<code class=
"constant">GL_UNPACK_ALIGNMENT
</code>, and
779 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">s
</mml:mi></mml:math>
780 is the size, in bytes, of a single component
782 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
785 <mml:mi mathvariant=
"italic">a
</mml:mi>
786 <mml:mo><</mml:mo>
787 <mml:mi mathvariant=
"italic">s
</mml:mi>
791 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
794 <mml:mi mathvariant=
"italic">a
</mml:mi>
796 <mml:mi mathvariant=
"italic">s
</mml:mi>
800 The word
<span class=
"emphasis"><em>component
</em></span> in this description refers to the nonindex values
806 Storage format
<code class=
"constant">GL_RGB
</code>,
808 has three components per pixel:
812 </p></dd><dt><span class=
"term"><code class=
"constant">GL_UNPACK_SKIP_PIXELS
</code> and
<code class=
"constant">GL_UNPACK_SKIP_ROWS
</code></span></dt><dd><p>
813 These values are provided as a convenience to the programmer;
814 they provide no functionality that cannot be duplicated by
815 incrementing the pointer passed to
816 <a class=
"citerefentry" href=
"glTexImage1D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage1D
</span></span></a>,
817 <a class=
"citerefentry" href=
"glTexImage2D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage2D
</span></span></a>,
818 <a class=
"citerefentry" href=
"glTexSubImage1D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexSubImage1D
</span></span></a> or
819 <a class=
"citerefentry" href=
"glTexSubImage2D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexSubImage2D
</span></span></a>.
820 Setting
<code class=
"constant">GL_UNPACK_SKIP_PIXELS
</code> to
821 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">i
</mml:mi></mml:math>
822 is equivalent to incrementing
824 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
827 <mml:mi mathvariant=
"italic">i
</mml:mi>
829 <mml:mi mathvariant=
"italic">n
</mml:mi>
832 components or indices,
834 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>
835 is the number of components or indices in each pixel.
836 Setting
<code class=
"constant">GL_UNPACK_SKIP_ROWS
</code> to
837 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">j
</mml:mi></mml:math>
838 is equivalent to incrementing
840 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
843 <mml:mi mathvariant=
"italic">j
</mml:mi>
845 <mml:mi mathvariant=
"italic">k
</mml:mi>
848 components or indices,
850 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">k
</mml:mi></mml:math>
851 is the number of components or indices per row,
852 as just computed in the
<code class=
"constant">GL_UNPACK_ROW_LENGTH
</code> section.
853 </p></dd><dt><span class=
"term"><code class=
"constant">GL_UNPACK_ALIGNMENT
</code></span></dt><dd><p>
854 Specifies the alignment requirements for the start of each pixel row in memory.
855 The allowable values are
857 2 (rows aligned to even-numbered bytes),
858 4 (word-alignment), and
859 8 (rows start on double-word boundaries).
860 </p></dd></dl></div><p>
861 The following table gives the type,
863 and range of valid values for each storage parameter
864 that can be set with
<code class=
"function">glPixelStore
</code>.
866 </p><div class=
"informaltable"><table border=
"1"><colgroup><col align=
"left" /><col align=
"center" /><col align=
"center" /><col align=
"center" /></colgroup><thead><tr><th align=
"left"><span class=
"bold"><strong>
867 <em class=
"parameter"><code>pname
</code></em>
868 </strong></span></th><th align=
"center"><span class=
"bold"><strong>
870 </strong></span></th><th align=
"center"><span class=
"bold"><strong>
872 </strong></span></th><th align=
"center"><span class=
"bold"><strong>
874 </strong></span></th></tr></thead><tbody><tr><td align=
"left">
875 <code class=
"constant">GL_PACK_SWAP_BYTES
</code>
876 </td><td align=
"center">
878 </td><td align=
"center">
880 </td><td align=
"center">
882 </td></tr><tr><td align=
"left">
883 <code class=
"constant">GL_PACK_LSB_FIRST
</code>
884 </td><td align=
"center">
886 </td><td align=
"center">
888 </td><td align=
"center">
890 </td></tr><tr><td align=
"left">
891 <code class=
"constant">GL_PACK_ROW_LENGTH
</code>
892 </td><td align=
"center">
894 </td><td align=
"center">
896 </td><td align=
"center">
897 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
899 <mml:mfenced open=
"[" close=
")">
901 <mml:infinity definitionURL=
"" encoding=
""></mml:infinity>
904 </td></tr><tr><td align=
"left">
905 <code class=
"constant">GL_PACK_IMAGE_HEIGHT
</code>
906 </td><td align=
"center">
908 </td><td align=
"center">
910 </td><td align=
"center">
911 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
913 <mml:mfenced open=
"[" close=
")">
915 <mml:infinity definitionURL=
"" encoding=
""></mml:infinity>
918 </td></tr><tr><td align=
"left">
919 <code class=
"constant">GL_PACK_SKIP_ROWS
</code>
920 </td><td align=
"center">
922 </td><td align=
"center">
924 </td><td align=
"center">
925 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
927 <mml:mfenced open=
"[" close=
")">
929 <mml:infinity definitionURL=
"" encoding=
""></mml:infinity>
932 </td></tr><tr><td align=
"left">
933 <code class=
"constant">GL_PACK_SKIP_PIXELS
</code>
934 </td><td align=
"center">
936 </td><td align=
"center">
938 </td><td align=
"center">
939 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
941 <mml:mfenced open=
"[" close=
")">
943 <mml:infinity definitionURL=
"" encoding=
""></mml:infinity>
946 </td></tr><tr><td align=
"left">
947 <code class=
"constant">GL_PACK_SKIP_IMAGES
</code>
948 </td><td align=
"center">
950 </td><td align=
"center">
952 </td><td align=
"center">
953 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
955 <mml:mfenced open=
"[" close=
")">
957 <mml:infinity definitionURL=
"" encoding=
""></mml:infinity>
960 </td></tr><tr><td align=
"left">
961 <code class=
"constant">GL_PACK_ALIGNMENT
</code>
962 </td><td align=
"center">
964 </td><td align=
"center">
966 </td><td align=
"center">
968 </td></tr><tr><td align=
"left">
969 <code class=
"constant">GL_UNPACK_SWAP_BYTES
</code>
970 </td><td align=
"center">
972 </td><td align=
"center">
974 </td><td align=
"center">
976 </td></tr><tr><td align=
"left">
977 <code class=
"constant">GL_UNPACK_LSB_FIRST
</code>
978 </td><td align=
"center">
980 </td><td align=
"center">
982 </td><td align=
"center">
984 </td></tr><tr><td align=
"left">
985 <code class=
"constant">GL_UNPACK_ROW_LENGTH
</code>
986 </td><td align=
"center">
988 </td><td align=
"center">
990 </td><td align=
"center">
991 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
993 <mml:mfenced open=
"[" close=
")">
995 <mml:infinity definitionURL=
"" encoding=
""></mml:infinity>
998 </td></tr><tr><td align=
"left">
999 <code class=
"constant">GL_UNPACK_IMAGE_HEIGHT
</code>
1000 </td><td align=
"center">
1002 </td><td align=
"center">
1004 </td><td align=
"center">
1005 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
1007 <mml:mfenced open=
"[" close=
")">
1009 <mml:infinity definitionURL=
"" encoding=
""></mml:infinity>
1012 </td></tr><tr><td align=
"left">
1013 <code class=
"constant">GL_UNPACK_SKIP_ROWS
</code>
1014 </td><td align=
"center">
1016 </td><td align=
"center">
1018 </td><td align=
"center">
1019 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
1021 <mml:mfenced open=
"[" close=
")">
1023 <mml:infinity definitionURL=
"" encoding=
""></mml:infinity>
1026 </td></tr><tr><td align=
"left">
1027 <code class=
"constant">GL_UNPACK_SKIP_PIXELS
</code>
1028 </td><td align=
"center">
1030 </td><td align=
"center">
1032 </td><td align=
"center">
1033 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
1035 <mml:mfenced open=
"[" close=
")">
1037 <mml:infinity definitionURL=
"" encoding=
""></mml:infinity>
1040 </td></tr><tr><td align=
"left">
1041 <code class=
"constant">GL_UNPACK_SKIP_IMAGES
</code>
1042 </td><td align=
"center">
1044 </td><td align=
"center">
1046 </td><td align=
"center">
1047 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
1049 <mml:mfenced open=
"[" close=
")">
1051 <mml:infinity definitionURL=
"" encoding=
""></mml:infinity>
1054 </td></tr><tr><td align=
"left">
1055 <code class=
"constant">GL_UNPACK_ALIGNMENT
</code>
1056 </td><td align=
"center">
1058 </td><td align=
"center">
1060 </td><td align=
"center">
1062 </td></tr></tbody></table></div><p>
1063 <code class=
"function">glPixelStoref
</code> can be used to set any pixel store parameter.
1064 If the parameter type is boolean,
1065 then if
<em class=
"parameter"><code>param
</code></em> is
0,
1066 the parameter is false;
1067 otherwise it is set to true.
1068 If
<em class=
"parameter"><code>pname
</code></em> is a integer type parameter,
1069 <em class=
"parameter"><code>param
</code></em> is rounded to the nearest integer.
1071 Likewise,
<code class=
"function">glPixelStorei
</code> can also be used to set any of the
1072 pixel store parameters.
1073 Boolean parameters are set to false if
<em class=
"parameter"><code>param
</code></em> is
0 and true otherwise.
1074 </p></div><div class=
"refsect1" title=
"Errors"><a id=
"errors"></a><h2>Errors
</h2><p>
1075 <code class=
"constant">GL_INVALID_ENUM
</code> is generated if
<em class=
"parameter"><code>pname
</code></em> is not an accepted value.
1077 <code class=
"constant">GL_INVALID_VALUE
</code> is generated if a negative row length,
1079 or row skip value is specified,
1080 or if alignment is specified as other than
1,
2,
4, or
8.
1081 </p></div><div class=
"refsect1" title=
"Associated Gets"><a id=
"associatedgets"></a><h2>Associated Gets
</h2><p>
1082 <a class=
"citerefentry" href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_PACK_SWAP_BYTES
</code>
1084 <a class=
"citerefentry" href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_PACK_LSB_FIRST
</code>
1086 <a class=
"citerefentry" href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_PACK_ROW_LENGTH
</code>
1088 <a class=
"citerefentry" href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_PACK_IMAGE_HEIGHT
</code>
1090 <a class=
"citerefentry" href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_PACK_SKIP_ROWS
</code>
1092 <a class=
"citerefentry" href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_PACK_SKIP_PIXELS
</code>
1094 <a class=
"citerefentry" href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_PACK_SKIP_IMAGES
</code>
1096 <a class=
"citerefentry" href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_PACK_ALIGNMENT
</code>
1098 <a class=
"citerefentry" href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_UNPACK_SWAP_BYTES
</code>
1100 <a class=
"citerefentry" href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_UNPACK_LSB_FIRST
</code>
1102 <a class=
"citerefentry" href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_UNPACK_ROW_LENGTH
</code>
1104 <a class=
"citerefentry" href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_UNPACK_IMAGE_HEIGHT
</code>
1106 <a class=
"citerefentry" href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_UNPACK_SKIP_ROWS
</code>
1108 <a class=
"citerefentry" href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_UNPACK_SKIP_PIXELS
</code>
1110 <a class=
"citerefentry" href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_UNPACK_SKIP_IMAGES
</code>
1112 <a class=
"citerefentry" href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_UNPACK_ALIGNMENT
</code>
1113 </p></div><div class=
"refsect1" title=
"See Also"><a id=
"seealso"></a><h2>See Also
</h2><p>
1114 <a class=
"citerefentry" href=
"glReadPixels.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glReadPixels
</span></span></a>,
1115 <a class=
"citerefentry" href=
"glTexImage1D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage1D
</span></span></a>,
1116 <a class=
"citerefentry" href=
"glTexImage2D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage2D
</span></span></a>,
1117 <a class=
"citerefentry" href=
"glTexImage3D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage3D
</span></span></a>,
1118 <a class=
"citerefentry" href=
"glTexSubImage1D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexSubImage1D
</span></span></a>,
1119 <a class=
"citerefentry" href=
"glTexSubImage2D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexSubImage2D
</span></span></a>,
1120 <a class=
"citerefentry" href=
"glTexSubImage3D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexSubImage3D
</span></span></a>
1121 </p></div><div class=
"refsect1" title=
"Copyright"><a id=
"Copyright"></a><h2>Copyright
</h2><p>
1122 Copyright
<span class=
"trademark"></span>©
1991-
2006
1123 Silicon Graphics, Inc. This document is licensed under the SGI
1124 Free Software B License. For details, see
1125 <a class=
"ulink" href=
"http://oss.sgi.com/projects/FreeB/" target=
"_top">http://oss.sgi.com/projects/FreeB/
</a>.
1126 </p></div></div></body></html>