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 - OpenGL
4 Reference Pages
</title><meta name=
"generator" content=
"DocBook XSL Stylesheets V1.69.1" /></head><body><div class=
"refentry" lang=
"en" xml:
lang=
"en"><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"><h2>C Specification
</h2><div class=
"funcsynopsis"><table border=
"0" summary=
"Function synopsis" cellspacing=
"0" cellpadding=
"0"><tr><td><code class=
"funcdef">void
<b class=
"fsfunc">glPixelStoref
</b>(
</code></td><td>GLenum
</td><td><var class=
"pdparam">pname
</var>,
</td></tr><tr><td> </td><td>GLfloat
</td><td><var class=
"pdparam">param
</var><code>)
</code>;
</td></tr></table></div><div class=
"funcsynopsis"><table border=
"0" summary=
"Function synopsis" cellspacing=
"0" cellpadding=
"0"><tr><td><code class=
"funcdef">void
<b class=
"fsfunc">glPixelStorei
</b>(
</code></td><td>GLenum
</td><td><var class=
"pdparam">pname
</var>,
</td></tr><tr><td> </td><td>GLint
</td><td><var class=
"pdparam">param
</var><code>)
</code>;
</td></tr></table></div></div><div class=
"refsect1" lang=
"en" xml:
lang=
"en"><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" lang=
"en" xml:
lang=
"en"><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 href=
"glReadPixels.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glReadPixels
</span></span></a> as well as the unpacking of
29 texture patterns (see
<a href=
"glTexImage1D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage1D
</span></span></a>,
30 <a href=
"glTexImage2D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage2D
</span></span></a>,
<a href=
"glTexImage3D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage3D
</span></span></a>,
<a href=
"glTexSubImage1D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexSubImage1D
</span></span></a>,
31 <a href=
"glTexSubImage2D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexSubImage2D
</span></span></a>,
<a href=
"glTexSubImage3D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexSubImage3D
</span></span></a>),
32 <a href=
"glCompressedTexImage1D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glCompressedTexImage1D
</span></span></a>,
<a href=
"glCompressedTexImage2D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glCompressedTexImage2D
</span></span></a>,
33 <a href=
"glCompressedTexImage3D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glCompressedTexImage3D
</span></span></a>,
<a href=
"glCompressedTexSubImage1D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glCompressedTexSubImage1D
</span></span></a>,
34 <a href=
"glCompressedTexSubImage2D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glCompressedTexSubImage2D
</span></span></a> or
<a href=
"glCompressedTexSubImage1D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glCompressedTexSubImage1D
</span></span></a>.
36 <em class=
"parameter"><code>pname
</code></em> is a symbolic constant indicating the parameter to be set, and
37 <em class=
"parameter"><code>param
</code></em> is the new value. Six of the twelve storage parameters affect
38 how pixel data is returned to client memory.
40 </p><div class=
"variablelist"><dl><dt><span class=
"term"><code class=
"constant">GL_PACK_SWAP_BYTES
</code></span></dt><dd><p>
42 byte ordering for multibyte color components,
47 if a four-byte component consists of bytes
48 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
50 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
54 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
56 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
60 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
62 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
66 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
68 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
72 it is stored in memory as
73 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
75 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
79 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
81 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
85 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
87 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
91 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
93 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
97 if
<code class=
"constant">GL_PACK_SWAP_BYTES
</code> is true.
98 <code class=
"constant">GL_PACK_SWAP_BYTES
</code> has no effect on the memory order of components
100 only on the order of bytes within components or indices.
102 the three components of a
<code class=
"constant">GL_RGB
</code> format pixel are always stored with
106 regardless of the value of
<code class=
"constant">GL_PACK_SWAP_BYTES
</code>.
107 </p></dd><dt><span class=
"term"><code class=
"constant">GL_PACK_LSB_FIRST
</code></span></dt><dd><p>
109 bits are ordered within a byte from least significant to most significant;
111 the first bit in each byte is the most significant one.
112 </p></dd><dt><span class=
"term"><code class=
"constant">GL_PACK_ROW_LENGTH
</code></span></dt><dd><p>
114 <code class=
"constant">GL_PACK_ROW_LENGTH
</code> defines the number of pixels in a row.
115 If the first pixel of a row is placed at location
116 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">p
</mml:mi></mml:math>
118 then the location of the first pixel of the next row is obtained by skipping
120 </p><div class=
"informalequation"><mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
123 <mml:mi mathvariant=
"italic">k
</mml:mi>
125 <mml:mfenced open=
"{" close=
"">
130 <mml:mi mathvariant=
"italic">n
</mml:mi>
132 <mml:mi mathvariant=
"italic">l
</mml:mi>
137 <mml:mfenced open=
"" close=
"">
139 <mml:mi mathvariant=
"italic">a
</mml:mi>
140 <mml:mi mathvariant=
"italic">s
</mml:mi>
144 <mml:mfenced open=
"⌈" close=
"⌉">
146 <mml:mfenced open=
"" close=
"">
148 <mml:mi mathvariant=
"italic">s
</mml:mi>
150 <mml:mi mathvariant=
"italic">n
</mml:mi>
152 <mml:mi mathvariant=
"italic">l
</mml:mi>
155 <mml:mi mathvariant=
"italic">a
</mml:mi>
165 <mml:mi mathvariant=
"italic">s
</mml:mi>
166 <mml:mo>>=
</mml:mo>
167 <mml:mi mathvariant=
"italic">a
</mml:mi>
172 <mml:mi mathvariant=
"italic">s
</mml:mi>
173 <mml:mo><</mml:mo>
174 <mml:mi mathvariant=
"italic">a
</mml:mi>
183 components or indices,
185 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>
186 is the number of components or indices in a pixel,
187 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">l
</mml:mi></mml:math>
188 is the number of pixels in a row
189 (
<code class=
"constant">GL_PACK_ROW_LENGTH
</code> if it is greater than
0,
191 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">width
</mml:mi></mml:math>
192 argument to the pixel routine otherwise),
193 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">a
</mml:mi></mml:math>
194 is the value of
<code class=
"constant">GL_PACK_ALIGNMENT
</code>, and
195 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">s
</mml:mi></mml:math>
196 is the size, in bytes, of a single component
198 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
201 <mml:mi mathvariant=
"italic">a
</mml:mi>
202 <mml:mo><</mml:mo>
203 <mml:mi mathvariant=
"italic">s
</mml:mi>
207 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
210 <mml:mi mathvariant=
"italic">a
</mml:mi>
212 <mml:mi mathvariant=
"italic">s
</mml:mi>
215 In the case of
1-bit values,
216 the location of the next row is obtained by skipping
218 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
221 <mml:mi mathvariant=
"italic">k
</mml:mi>
226 <mml:mi mathvariant=
"italic">a
</mml:mi>
228 <mml:mfenced open=
"⌈" close=
"⌉">
230 <mml:mfenced open=
"" close=
"">
232 <mml:mi mathvariant=
"italic">n
</mml:mi>
234 <mml:mi mathvariant=
"italic">l
</mml:mi>
237 <mml:mfenced open=
"" close=
"">
241 <mml:mi mathvariant=
"italic">a
</mml:mi>
250 components or indices.
252 The word
<span class=
"emphasis"><em>component
</em></span> in this description refers to the nonindex values
258 Storage format
<code class=
"constant">GL_RGB
</code>,
260 has three components per pixel:
264 </p></dd><dt><span class=
"term"><code class=
"constant">GL_PACK_IMAGE_HEIGHT
</code></span></dt><dd><p>
266 <code class=
"constant">GL_PACK_IMAGE_HEIGHT
</code> defines the number of pixels in an image
267 three-dimensional texture volume, where ``image'' is defined by all pixels
268 sharing the same third dimension index.
269 If the first pixel of a row is placed at location
270 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">p
</mml:mi></mml:math>
272 then the location of the first pixel of the next row is obtained by skipping
274 </p><div class=
"informalequation"><mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
277 <mml:mi mathvariant=
"italic">k
</mml:mi>
279 <mml:mfenced open=
"{" close=
"">
284 <mml:mi mathvariant=
"italic">n
</mml:mi>
286 <mml:mi mathvariant=
"italic">l
</mml:mi>
288 <mml:mi mathvariant=
"italic">h
</mml:mi>
293 <mml:mfenced open=
"" close=
"">
295 <mml:mi mathvariant=
"italic">a
</mml:mi>
296 <mml:mi mathvariant=
"italic">s
</mml:mi>
300 <mml:mfenced open=
"⌈" close=
"⌉">
302 <mml:mfenced open=
"" close=
"">
304 <mml:mi mathvariant=
"italic">s
</mml:mi>
306 <mml:mi mathvariant=
"italic">n
</mml:mi>
308 <mml:mi mathvariant=
"italic">l
</mml:mi>
310 <mml:mi mathvariant=
"italic">h
</mml:mi>
313 <mml:mi mathvariant=
"italic">a
</mml:mi>
323 <mml:mi mathvariant=
"italic">s
</mml:mi>
324 <mml:mo>>=
</mml:mo>
325 <mml:mi mathvariant=
"italic">a
</mml:mi>
330 <mml:mi mathvariant=
"italic">s
</mml:mi>
331 <mml:mo><</mml:mo>
332 <mml:mi mathvariant=
"italic">a
</mml:mi>
341 components or indices, where
342 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>
343 is the number of components or indices
345 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">l
</mml:mi></mml:math>
346 is the number of pixels in a row
347 (
<code class=
"constant">GL_PACK_ROW_LENGTH
</code> if it is greater than
0, the
348 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">width
</mml:mi></mml:math>
349 argument to
<a href=
"glTexImage3D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage3D
</span></span></a> otherwise),
350 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">h
</mml:mi></mml:math>
352 rows in a pixel image (
<code class=
"constant">GL_PACK_IMAGE_HEIGHT
</code> if it is greater than
354 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">height
</mml:mi></mml:math>
355 argument to the
<a href=
"glTexImage3D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage3D
</span></span></a> routine otherwise),
356 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">a
</mml:mi></mml:math>
358 <code class=
"constant">GL_PACK_ALIGNMENT
</code>, and
359 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">s
</mml:mi></mml:math>
360 is the size, in bytes, of a single
362 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
365 <mml:mi mathvariant=
"italic">a
</mml:mi>
366 <mml:mo><</mml:mo>
367 <mml:mi mathvariant=
"italic">s
</mml:mi>
371 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
374 <mml:mi mathvariant=
"italic">a
</mml:mi>
376 <mml:mi mathvariant=
"italic">s
</mml:mi>
380 The word
<span class=
"emphasis"><em>component
</em></span> in this description refers to the nonindex values
386 Storage format
<code class=
"constant">GL_RGB
</code>,
388 has three components per pixel:
392 </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>
393 These values are provided as a convenience to the programmer;
394 they provide no functionality that cannot be duplicated simply by
395 incrementing the pointer passed to
<a href=
"glReadPixels.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glReadPixels
</span></span></a>.
396 Setting
<code class=
"constant">GL_PACK_SKIP_PIXELS
</code> to
397 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">i
</mml:mi></mml:math>
398 is equivalent to incrementing
400 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
403 <mml:mi mathvariant=
"italic">i
</mml:mi>
405 <mml:mi mathvariant=
"italic">n
</mml:mi>
408 components or indices,
410 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>
411 is the number of components or indices in each pixel.
412 Setting
<code class=
"constant">GL_PACK_SKIP_ROWS
</code> to
413 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">j
</mml:mi></mml:math>
414 is equivalent to incrementing
416 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
419 <mml:mi mathvariant=
"italic">j
</mml:mi>
421 <mml:mi mathvariant=
"italic">m
</mml:mi>
424 components or indices,
426 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">m
</mml:mi></mml:math>
427 is the number of components or indices per row,
428 as just computed in the
<code class=
"constant">GL_PACK_ROW_LENGTH
</code> section.
429 Setting
<code class=
"constant">GL_PACK_SKIP_IMAGES
</code> to
430 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">k
</mml:mi></mml:math>
431 is equivalent to incrementing
433 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
436 <mml:mi mathvariant=
"italic">k
</mml:mi>
438 <mml:mi mathvariant=
"italic">p
</mml:mi>
442 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">p
</mml:mi></mml:math>
443 is the number of components or indices
444 per image, as computed in the
<code class=
"constant">GL_PACK_IMAGE_HEIGHT
</code> section.
445 </p></dd><dt><span class=
"term"><code class=
"constant">GL_PACK_ALIGNMENT
</code></span></dt><dd><p>
446 Specifies the alignment requirements for the start of each pixel row in memory.
447 The allowable values are
449 2 (rows aligned to even-numbered bytes),
450 4 (word-alignment), and
451 8 (rows start on double-word boundaries).
452 </p></dd></dl></div><p>
453 The other six of the twelve storage parameters affect how pixel data is
454 read from client memory.
455 These values are significant for
456 <a href=
"glTexImage1D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage1D
</span></span></a>,
457 <a href=
"glTexImage2D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage2D
</span></span></a>,
458 <a href=
"glTexImage3D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage3D
</span></span></a>,
459 <a href=
"glTexSubImage1D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexSubImage1D
</span></span></a>,
460 <a href=
"glTexSubImage2D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexSubImage2D
</span></span></a>, and
461 <a href=
"glTexSubImage3D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexSubImage3D
</span></span></a>
464 </p><div class=
"variablelist"><dl><dt><span class=
"term"><code class=
"constant">GL_UNPACK_SWAP_BYTES
</code></span></dt><dd><p>
466 byte ordering for multibyte color components,
471 if a four-byte component consists of bytes
472 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
474 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
478 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
480 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
484 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
486 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
490 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
492 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
496 it is taken from memory as
497 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
499 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
503 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
505 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
509 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
511 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
515 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
517 <mml:msub><mml:mi mathvariant=
"italic">b
</mml:mi>
521 if
<code class=
"constant">GL_UNPACK_SWAP_BYTES
</code> is true.
522 <code class=
"constant">GL_UNPACK_SWAP_BYTES
</code> has no effect on the memory order of components
524 only on the order of bytes within components or indices.
526 the three components of a
<code class=
"constant">GL_RGB
</code> format pixel are always stored with
530 regardless of the value of
<code class=
"constant">GL_UNPACK_SWAP_BYTES
</code>.
531 </p></dd><dt><span class=
"term"><code class=
"constant">GL_UNPACK_LSB_FIRST
</code></span></dt><dd><p>
533 bits are ordered within a byte from least significant to most significant;
535 the first bit in each byte is the most significant one.
536 </p></dd><dt><span class=
"term"><code class=
"constant">GL_UNPACK_ROW_LENGTH
</code></span></dt><dd><p>
538 <code class=
"constant">GL_UNPACK_ROW_LENGTH
</code> defines the number of pixels in a row.
539 If the first pixel of a row is placed at location
540 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">p
</mml:mi></mml:math>
542 then the location of the first pixel of the next row is obtained by skipping
544 </p><div class=
"informalequation"><mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
547 <mml:mi mathvariant=
"italic">k
</mml:mi>
549 <mml:mfenced open=
"{" close=
"">
554 <mml:mi mathvariant=
"italic">n
</mml:mi>
556 <mml:mi mathvariant=
"italic">l
</mml:mi>
561 <mml:mfenced open=
"" close=
"">
563 <mml:mi mathvariant=
"italic">a
</mml:mi>
564 <mml:mi mathvariant=
"italic">s
</mml:mi>
568 <mml:mfenced open=
"⌈" close=
"⌉">
570 <mml:mfenced open=
"" close=
"">
572 <mml:mi mathvariant=
"italic">s
</mml:mi>
574 <mml:mi mathvariant=
"italic">n
</mml:mi>
576 <mml:mi mathvariant=
"italic">l
</mml:mi>
579 <mml:mi mathvariant=
"italic">a
</mml:mi>
589 <mml:mi mathvariant=
"italic">s
</mml:mi>
590 <mml:mo>>=
</mml:mo>
591 <mml:mi mathvariant=
"italic">a
</mml:mi>
596 <mml:mi mathvariant=
"italic">s
</mml:mi>
597 <mml:mo><</mml:mo>
598 <mml:mi mathvariant=
"italic">a
</mml:mi>
607 components or indices,
609 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>
610 is the number of components or indices in a pixel,
611 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">l
</mml:mi></mml:math>
612 is the number of pixels in a row
613 (
<code class=
"constant">GL_UNPACK_ROW_LENGTH
</code> if it is greater than
0,
615 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">width
</mml:mi></mml:math>
616 argument to the pixel routine otherwise),
617 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">a
</mml:mi></mml:math>
618 is the value of
<code class=
"constant">GL_UNPACK_ALIGNMENT
</code>, and
619 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">s
</mml:mi></mml:math>
620 is the size, in bytes, of a single component
622 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
625 <mml:mi mathvariant=
"italic">a
</mml:mi>
626 <mml:mo><</mml:mo>
627 <mml:mi mathvariant=
"italic">s
</mml:mi>
631 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
634 <mml:mi mathvariant=
"italic">a
</mml:mi>
636 <mml:mi mathvariant=
"italic">s
</mml:mi>
639 In the case of
1-bit values,
640 the location of the next row is obtained by skipping
642 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
645 <mml:mi mathvariant=
"italic">k
</mml:mi>
650 <mml:mi mathvariant=
"italic">a
</mml:mi>
652 <mml:mfenced open=
"⌈" close=
"⌉">
654 <mml:mfenced open=
"" close=
"">
656 <mml:mi mathvariant=
"italic">n
</mml:mi>
658 <mml:mi mathvariant=
"italic">l
</mml:mi>
661 <mml:mfenced open=
"" close=
"">
665 <mml:mi mathvariant=
"italic">a
</mml:mi>
674 components or indices.
676 The word
<span class=
"emphasis"><em>component
</em></span> in this description refers to the nonindex values
682 Storage format
<code class=
"constant">GL_RGB
</code>,
684 has three components per pixel:
688 </p></dd><dt><span class=
"term"><code class=
"constant">GL_UNPACK_IMAGE_HEIGHT
</code></span></dt><dd><p>
690 <code class=
"constant">GL_UNPACK_IMAGE_HEIGHT
</code> defines the number of pixels in an image of
691 a three-dimensional texture volume. Where ``image'' is defined by all
692 pixel sharing the same third dimension index.
693 If the first pixel of a row is placed at location
694 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">p
</mml:mi></mml:math>
696 then the location of the first pixel of the next row is obtained by skipping
698 </p><div class=
"informalequation"><mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
701 <mml:mi mathvariant=
"italic">k
</mml:mi>
703 <mml:mfenced open=
"{" close=
"">
708 <mml:mi mathvariant=
"italic">n
</mml:mi>
710 <mml:mi mathvariant=
"italic">l
</mml:mi>
712 <mml:mi mathvariant=
"italic">h
</mml:mi>
717 <mml:mfenced open=
"" close=
"">
719 <mml:mi mathvariant=
"italic">a
</mml:mi>
720 <mml:mi mathvariant=
"italic">s
</mml:mi>
724 <mml:mfenced open=
"⌈" close=
"⌉">
726 <mml:mfenced open=
"" close=
"">
728 <mml:mi mathvariant=
"italic">s
</mml:mi>
730 <mml:mi mathvariant=
"italic">n
</mml:mi>
732 <mml:mi mathvariant=
"italic">l
</mml:mi>
734 <mml:mi mathvariant=
"italic">h
</mml:mi>
737 <mml:mi mathvariant=
"italic">a
</mml:mi>
747 <mml:mi mathvariant=
"italic">s
</mml:mi>
748 <mml:mo>>=
</mml:mo>
749 <mml:mi mathvariant=
"italic">a
</mml:mi>
754 <mml:mi mathvariant=
"italic">s
</mml:mi>
755 <mml:mo><</mml:mo>
756 <mml:mi mathvariant=
"italic">a
</mml:mi>
765 components or indices,
767 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>
768 is the number of components or indices in a pixel,
769 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">l
</mml:mi></mml:math>
770 is the number of pixels in a row
771 (
<code class=
"constant">GL_UNPACK_ROW_LENGTH
</code> if it is greater than
0,
773 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">width
</mml:mi></mml:math>
774 argument to
<a href=
"glTexImage3D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage3D
</span></span></a> otherwise),
775 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">h
</mml:mi></mml:math>
776 is the number of rows in an image (
<code class=
"constant">GL_UNPACK_IMAGE_HEIGHT
</code> if
777 it is greater than
0, the
778 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">height
</mml:mi></mml:math>
779 argument to
<a href=
"glTexImage3D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage3D
</span></span></a> otherwise),
780 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">a
</mml:mi></mml:math>
781 is the value of
<code class=
"constant">GL_UNPACK_ALIGNMENT
</code>, and
782 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">s
</mml:mi></mml:math>
783 is the size, in bytes, of a single component
785 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
788 <mml:mi mathvariant=
"italic">a
</mml:mi>
789 <mml:mo><</mml:mo>
790 <mml:mi mathvariant=
"italic">s
</mml:mi>
794 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
797 <mml:mi mathvariant=
"italic">a
</mml:mi>
799 <mml:mi mathvariant=
"italic">s
</mml:mi>
803 The word
<span class=
"emphasis"><em>component
</em></span> in this description refers to the nonindex values
809 Storage format
<code class=
"constant">GL_RGB
</code>,
811 has three components per pixel:
815 </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>
816 These values are provided as a convenience to the programmer;
817 they provide no functionality that cannot be duplicated by
818 incrementing the pointer passed to
819 <a href=
"glTexImage1D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage1D
</span></span></a>,
820 <a href=
"glTexImage2D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage2D
</span></span></a>,
821 <a href=
"glTexSubImage1D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexSubImage1D
</span></span></a> or
822 <a href=
"glTexSubImage2D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexSubImage2D
</span></span></a>.
823 Setting
<code class=
"constant">GL_UNPACK_SKIP_PIXELS
</code> to
824 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">i
</mml:mi></mml:math>
825 is equivalent to incrementing
827 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
830 <mml:mi mathvariant=
"italic">i
</mml:mi>
832 <mml:mi mathvariant=
"italic">n
</mml:mi>
835 components or indices,
837 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>
838 is the number of components or indices in each pixel.
839 Setting
<code class=
"constant">GL_UNPACK_SKIP_ROWS
</code> to
840 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">j
</mml:mi></mml:math>
841 is equivalent to incrementing
843 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
846 <mml:mi mathvariant=
"italic">j
</mml:mi>
848 <mml:mi mathvariant=
"italic">k
</mml:mi>
851 components or indices,
853 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">k
</mml:mi></mml:math>
854 is the number of components or indices per row,
855 as just computed in the
<code class=
"constant">GL_UNPACK_ROW_LENGTH
</code> section.
856 </p></dd><dt><span class=
"term"><code class=
"constant">GL_UNPACK_ALIGNMENT
</code></span></dt><dd><p>
857 Specifies the alignment requirements for the start of each pixel row in memory.
858 The allowable values are
860 2 (rows aligned to even-numbered bytes),
861 4 (word-alignment), and
862 8 (rows start on double-word boundaries).
863 </p></dd></dl></div><p>
864 The following table gives the type,
866 and range of valid values for each storage parameter
867 that can be set with
<code class=
"function">glPixelStore
</code>.
869 </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>
870 <em class=
"parameter"><code>pname
</code></em>
871 </strong></span></th><th align=
"center"><span class=
"bold"><strong>
873 </strong></span></th><th align=
"center"><span class=
"bold"><strong>
875 </strong></span></th><th align=
"center"><span class=
"bold"><strong>
877 </strong></span></th></tr></thead><tbody><tr><td align=
"left">
878 <code class=
"constant">GL_PACK_SWAP_BYTES
</code>
879 </td><td align=
"center">
881 </td><td align=
"center">
883 </td><td align=
"center">
885 </td></tr><tr><td align=
"left">
886 <code class=
"constant">GL_PACK_LSB_FIRST
</code>
887 </td><td align=
"center">
889 </td><td align=
"center">
891 </td><td align=
"center">
893 </td></tr><tr><td align=
"left">
894 <code class=
"constant">GL_PACK_ROW_LENGTH
</code>
895 </td><td align=
"center">
897 </td><td align=
"center">
899 </td><td align=
"center">
900 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
902 <mml:mfenced open=
"[" close=
")">
904 <mml:infinity definitionURL=
"" encoding=
""></mml:infinity>
907 </td></tr><tr><td align=
"left">
908 <code class=
"constant">GL_PACK_IMAGE_HEIGHT
</code>
909 </td><td align=
"center">
911 </td><td align=
"center">
913 </td><td align=
"center">
914 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
916 <mml:mfenced open=
"[" close=
")">
918 <mml:infinity definitionURL=
"" encoding=
""></mml:infinity>
921 </td></tr><tr><td align=
"left">
922 <code class=
"constant">GL_PACK_SKIP_ROWS
</code>
923 </td><td align=
"center">
925 </td><td align=
"center">
927 </td><td align=
"center">
928 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
930 <mml:mfenced open=
"[" close=
")">
932 <mml:infinity definitionURL=
"" encoding=
""></mml:infinity>
935 </td></tr><tr><td align=
"left">
936 <code class=
"constant">GL_PACK_SKIP_PIXELS
</code>
937 </td><td align=
"center">
939 </td><td align=
"center">
941 </td><td align=
"center">
942 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
944 <mml:mfenced open=
"[" close=
")">
946 <mml:infinity definitionURL=
"" encoding=
""></mml:infinity>
949 </td></tr><tr><td align=
"left">
950 <code class=
"constant">GL_PACK_SKIP_IMAGES
</code>
951 </td><td align=
"center">
953 </td><td align=
"center">
955 </td><td align=
"center">
956 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
958 <mml:mfenced open=
"[" close=
")">
960 <mml:infinity definitionURL=
"" encoding=
""></mml:infinity>
963 </td></tr><tr><td align=
"left">
964 <code class=
"constant">GL_PACK_ALIGNMENT
</code>
965 </td><td align=
"center">
967 </td><td align=
"center">
969 </td><td align=
"center">
971 </td></tr><tr><td align=
"left">
972 <code class=
"constant">GL_UNPACK_SWAP_BYTES
</code>
973 </td><td align=
"center">
975 </td><td align=
"center">
977 </td><td align=
"center">
979 </td></tr><tr><td align=
"left">
980 <code class=
"constant">GL_UNPACK_LSB_FIRST
</code>
981 </td><td align=
"center">
983 </td><td align=
"center">
985 </td><td align=
"center">
987 </td></tr><tr><td align=
"left">
988 <code class=
"constant">GL_UNPACK_ROW_LENGTH
</code>
989 </td><td align=
"center">
991 </td><td align=
"center">
993 </td><td align=
"center">
994 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
996 <mml:mfenced open=
"[" close=
")">
998 <mml:infinity definitionURL=
"" encoding=
""></mml:infinity>
1001 </td></tr><tr><td align=
"left">
1002 <code class=
"constant">GL_UNPACK_IMAGE_HEIGHT
</code>
1003 </td><td align=
"center">
1005 </td><td align=
"center">
1007 </td><td align=
"center">
1008 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
1010 <mml:mfenced open=
"[" close=
")">
1012 <mml:infinity definitionURL=
"" encoding=
""></mml:infinity>
1015 </td></tr><tr><td align=
"left">
1016 <code class=
"constant">GL_UNPACK_SKIP_ROWS
</code>
1017 </td><td align=
"center">
1019 </td><td align=
"center">
1021 </td><td align=
"center">
1022 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
1024 <mml:mfenced open=
"[" close=
")">
1026 <mml:infinity definitionURL=
"" encoding=
""></mml:infinity>
1029 </td></tr><tr><td align=
"left">
1030 <code class=
"constant">GL_UNPACK_SKIP_PIXELS
</code>
1031 </td><td align=
"center">
1033 </td><td align=
"center">
1035 </td><td align=
"center">
1036 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
1038 <mml:mfenced open=
"[" close=
")">
1040 <mml:infinity definitionURL=
"" encoding=
""></mml:infinity>
1043 </td></tr><tr><td align=
"left">
1044 <code class=
"constant">GL_UNPACK_SKIP_IMAGES
</code>
1045 </td><td align=
"center">
1047 </td><td align=
"center">
1049 </td><td align=
"center">
1050 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
1052 <mml:mfenced open=
"[" close=
")">
1054 <mml:infinity definitionURL=
"" encoding=
""></mml:infinity>
1057 </td></tr><tr><td align=
"left">
1058 <code class=
"constant">GL_UNPACK_ALIGNMENT
</code>
1059 </td><td align=
"center">
1061 </td><td align=
"center">
1063 </td><td align=
"center">
1065 </td></tr></tbody></table></div><p>
1066 <code class=
"function">glPixelStoref
</code> can be used to set any pixel store parameter.
1067 If the parameter type is boolean,
1068 then if
<em class=
"parameter"><code>param
</code></em> is
0,
1069 the parameter is false;
1070 otherwise it is set to true.
1071 If
<em class=
"parameter"><code>pname
</code></em> is a integer type parameter,
1072 <em class=
"parameter"><code>param
</code></em> is rounded to the nearest integer.
1074 Likewise,
<code class=
"function">glPixelStorei
</code> can also be used to set any of the
1075 pixel store parameters.
1076 Boolean parameters are set to false if
<em class=
"parameter"><code>param
</code></em> is
0 and true otherwise.
1077 </p></div><div class=
"refsect1" lang=
"en" xml:
lang=
"en"><a id=
"errors"></a><h2>Errors
</h2><p>
1078 <code class=
"constant">GL_INVALID_ENUM
</code> is generated if
<em class=
"parameter"><code>pname
</code></em> is not an accepted value.
1080 <code class=
"constant">GL_INVALID_VALUE
</code> is generated if a negative row length,
1082 or row skip value is specified,
1083 or if alignment is specified as other than
1,
2,
4, or
8.
1084 </p></div><div class=
"refsect1" lang=
"en" xml:
lang=
"en"><a id=
"associatedgets"></a><h2>Associated Gets
</h2><p>
1085 <a href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_PACK_SWAP_BYTES
</code>
1087 <a href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_PACK_LSB_FIRST
</code>
1089 <a href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_PACK_ROW_LENGTH
</code>
1091 <a href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_PACK_IMAGE_HEIGHT
</code>
1093 <a href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_PACK_SKIP_ROWS
</code>
1095 <a href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_PACK_SKIP_PIXELS
</code>
1097 <a href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_PACK_SKIP_IMAGES
</code>
1099 <a href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_PACK_ALIGNMENT
</code>
1101 <a href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_UNPACK_SWAP_BYTES
</code>
1103 <a href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_UNPACK_LSB_FIRST
</code>
1105 <a href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_UNPACK_ROW_LENGTH
</code>
1107 <a href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_UNPACK_IMAGE_HEIGHT
</code>
1109 <a href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_UNPACK_SKIP_ROWS
</code>
1111 <a href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_UNPACK_SKIP_PIXELS
</code>
1113 <a href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_UNPACK_SKIP_IMAGES
</code>
1115 <a href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_UNPACK_ALIGNMENT
</code>
1116 </p></div><div class=
"refsect1" lang=
"en" xml:
lang=
"en"><a id=
"seealso"></a><h2>See Also
</h2><p>
1117 <a href=
"glReadPixels.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glReadPixels
</span></span></a>,
1118 <a href=
"glTexImage1D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage1D
</span></span></a>,
1119 <a href=
"glTexImage2D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage2D
</span></span></a>,
1120 <a href=
"glTexImage3D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexImage3D
</span></span></a>,
1121 <a href=
"glTexSubImage1D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexSubImage1D
</span></span></a>,
1122 <a href=
"glTexSubImage2D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexSubImage2D
</span></span></a>,
1123 <a href=
"glTexSubImage3D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexSubImage3D
</span></span></a>,
1124 <a href=
"glCompressedTexImage1D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glCompressedTexImage1D
</span></span></a>,
1125 <a href=
"glCompressedTexImage2D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glCompressedTexImage2D
</span></span></a>,
1126 <a href=
"glCompressedTexImage3D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glCompressedTexImage3D
</span></span></a>,
1127 <a href=
"glCompressedTexSubImage1D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glCompressedTexSubImage1D
</span></span></a>,
1128 <a href=
"glCompressedTexSubImage2D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glCompressedTexSubImage2D
</span></span></a>,
1129 <a href=
"glCompressedTexSubImage1D.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glCompressedTexSubImage1D
</span></span></a>.
1130 </p></div><div class=
"refsect1" lang=
"en" xml:
lang=
"en"><a id=
"Copyright"></a><h2>Copyright
</h2><p>
1131 Copyright
<span class=
"trademark"></span>©
1991-
2006
1132 Silicon Graphics, Inc.
<span class=
"trademark"></span>©
2011
1133 Khronos Group. This document is licensed under the SGI
1134 Free Software B License. For details, see
1135 <a href=
"http://oss.sgi.com/projects/FreeB/" target=
"_top">http://oss.sgi.com/projects/FreeB/
</a>.
1136 </p></div></div></body></html>