rename upstream-man-pages to upstream-doc
[clinton/guile-figl.git] / upstream-doc / man4 / xhtml / glTexImage3D.xml
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>glTexImage3D - 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="glTexImage3D"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>glTexImage3D — specify a three-dimensional texture image</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">glTexImage3D</b>(</code></td><td>GLenum  </td><td><var class="pdparam">target</var>, </td></tr><tr><td> </td><td>GLint  </td><td><var class="pdparam">level</var>, </td></tr><tr><td> </td><td>GLint  </td><td><var class="pdparam">internalFormat</var>, </td></tr><tr><td> </td><td>GLsizei  </td><td><var class="pdparam">width</var>, </td></tr><tr><td> </td><td>GLsizei  </td><td><var class="pdparam">height</var>, </td></tr><tr><td> </td><td>GLsizei  </td><td><var class="pdparam">depth</var>, </td></tr><tr><td> </td><td>GLint  </td><td><var class="pdparam">border</var>, </td></tr><tr><td> </td><td>GLenum  </td><td><var class="pdparam">format</var>, </td></tr><tr><td> </td><td>GLenum  </td><td><var class="pdparam">type</var>, </td></tr><tr><td> </td><td>const GLvoid *  </td><td><var class="pdparam">data</var><code>)</code>;</td></tr></table></div></div><p>
5 </p><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>target</code></em></span></dt><dd><p>
6 Specifies the target texture.
7 Must be one of <code class="constant">GL_TEXTURE_3D</code>, <code class="constant">GL_PROXY_TEXTURE_3D</code>,
8 <code class="constant">GL_TEXTURE_2D_ARRAY</code> or <code class="constant">GL_PROXY_TEXTURE_2D_ARRAY</code>.
9 </p></dd><dt><span class="term"><em class="parameter"><code>level</code></em></span></dt><dd><p>
10 Specifies the level-of-detail number.
11 Level 0 is the base image level.
12 Level
13 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">n</mml:mi></mml:math>
14 is the
15 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
16
17 <mml:msup><mml:mi mathvariant="italic">n</mml:mi>
18 <mml:mi mathvariant="italic">th</mml:mi>
19 </mml:msup>
20 </mml:math>
21 mipmap reduction image.
22 </p></dd><dt><span class="term"><em class="parameter"><code>internalFormat</code></em></span></dt><dd><p>
23 Specifies the number of color components in the texture.
24 Must be one of base internal formats given in Table 1,
25 one of the sized internal formats given in Table 2, or one
26 of the compressed internal formats given in Table 3, below.
27 </p></dd><dt><span class="term"><em class="parameter"><code>width</code></em></span></dt><dd><p>
28 Specifies the width of the texture image.
29 All implementations support 3D texture images that are at least 16 texels
30 wide.
31 </p></dd><dt><span class="term"><em class="parameter"><code>height</code></em></span></dt><dd><p>
32 Specifies the height of the texture image.
33 All implementations support 3D texture images that are at least 256 texels
34 high.
35 </p></dd><dt><span class="term"><em class="parameter"><code>depth</code></em></span></dt><dd><p>
36 Specifies the depth of the texture image, or the number of layers in a texture array.
37 All implementations support 3D texture images that are at least 256 texels
38 deep, and texture arrays that are at least 256 layers deep.
39 </p></dd><dt><span class="term"><em class="parameter"><code>border</code></em></span></dt><dd><p>
40 This value must be 0.
41 </p></dd><dt><span class="term"><em class="parameter"><code>format</code></em></span></dt><dd><p>
42 Specifies the format of the pixel data.
43 The following symbolic values are accepted:
44 <code class="constant">GL_RED</code>,
45 <code class="constant">GL_RG</code>,
46 <code class="constant">GL_RGB</code>,
47 <code class="constant">GL_BGR</code>,
48 <code class="constant">GL_RGBA</code>, and
49 <code class="constant">GL_BGRA</code>.
50 </p></dd><dt><span class="term"><em class="parameter"><code>type</code></em></span></dt><dd><p>
51 Specifies the data type of the pixel data.
52 The following symbolic values are accepted:
53 <code class="constant">GL_UNSIGNED_BYTE</code>,
54 <code class="constant">GL_BYTE</code>,
55 <code class="constant">GL_UNSIGNED_SHORT</code>,
56 <code class="constant">GL_SHORT</code>,
57 <code class="constant">GL_UNSIGNED_INT</code>,
58 <code class="constant">GL_INT</code>,
59 <code class="constant">GL_FLOAT</code>,
60 <code class="constant">GL_UNSIGNED_BYTE_3_3_2</code>,
61 <code class="constant">GL_UNSIGNED_BYTE_2_3_3_REV</code>,
62 <code class="constant">GL_UNSIGNED_SHORT_5_6_5</code>,
63 <code class="constant">GL_UNSIGNED_SHORT_5_6_5_REV</code>,
64 <code class="constant">GL_UNSIGNED_SHORT_4_4_4_4</code>,
65 <code class="constant">GL_UNSIGNED_SHORT_4_4_4_4_REV</code>,
66 <code class="constant">GL_UNSIGNED_SHORT_5_5_5_1</code>,
67 <code class="constant">GL_UNSIGNED_SHORT_1_5_5_5_REV</code>,
68 <code class="constant">GL_UNSIGNED_INT_8_8_8_8</code>,
69 <code class="constant">GL_UNSIGNED_INT_8_8_8_8_REV</code>,
70 <code class="constant">GL_UNSIGNED_INT_10_10_10_2</code>, and
71 <code class="constant">GL_UNSIGNED_INT_2_10_10_10_REV</code>.
72 </p></dd><dt><span class="term"><em class="parameter"><code>data</code></em></span></dt><dd><p>
73 Specifies a pointer to the image data in memory.
74 </p></dd></dl></div></div><div class="refsect1" lang="en" xml:lang="en"><a id="description"></a><h2>Description</h2><p>
75 Texturing maps a portion of a specified texture image
76 onto each graphical primitive for which texturing is enabled.
77 To enable and disable three-dimensional texturing, call <a href="glEnable.xml"><span class="citerefentry"><span class="refentrytitle">glEnable</span></span></a>
78 and <a href="glDisable.xml"><span class="citerefentry"><span class="refentrytitle">glDisable</span></span></a> with argument <code class="constant">GL_TEXTURE_3D</code>.
79 </p><p>
80 To define texture images, call <code class="function">glTexImage3D</code>.
81 The arguments describe the parameters of the texture image,
82 such as height,
83 width, depth,
84 width of the border,
85 level-of-detail number
86 (see <a href="glTexParameter.xml"><span class="citerefentry"><span class="refentrytitle">glTexParameter</span></span></a>),
87 and number of color components provided.
88 The last three arguments describe how the image is represented in memory.
89 </p><p>
90 If <em class="parameter"><code>target</code></em> is <code class="constant">GL_PROXY_TEXTURE_3D</code>, no data is read from <em class="parameter"><code>data</code></em>, but
91 all of the texture image state is recalculated, checked for
92 consistency, and checked
93 against the implementation's capabilities. If the implementation cannot
94 handle a texture of the requested texture size, it sets
95 all of the image state to 0,
96 but does not generate an error (see <a href="glGetError.xml"><span class="citerefentry"><span class="refentrytitle">glGetError</span></span></a>). To query for an
97 entire mipmap array, use an image array level greater than or equal to
98 1.
99 </p><p>
100 If <em class="parameter"><code>target</code></em> is <code class="constant">GL_TEXTURE_3D</code>,
101 data is read from <em class="parameter"><code>data</code></em> as a sequence of signed or unsigned bytes,
102 shorts,
103 or longs,
104 or single-precision floating-point values,
105 depending on <em class="parameter"><code>type</code></em>.
106 These values are grouped into sets of one,
107 two,
108 three,
109 or four values,
110 depending on <em class="parameter"><code>format</code></em>,
111 to form elements.
112 Each data byte is treated as eight 1-bit elements,
113 with bit ordering determined by <code class="constant">GL_UNPACK_LSB_FIRST</code>
114 (see <a href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>).
115 </p><p>
116 If a non-zero named buffer object is bound to the <code class="constant">GL_PIXEL_UNPACK_BUFFER</code> target
117 (see <a href="glBindBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindBuffer</span></span></a>) while a texture image is
118 specified, <em class="parameter"><code>data</code></em> is treated as a byte offset into the buffer object's data store.
119 </p><p>
120 The first element corresponds to the lower left corner of the texture
121 image.
122 Subsequent elements progress left-to-right through the remaining texels
123 in the lowest row of the texture image, and then in successively higher
124 rows of the texture image.
125 The final element corresponds to the upper right corner of the texture
126 image.
127 </p><p>
128 <em class="parameter"><code>format</code></em> determines the composition of each element in <em class="parameter"><code>data</code></em>.
129 It can assume one of these symbolic values:
130 </p><div class="variablelist"><dl><dt><span class="term"><code class="constant">GL_RED</code></span></dt><dd><p>
131 Each element is a single red component.
132 The GL converts it to floating point and assembles it into an RGBA element
133 by attaching 0 for green and blue, and 1 for alpha.
134 Each component is then multiplied by the signed scale factor <code class="constant">GL_c_SCALE</code>,
135 added to the signed bias <code class="constant">GL_c_BIAS</code>,
136 and clamped to the range [0,1].
137 </p></dd><dt><span class="term"><code class="constant">GL_RG</code></span></dt><dd><p>
138 Each element is a red and green pair.
139 The GL converts each to floating point and assembles it into an RGBA element
140 by attaching 0 for blue, and 1 for alpha.
141 Each component is then multiplied by the signed scale factor <code class="constant">GL_c_SCALE</code>,
142 added to the signed bias <code class="constant">GL_c_BIAS</code>,
143 and clamped to the range [0,1].
144 </p></dd><dt><span class="term"><code class="constant">GL_RGB</code></span></dt><dd></dd><dt><span class="term"><code class="constant">GL_BGR</code></span></dt><dd><p>
145 Each element is an RGB triple.
146 The GL converts it to floating point and assembles it into an RGBA element
147 by attaching 1 for alpha.
148 Each component is then multiplied by the signed scale factor <code class="constant">GL_c_SCALE</code>,
149 added to the signed bias <code class="constant">GL_c_BIAS</code>,
150 and clamped to the range [0,1].
151 </p></dd><dt><span class="term"><code class="constant">GL_RGBA</code></span></dt><dd></dd><dt><span class="term"><code class="constant">GL_BGRA</code></span></dt><dd><p>
152 Each element contains all four components.
153 Each component is multiplied by the signed scale factor <code class="constant">GL_c_SCALE</code>,
154 added to the signed bias <code class="constant">GL_c_BIAS</code>,
155 and clamped to the range [0,1].
156 </p></dd></dl></div><p>
157 If an application wants to store the texture at a certain
158 resolution or in a certain format, it can request the resolution
159 and format with <em class="parameter"><code>internalFormat</code></em>. The GL will choose an internal
160 representation that closely approximates that requested by <em class="parameter"><code>internalFormat</code></em>, but
161 it may not match exactly.
162 (The representations specified by <code class="constant">GL_RED</code>, <code class="constant">GL_RG</code>, <code class="constant">GL_RGB</code>,
163 and <code class="constant">GL_RGBA</code> must match exactly.)
164 </p><p>
165 <em class="parameter"><code>internalFormat</code></em> may be one of the base internal formats shown in
166 Table 1, below
167 </p><p>
168 </p><div class="table"><a id="id4885343"></a><p class="title"><b>Table 1. Base Internal Formats</b></p><table summary="Base Internal Formats" border="1"><colgroup><col align="left" /><col align="left" /><col align="left" /></colgroup><thead><tr><th align="left"><span class="bold"><strong>
169 Base Internal Format
170 </strong></span></th><th align="left"><span class="bold"><strong>
171 RGBA, Depth and Stencil Values
172 </strong></span></th><th align="left"><span class="bold"><strong>
173 Internal Components
174 </strong></span></th></tr></thead><tbody><tr><td align="left"><code class="constant">GL_DEPTH_COMPONENT</code></td><td align="left">Depth</td><td align="left">D</td></tr><tr><td align="left"><code class="constant">GL_DEPTH_STENCIL</code></td><td align="left">Depth, Stencil</td><td align="left">D, S</td></tr><tr><td align="left"><code class="constant">GL_RED</code></td><td align="left">Red</td><td align="left">R</td></tr><tr><td align="left"><code class="constant">GL_RG</code></td><td align="left">Red, Green</td><td align="left">R, G</td></tr><tr><td align="left"><code class="constant">GL_RGB</code></td><td align="left">Red, Green, Blue</td><td align="left">R, G, B</td></tr><tr><td align="left"><code class="constant">GL_RGBA</code></td><td align="left">Red, Green, Blue, Alpha</td><td align="left">R, G, B, A</td></tr></tbody></table></div><p>
175 </p><p>
176 <em class="parameter"><code>internalFormat</code></em> may also be one of the sized internal formats
177 shown in Table 2, below
178 </p><p>
179 </p><div class="table"><a id="id4853651"></a><p class="title"><b>Table 2. Sized Internal Formats</b></p><table summary="Sized Internal Formats" border="1"><colgroup><col align="left" /><col align="left" /><col align="center" /><col align="center" /><col align="center" /><col align="center" /><col align="center" /></colgroup><thead><tr><th align="left"><span class="bold"><strong>
180 Sized Internal Format
181 </strong></span></th><th align="left"><span class="bold"><strong>
182 Base Internal Format
183 </strong></span></th><th align="left"><span class="bold"><strong>
184 Red Bits
185 </strong></span></th><th align="left"><span class="bold"><strong>
186 Green Bits
187 </strong></span></th><th align="left"><span class="bold"><strong>
188 Blue Bits
189 </strong></span></th><th align="left"><span class="bold"><strong>
190 Alpha Bits
191 </strong></span></th><th align="left"><span class="bold"><strong>
192 Shared Bits
193 </strong></span></th></tr></thead><tbody><tr><td align="left"><code class="constant">GL_R8</code></td><td align="left"><code class="constant">GL_RED</code></td><td align="center">8</td><td align="center"> </td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_R8_SNORM</code></td><td align="left"><code class="constant">GL_RED</code></td><td align="center">s8</td><td align="center"> </td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_R16</code></td><td align="left"><code class="constant">GL_RED</code></td><td align="center">16</td><td align="center"> </td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_R16_SNORM</code></td><td align="left"><code class="constant">GL_RED</code></td><td align="center">s16</td><td align="center"> </td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RG8</code></td><td align="left"><code class="constant">GL_RG</code></td><td align="center">8</td><td align="center">8</td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RG8_SNORM</code></td><td align="left"><code class="constant">GL_RG</code></td><td align="center">s8</td><td align="center">s8</td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RG16</code></td><td align="left"><code class="constant">GL_RG</code></td><td align="center">16</td><td align="center">16</td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RG16_SNORM</code></td><td align="left"><code class="constant">GL_RG</code></td><td align="center">s16</td><td align="center">s16</td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_R3_G3_B2</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="center">3</td><td align="center">3</td><td align="center">2</td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGB4</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="center">4</td><td align="center">4</td><td align="center">4</td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGB5</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="center">5</td><td align="center">5</td><td align="center">5</td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGB8</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="center">8</td><td align="center">8</td><td align="center">8</td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGB8_SNORM</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="center">s8</td><td align="center">s8</td><td align="center">s8</td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGB10</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="center">10</td><td align="center">10</td><td align="center">10</td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGB12</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="center">12</td><td align="center">12</td><td align="center">12</td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGB16_SNORM</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="center">16</td><td align="center">16</td><td align="center">16</td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGBA2</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="center">2</td><td align="center">2</td><td align="center">2</td><td align="center">2</td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGBA4</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="center">4</td><td align="center">4</td><td align="center">4</td><td align="center">4</td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGB5_A1</code></td><td align="left"><code class="constant">GL_RGBA</code></td><td align="center">5</td><td align="center">5</td><td align="center">5</td><td align="center">1</td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGBA8</code></td><td align="left"><code class="constant">GL_RGBA</code></td><td align="center">8</td><td align="center">8</td><td align="center">8</td><td align="center">8</td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGBA8_SNORM</code></td><td align="left"><code class="constant">GL_RGBA</code></td><td align="center">s8</td><td align="center">s8</td><td align="center">s8</td><td align="center">s8</td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGB10_A2</code></td><td align="left"><code class="constant">GL_RGBA</code></td><td align="center">10</td><td align="center">10</td><td align="center">10</td><td align="center">2</td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGB10_A2UI</code></td><td align="left"><code class="constant">GL_RGBA</code></td><td align="center">ui10</td><td align="center">ui10</td><td align="center">ui10</td><td align="center">ui2</td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGBA12</code></td><td align="left"><code class="constant">GL_RGBA</code></td><td align="center">12</td><td align="center">12</td><td align="center">12</td><td align="center">12</td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGBA16</code></td><td align="left"><code class="constant">GL_RGBA</code></td><td align="center">16</td><td align="center">16</td><td align="center">16</td><td align="center">16</td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_SRGB8</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="center">8</td><td align="center">8</td><td align="center">8</td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_SRGB8_ALPHA8</code></td><td align="left"><code class="constant">GL_RGBA</code></td><td align="center">8</td><td align="center">8</td><td align="center">8</td><td align="center">8</td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_R16F</code></td><td align="left"><code class="constant">GL_RED</code></td><td align="center">f16</td><td align="center"> </td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RG16F</code></td><td align="left"><code class="constant">GL_RG</code></td><td align="center">f16</td><td align="center">f16</td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGB16F</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="center">f16</td><td align="center">f16</td><td align="center">f16</td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGBA16F</code></td><td align="left"><code class="constant">GL_RGBA</code></td><td align="center">f16</td><td align="center">f16</td><td align="center">f16</td><td align="center">f16</td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_R32F</code></td><td align="left"><code class="constant">GL_RED</code></td><td align="center">f32</td><td align="center"> </td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RG32F</code></td><td align="left"><code class="constant">GL_RG</code></td><td align="center">f32</td><td align="center">f32</td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGB32F</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="center">f32</td><td align="center">f32</td><td align="center">f32</td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGBA32F</code></td><td align="left"><code class="constant">GL_RGBA</code></td><td align="center">f32</td><td align="center">f32</td><td align="center">f32</td><td align="center">f32</td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_R11F_G11F_B10F</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="center">f11</td><td align="center">f11</td><td align="center">f10</td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGB9_E5</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="center">9</td><td align="center">9</td><td align="center">9</td><td align="center"> </td><td align="center">5</td></tr><tr><td align="left"><code class="constant">GL_R8I</code></td><td align="left"><code class="constant">GL_RED</code></td><td align="center">i8</td><td align="center"> </td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_R8UI</code></td><td align="left"><code class="constant">GL_RED</code></td><td align="center">ui8</td><td align="center"> </td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_R16I</code></td><td align="left"><code class="constant">GL_RED</code></td><td align="center">i16</td><td align="center"> </td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_R16UI</code></td><td align="left"><code class="constant">GL_RED</code></td><td align="center">ui16</td><td align="center"> </td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_R32I</code></td><td align="left"><code class="constant">GL_RED</code></td><td align="center">i32</td><td align="center"> </td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_R32UI</code></td><td align="left"><code class="constant">GL_RED</code></td><td align="center">ui32</td><td align="center"> </td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RG8I</code></td><td align="left"><code class="constant">GL_RG</code></td><td align="center">i8</td><td align="center">i8</td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RG8UI</code></td><td align="left"><code class="constant">GL_RG</code></td><td align="center">ui8</td><td align="center">ui8</td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RG16I</code></td><td align="left"><code class="constant">GL_RG</code></td><td align="center">i16</td><td align="center">i16</td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RG16UI</code></td><td align="left"><code class="constant">GL_RG</code></td><td align="center">ui16</td><td align="center">ui16</td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RG32I</code></td><td align="left"><code class="constant">GL_RG</code></td><td align="center">i32</td><td align="center">i32</td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RG32UI</code></td><td align="left"><code class="constant">GL_RG</code></td><td align="center">ui32</td><td align="center">ui32</td><td align="center"> </td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGB8I</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="center">i8</td><td align="center">i8</td><td align="center">i8</td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGB8UI</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="center">ui8</td><td align="center">ui8</td><td align="center">ui8</td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGB16I</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="center">i16</td><td align="center">i16</td><td align="center">i16</td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGB16UI</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="center">ui16</td><td align="center">ui16</td><td align="center">ui16</td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGB32I</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="center">i32</td><td align="center">i32</td><td align="center">i32</td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGB32UI</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="center">ui32</td><td align="center">ui32</td><td align="center">ui32</td><td align="center"> </td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGBA8I</code></td><td align="left"><code class="constant">GL_RGBA</code></td><td align="center">i8</td><td align="center">i8</td><td align="center">i8</td><td align="center">i8</td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGBA8UI</code></td><td align="left"><code class="constant">GL_RGBA</code></td><td align="center">ui8</td><td align="center">ui8</td><td align="center">ui8</td><td align="center">ui8</td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGBA16I</code></td><td align="left"><code class="constant">GL_RGBA</code></td><td align="center">i16</td><td align="center">i16</td><td align="center">i16</td><td align="center">i16</td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGBA16UI</code></td><td align="left"><code class="constant">GL_RGBA</code></td><td align="center">ui16</td><td align="center">ui16</td><td align="center">ui16</td><td align="center">ui16</td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGBA32I</code></td><td align="left"><code class="constant">GL_RGBA</code></td><td align="center">i32</td><td align="center">i32</td><td align="center">i32</td><td align="center">i32</td><td align="center"> </td></tr><tr><td align="left"><code class="constant">GL_RGBA32UI</code></td><td align="left"><code class="constant">GL_RGBA</code></td><td align="center">ui32</td><td align="center">ui32</td><td align="center">ui32</td><td align="center">ui32</td><td align="center"> </td></tr></tbody></table></div><p>
194 </p><p>
195 Finally, <em class="parameter"><code>internalFormat</code></em> may also be one of the generic or compressed
196 compressed texture formats shown in Table 3 below
197 </p><p>
198 </p><div class="table"><a id="id4840264"></a><p class="title"><b>Table 3. Compressed Internal Formats</b></p><table summary="Compressed Internal Formats" border="1"><colgroup><col align="left" /><col align="left" /><col align="left" /></colgroup><thead><tr><th align="left"><span class="bold"><strong>
199 Compressed Internal Format
200 </strong></span></th><th align="left"><span class="bold"><strong>
201 Base Internal Format
202 </strong></span></th><th align="left"><span class="bold"><strong>
203 Type
204 </strong></span></th></tr></thead><tbody><tr><td align="left"><code class="constant">GL_COMPRESSED_RED</code></td><td align="left"><code class="constant">GL_RED</code></td><td align="left">Generic</td></tr><tr><td align="left"><code class="constant">GL_COMPRESSED_RG</code></td><td align="left"><code class="constant">GL_RG</code></td><td align="left">Generic</td></tr><tr><td align="left"><code class="constant">GL_COMPRESSED_RGB</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="left">Generic</td></tr><tr><td align="left"><code class="constant">GL_COMPRESSED_RGBA</code></td><td align="left"><code class="constant">GL_RGBA</code></td><td align="left">Generic</td></tr><tr><td align="left"><code class="constant">GL_COMPRESSED_SRGB</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="left">Generic</td></tr><tr><td align="left"><code class="constant">GL_COMPRESSED_SRGB_ALPHA</code></td><td align="left"><code class="constant">GL_RGBA</code></td><td align="left">Generic</td></tr><tr><td align="left"><code class="constant">GL_COMPRESSED_RED_RGTC1</code></td><td align="left"><code class="constant">GL_RED</code></td><td align="left">Specific</td></tr><tr><td align="left"><code class="constant">GL_COMPRESSED_SIGNED_RED_RGTC1</code></td><td align="left"><code class="constant">GL_RED</code></td><td align="left">Specific</td></tr><tr><td align="left"><code class="constant">GL_COMPRESSED_RG_RGTC2</code></td><td align="left"><code class="constant">GL_RG</code></td><td align="left">Specific</td></tr><tr><td align="left"><code class="constant">GL_COMPRESSED_SIGNED_RG_RGTC2</code></td><td align="left"><code class="constant">GL_RG</code></td><td align="left">Specific</td></tr><tr><td align="left"><code class="constant">GL_COMPRESSED_RGBA_BPTC_UNORM</code></td><td align="left"><code class="constant">GL_RGBA</code></td><td align="left">Specific</td></tr><tr><td align="left"><code class="constant">GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM</code></td><td align="left"><code class="constant">GL_RGBA</code></td><td align="left">Specific</td></tr><tr><td align="left"><code class="constant">GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="left">Specific</td></tr><tr><td align="left"><code class="constant">GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT</code></td><td align="left"><code class="constant">GL_RGB</code></td><td align="left">Specific</td></tr></tbody></table></div><p>
205 </p><p>
206 If the <em class="parameter"><code>internalFormat</code></em> parameter is one of the generic compressed formats,
207 <code class="constant">GL_COMPRESSED_RED</code>, <code class="constant">GL_COMPRESSED_RG</code>,
208 <code class="constant">GL_COMPRESSED_RGB</code>, or
209 <code class="constant">GL_COMPRESSED_RGBA</code>, the GL will replace the internal format with the symbolic constant for a specific internal format and compress the texture before storage. If no corresponding internal format is available, or the GL can not compress that image for any reason, the internal format is instead replaced with a corresponding base internal format.
210 </p><p>
211 If the <em class="parameter"><code>internalFormat</code></em> parameter is
212 <code class="constant">GL_SRGB</code>,
213 <code class="constant">GL_SRGB8</code>,
214 <code class="constant">GL_SRGB_ALPHA</code>, or
215 <code class="constant">GL_SRGB8_ALPHA8</code>, the texture is treated as if the red, green, blue, or luminance components are encoded in the sRGB color space. Any alpha component is left unchanged. The conversion from the sRGB encoded component
216 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
217 <mml:msub><mml:mi mathvariant="italic">c</mml:mi>
218 <mml:mi mathvariant="italic">s</mml:mi>
219 </mml:msub>
220 </mml:math>
221 to a linear component
222 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
223 <mml:msub><mml:mi mathvariant="italic">c</mml:mi>
224 <mml:mi mathvariant="italic">l</mml:mi>
225 </mml:msub>
226 </mml:math>
227 is:
228 </p><p>
229 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
230 <mml:mrow>
231 <mml:msub>
232 <mml:mi mathvariant="italic">c</mml:mi>
233 <mml:mi mathvariant="italic">l</mml:mi>
234 </mml:msub>
235 <mml:mo>=</mml:mo>
236 <mml:mrow>
237 <mml:mo>{</mml:mo>
238
239 <mml:mtable columnalign="left">
240 <mml:mtr>
241 <mml:mtd columnalign="left">
242 <mml:mfrac>
243 <mml:msub>
244 <mml:mi mathvariant="italic">c</mml:mi>
245 <mml:mi mathvariant="italic">s</mml:mi>
246 </mml:msub>
247 <mml:mn>12.92</mml:mn>
248 </mml:mfrac>
249 </mml:mtd>
250 <mml:mtd columnalign="left">
251 <mml:mrow>
252 <mml:mspace width="1ex"></mml:mspace>
253 <mml:mo>if</mml:mo>
254 <mml:mspace width="1ex"></mml:mspace>
255 </mml:mrow>
256 <mml:msub>
257 <mml:mi mathvariant="italic">c</mml:mi>
258 <mml:mi mathvariant="italic">s</mml:mi>
259 </mml:msub>
260 <mml:mo></mml:mo>
261 <mml:mn>0.04045</mml:mn>
262 </mml:mtd>
263 </mml:mtr>
264 <mml:mtr>
265 <mml:mtd columnalign="left">
266 <mml:msup>
267 <mml:mrow>
268 <mml:mo>(</mml:mo>
269 <mml:mfrac>
270 <mml:mrow>
271 <mml:msub>
272 <mml:mi>c</mml:mi>
273 <mml:mi>s</mml:mi>
274 </mml:msub>
275 <mml:mo>+</mml:mo>
276 <mml:mn>0.055</mml:mn>
277 </mml:mrow>
278 <mml:mn>1.055</mml:mn>
279 </mml:mfrac>
280 <mml:mo>)</mml:mo>
281 </mml:mrow>
282 <mml:mn>2.4</mml:mn>
283 </mml:msup>
284 </mml:mtd>
285 <mml:mtd columnalign="left">
286 <mml:mrow>
287 <mml:mspace width="1ex"></mml:mspace>
288 <mml:mo>if</mml:mo>
289 <mml:mspace width="1ex"></mml:mspace>
290 </mml:mrow>
291 <mml:msub>
292 <mml:mi mathvariant="italic">c</mml:mi>
293 <mml:mi mathvariant="italic">s</mml:mi>
294 </mml:msub>
295 <mml:mo>&gt;</mml:mo>
296 <mml:mn>0.04045</mml:mn>
297 </mml:mtd>
298 </mml:mtr>
299 </mml:mtable>
300 </mml:mrow>
301 </mml:mrow>
302 </mml:math>
303 </p><p>
304 Assume
305 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
306 <mml:msub><mml:mi mathvariant="italic">c</mml:mi>
307 <mml:mi mathvariant="italic">s</mml:mi>
308 </mml:msub>
309 </mml:math>
310 is the sRGB component in the range [0,1].
311 </p><p>
312 Use the <code class="constant">GL_PROXY_TEXTURE_3D</code> target to try out a resolution and
313 format. The implementation will
314 update and recompute its best match for the requested storage resolution
315 and format. To then query this state, call <a href="glGetTexLevelParameter.xml"><span class="citerefentry"><span class="refentrytitle">glGetTexLevelParameter</span></span></a>.
316 If the texture cannot be accommodated, texture state is set to 0.
317 </p><p>
318 A one-component texture image uses only the red component of the RGBA
319 color extracted from <em class="parameter"><code>data</code></em>.
320 A two-component image uses the R and A values.
321 A three-component image uses the R, G, and B values.
322 A four-component image uses all of the RGBA components.
323 </p></div><div class="refsect1" lang="en" xml:lang="en"><a id="notes"></a><h2>Notes</h2><p>
324 The <a href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a> mode affects texture images.
325 </p><p>
326 <em class="parameter"><code>data</code></em> may be a null pointer.
327 In this case texture memory is
328 allocated to accommodate a texture of width <em class="parameter"><code>width</code></em>, height <em class="parameter"><code>height</code></em>,
329 and depth <em class="parameter"><code>depth</code></em>.
330 You can then download subtextures to initialize this
331 texture memory.
332 The image is undefined if the user tries to apply
333 an uninitialized portion of the texture image to a primitive.
334 </p><p>
335 <code class="function">glTexImage3D</code> specifies the three-dimensional texture for the current texture unit,
336 specified with <a href="glActiveTexture.xml"><span class="citerefentry"><span class="refentrytitle">glActiveTexture</span></span></a>.
337 </p></div><div class="refsect1" lang="en" xml:lang="en"><a id="errors"></a><h2>Errors</h2><p>
338 <code class="constant">GL_INVALID_ENUM</code> is generated if <em class="parameter"><code>target</code></em> is not <code class="constant">GL_TEXTURE_3D</code>
339 or <code class="constant">GL_PROXY_TEXTURE_3D</code>.
340 </p><p>
341 <code class="constant">GL_INVALID_ENUM</code> is generated if <em class="parameter"><code>format</code></em> is not an accepted
342 format constant. Format constants other than <code class="constant">GL_STENCIL_INDEX</code> and <code class="constant">GL_DEPTH_COMPONENT</code>
343 are accepted.
344 </p><p>
345 <code class="constant">GL_INVALID_ENUM</code> is generated if <em class="parameter"><code>type</code></em> is not a type constant.
346 </p><p>
347 <code class="constant">GL_INVALID_VALUE</code> is generated if <em class="parameter"><code>level</code></em> is less than 0.
348 </p><p>
349 <code class="constant">GL_INVALID_VALUE</code> may be generated if <em class="parameter"><code>level</code></em> is greater than
350 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
351
352 <mml:mrow>
353 <mml:msub><mml:mi mathvariant="italic">log</mml:mi>
354 <mml:mn>2</mml:mn>
355 </mml:msub>
356 <mml:mo></mml:mo>
357 <mml:mfenced open="(" close=")">
358 <mml:mi mathvariant="italic">max</mml:mi>
359 </mml:mfenced>
360 </mml:mrow>
361 </mml:math>,
362 where <span class="emphasis"><em>max</em></span> is the returned value of <code class="constant">GL_MAX_TEXTURE_SIZE</code>.
363 </p><p>
364 <code class="constant">GL_INVALID_VALUE</code> is generated if <em class="parameter"><code>internalFormat</code></em> is not one of the
365 accepted resolution and format symbolic constants.
366 </p><p>
367 <code class="constant">GL_INVALID_VALUE</code> is generated if <em class="parameter"><code>width</code></em>, <em class="parameter"><code>height</code></em>, or <em class="parameter"><code>depth</code></em> is less than 0 or greater than <code class="constant">GL_MAX_TEXTURE_SIZE</code>.
368 </p><p>
369 <code class="constant">GL_INVALID_VALUE</code> is generated if non-power-of-two textures are not supported and the <em class="parameter"><code>width</code></em>, <em class="parameter"><code>height</code></em>, or <em class="parameter"><code>depth</code></em> cannot be represented as
370 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
371
372 <mml:mrow>
373 <mml:msup><mml:mn>2</mml:mn>
374 <mml:mi mathvariant="italic">k</mml:mi>
375 </mml:msup>
376 <mml:mo>+</mml:mo>
377 <mml:mrow>
378 <mml:mn>2</mml:mn>
379 <mml:mo></mml:mo>
380 <mml:mfenced open="(" close=")">
381 <mml:mi mathvariant="italic">border</mml:mi>
382 </mml:mfenced>
383 </mml:mrow>
384 </mml:mrow>
385 </mml:math>
386 for some
387 integer value of <span class="emphasis"><em>k</em></span>.
388 </p><p>
389 <code class="constant">GL_INVALID_VALUE</code> is generated if <em class="parameter"><code>border</code></em> is not 0 or 1.
390 </p><p>
391 <code class="constant">GL_INVALID_OPERATION</code> is generated if <em class="parameter"><code>type</code></em> is one of
392 <code class="constant">GL_UNSIGNED_BYTE_3_3_2</code>,
393 <code class="constant">GL_UNSIGNED_BYTE_2_3_3_REV</code>,
394 <code class="constant">GL_UNSIGNED_SHORT_5_6_5</code>, or
395 <code class="constant">GL_UNSIGNED_SHORT_5_6_5_REV</code>
396 and <em class="parameter"><code>format</code></em> is not <code class="constant">GL_RGB</code>.
397 </p><p>
398 <code class="constant">GL_INVALID_OPERATION</code> is generated if <em class="parameter"><code>type</code></em> is one of
399 <code class="constant">GL_UNSIGNED_SHORT_4_4_4_4</code>,
400 <code class="constant">GL_UNSIGNED_SHORT_4_4_4_4_REV</code>,
401 <code class="constant">GL_UNSIGNED_SHORT_5_5_5_1</code>,
402 <code class="constant">GL_UNSIGNED_SHORT_1_5_5_5_REV</code>,
403 <code class="constant">GL_UNSIGNED_INT_8_8_8_8</code>,
404 <code class="constant">GL_UNSIGNED_INT_8_8_8_8_REV</code>,
405 <code class="constant">GL_UNSIGNED_INT_10_10_10_2</code>, or
406 <code class="constant">GL_UNSIGNED_INT_2_10_10_10_REV</code>
407 and <em class="parameter"><code>format</code></em> is neither <code class="constant">GL_RGBA</code> nor <code class="constant">GL_BGRA</code>.
408 </p><p>
409 <code class="constant">GL_INVALID_OPERATION</code> is generated if <em class="parameter"><code>format</code></em> or <em class="parameter"><code>internalFormat</code></em> is
410 <code class="constant">GL_DEPTH_COMPONENT</code>, <code class="constant">GL_DEPTH_COMPONENT16</code>,
411 <code class="constant">GL_DEPTH_COMPONENT24</code>, or <code class="constant">GL_DEPTH_COMPONENT32</code>.
412 </p><p>
413 <code class="constant">GL_INVALID_OPERATION</code> is generated if a non-zero buffer object name is bound to the
414 <code class="constant">GL_PIXEL_UNPACK_BUFFER</code> target and the buffer object's data store is currently mapped.
415 </p><p>
416 <code class="constant">GL_INVALID_OPERATION</code> is generated if a non-zero buffer object name is bound to the
417 <code class="constant">GL_PIXEL_UNPACK_BUFFER</code> target and the data would be unpacked from the buffer
418 object such that the memory reads required would exceed the data store size.
419 </p><p>
420 <code class="constant">GL_INVALID_OPERATION</code> is generated if a non-zero buffer object name is bound to the
421 <code class="constant">GL_PIXEL_UNPACK_BUFFER</code> target and <em class="parameter"><code>data</code></em> is not evenly divisible
422 into the number of bytes needed to store in memory a datum indicated by <em class="parameter"><code>type</code></em>.
423 </p></div><div class="refsect1" lang="en" xml:lang="en"><a id="associatedgets"></a><h2>Associated Gets</h2><p>
424 <a href="glGetTexImage.xml"><span class="citerefentry"><span class="refentrytitle">glGetTexImage</span></span></a>
425 </p><p>
426 <a href="glGet.xml"><span class="citerefentry"><span class="refentrytitle">glGet</span></span></a> with argument <code class="constant">GL_PIXEL_UNPACK_BUFFER_BINDING</code>
427 </p></div><div class="refsect1" lang="en" xml:lang="en"><a id="seealso"></a><h2>See Also</h2><p>
428 <a href="glActiveTexture.xml"><span class="citerefentry"><span class="refentrytitle">glActiveTexture</span></span></a>,
429 <a href="glCompressedTexImage1D.xml"><span class="citerefentry"><span class="refentrytitle">glCompressedTexImage1D</span></span></a>,
430 <a href="glCompressedTexImage2D.xml"><span class="citerefentry"><span class="refentrytitle">glCompressedTexImage2D</span></span></a>,
431 <a href="glCompressedTexImage3D.xml"><span class="citerefentry"><span class="refentrytitle">glCompressedTexImage3D</span></span></a>,
432 <a href="glCompressedTexSubImage1D.xml"><span class="citerefentry"><span class="refentrytitle">glCompressedTexSubImage1D</span></span></a>,
433 <a href="glCompressedTexSubImage2D.xml"><span class="citerefentry"><span class="refentrytitle">glCompressedTexSubImage2D</span></span></a>,
434 <a href="glCompressedTexSubImage3D.xml"><span class="citerefentry"><span class="refentrytitle">glCompressedTexSubImage3D</span></span></a>,
435 <a href="glCopyTexImage1D.xml"><span class="citerefentry"><span class="refentrytitle">glCopyTexImage1D</span></span></a>,
436 <a href="glCopyTexImage2D.xml"><span class="citerefentry"><span class="refentrytitle">glCopyTexImage2D</span></span></a>,
437 <a href="glCopyTexSubImage1D.xml"><span class="citerefentry"><span class="refentrytitle">glCopyTexSubImage1D</span></span></a>,
438 <a href="glCopyTexSubImage2D.xml"><span class="citerefentry"><span class="refentrytitle">glCopyTexSubImage2D</span></span></a>,
439 <a href="glCopyTexSubImage3D.xml"><span class="citerefentry"><span class="refentrytitle">glCopyTexSubImage3D</span></span></a>,
440 <a href="glGetCompressedTexImage.xml"><span class="citerefentry"><span class="refentrytitle">glGetCompressedTexImage</span></span></a>,
441 <a href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>,
442 <a href="glTexImage1D.xml"><span class="citerefentry"><span class="refentrytitle">glTexImage1D</span></span></a>,
443 <a href="glTexImage2D.xml"><span class="citerefentry"><span class="refentrytitle">glTexImage2D</span></span></a>,
444 <a href="glTexSubImage1D.xml"><span class="citerefentry"><span class="refentrytitle">glTexSubImage1D</span></span></a>,
445 <a href="glTexSubImage2D.xml"><span class="citerefentry"><span class="refentrytitle">glTexSubImage2D</span></span></a>,
446 <a href="glTexSubImage3D.xml"><span class="citerefentry"><span class="refentrytitle">glTexSubImage3D</span></span></a>,
447 <a href="glTexParameter.xml"><span class="citerefentry"><span class="refentrytitle">glTexParameter</span></span></a>
448 </p></div><div class="refsect1" lang="en" xml:lang="en"><a id="Copyright"></a><h2>Copyright</h2><p>
449 Copyright <span class="trademark"></span>© 1991-2006 Silicon Graphics, Inc.
450 Copyright <span class="trademark"></span>© 2011 Khronos Group.
451 This document is licensed under the SGI
452 Free Software B License. For details, see
453 <a href="http://oss.sgi.com/projects/FreeB/" target="_top">http://oss.sgi.com/projects/FreeB/</a>.
454 </p></div></div></body></html>