Skip to content

Commit

Permalink
Update glTexImage2D.xhtml
Browse files Browse the repository at this point in the history
Added internal formats, such table 2 didn't really exist.
  • Loading branch information
tavomaciel committed Oct 8, 2014
1 parent 257767b commit 6f80b7b
Showing 1 changed file with 63 additions and 4 deletions.
67 changes: 63 additions & 4 deletions gl3/glTexImage2D.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,68 @@
<code class="constant">GL_PROXY_TEXTURE_RECTANGLE</code>, <em class="parameter"><code>level</code></em> must be 0.
</p></dd><dt><span class="term"><em class="parameter"><code>internalFormat</code></em></span></dt><dd><p>
Specifies the number of color components in the texture.
Must be one of base internal formats given in Table 1,
one of the sized internal formats given in Table 2, or one
of the compressed internal formats given in Table 3, below.
Must be one of the following symbolic constants:
<code class="constant">GL_RGBA32F</code>,
<code class="constant">GL_RGBA32I</code>,
<code class="constant">GL_RGBA32UI</code>,
<code class="constant">GL_RGBA16</code>,
<code class="constant">GL_RGBA16F</code>,
<code class="constant">GL_RGBA16I</code>,
<code class="constant">GL_RGBA16UI</code>,
<code class="constant">GL_RGBA8</code>,
<code class="constant">GL_RGBA8UI</code>,
<code class="constant">GL_SRGB8_ALPHA8</code>,
<code class="constant">GL_RGB10_A2</code>,
<code class="constant">GL_RGB10_A2UI</code>,
<code class="constant">GL_R11F_G11F_B10F</code>,
<code class="constant">GL_RG32F</code>,
<code class="constant">GL_RG32I</code>,
<code class="constant">GL_RG32UI</code>,
<code class="constant">GL_RG16</code>,
<code class="constant">GL_RG16F</code>,
<code class="constant">GL_RGB16I</code>,
<code class="constant">GL_RGB16UI</code>,
<code class="constant">GL_RG8</code>,
<code class="constant">GL_RG8I</code>,
<code class="constant">GL_RG8UI</code>,
<code class="constant">GL_R32F</code>,
<code class="constant">GL_R32I</code>,
<code class="constant">GL_R32UI</code>,
<code class="constant">GL_R16F</code>,
<code class="constant">GL_R16I</code>,
<code class="constant">GL_R16UI</code>,
<code class="constant">GL_R8</code>,
<code class="constant">GL_R8I</code>,
<code class="constant">GL_R8UI</code>,
<code class="constant">GL_RGBA16_SNORM</code>,
<code class="constant">GL_RGBA8_SNORM</code>,
<code class="constant">GL_RGB32F</code>,
<code class="constant">GL_RGB32I</code>,
<code class="constant">GL_RGB32UI</code>,
<code class="constant">GL_RGB16_SNORM</code>,
<code class="constant">GL_RGB16F</code>,
<code class="constant">GL_RGB16I</code>,
<code class="constant">GL_RGB16UI</code>,
<code class="constant">GL_RGB16</code>,
<code class="constant">GL_RGB8_SNORM</code>,
<code class="constant">GL_RGB8</code>,
<code class="constant">GL_RGB8I</code>,
<code class="constant">GL_RGB8UI</code>,
<code class="constant">GL_SRGB8</code>,
<code class="constant">GL_RGB9_E5</code>,
<code class="constant">GL_RG16_SNORM</code>,
<code class="constant">GL_RG8_SNORM</code>,
<code class="constant">GL_COMPRESSED_RG_RGTC2</code>,
<code class="constant">GL_COMPRESSED_SIGNED_RG_RGTC2</code>,
<code class="constant">GL_R16_SNORM</code>,
<code class="constant">GL_R8_SNORM</code>,
<code class="constant">GL_COMPRESSED_RED_RGTC1</code>,
<code class="constant">GL_COMPRESSED_SIGNED_RED_RGTC1</code>,
<code class="constant">GL_DEPTH_COMPONENT32F</code>,
<code class="constant">GL_DEPTH_COMPONENT24</code>,
<code class="constant">GL_DEPTH_COMPONENT16</code>,
<code class="constant">GL_DEPTH32F_STENCIL8</code>,
<code class="constant">GL_DEPTH24_STENCIL8</code>.
</p></dd><dt><span class="term"><em class="parameter"><code>width</code></em></span></dt><dd><p>
Specifies the width of the texture image.
All implementations support texture images that are at least 1024 texels
Expand Down Expand Up @@ -434,4 +493,4 @@
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
<a class="ulink" href="http://oss.sgi.com/projects/FreeB/" target="_top">http://oss.sgi.com/projects/FreeB/</a>.
</p></div></div></div>
</p></div></div></div>

0 comments on commit 6f80b7b

Please sign in to comment.