<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glActiveTexture</refentrytitle>
<listitem>
<para>
Specifies which texture unit to make active. The number
- of texture units is implementation dependent, but must be at least
- 80. <parameter>texture</parameter> must be one of
+ of texture units is implementation dependent, but must
+ be at least 80. <parameter>texture</parameter> must be
+ one of
<constant>GL_TEXTURE</constant><emphasis>i</emphasis>,
- where
- <emphasis>i</emphasis> ranges from 0 (<constant>GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS</constant> - 1).
- The initial value is <constant>GL_TEXTURE0</constant>.
+ where <emphasis>i</emphasis> ranges from zero to the value
+ of
+ <constant>GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS</constant>
+ minus one. The initial value is
+ <constant>GL_TEXTURE0</constant>.
</para>
</listitem>
</varlistentry>
</refsect1>
<refsect1 id="errors"><title>Errors</title>
<para>
- <constant>GL_INVALID_ENUM</constant> is generated if <parameter>texture</parameter> is not one of
- <constant>GL_TEXTURE</constant><emphasis>i</emphasis>,
- where <emphasis>i</emphasis> ranges from 0 to (<constant>GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS</constant> - 1).
+ <constant>GL_INVALID_ENUM</constant> is generated if
+ <parameter>texture</parameter> is not one of
+ <constant>GL_TEXTURE</constant><emphasis>i</emphasis>, where
+ <emphasis>i</emphasis> ranges from zero to the value of
+ <constant>GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS</constant> minus
+ one.
</para>
</refsect1>
<refsect1 id="associatedgets"><title>Associated Gets</title>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<citerefentry><refentrytitle>glDrawArrays</refentrytitle></citerefentry> must match those specified
in the following table:
</para>
- <informaltable frame="topbot">
+ <informaltable>
<tgroup cols="2" align="left">
<colspec colwidth="1.1*" />
<colspec colwidth="1*" />
<thead>
<row>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Transform Feedback <parameter>primitiveMode</parameter>
- </emphasis></entry>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Allowed Render Primitive <parameter>modes</parameter>
- </emphasis></entry>
+ <entry>
+ <emphasis role="bold">
+ Transform Feedback <parameter>primitiveMode</parameter>
+ </emphasis>
+ </entry>
+ <entry>
+ <emphasis role="bold">
+ Allowed Render Primitive <parameter>modes</parameter>
+ </emphasis>
+ </entry>
</row>
</thead>
<tbody>
<row>
- <entry align="left">
- <constant>GL_POINTS</constant>
- </entry>
- <entry align="left">
- <constant>GL_POINTS</constant>
- </entry>
+ <entry> <constant>GL_POINTS</constant> </entry>
+ <entry> <constant>GL_POINTS</constant> </entry>
</row>
<row>
- <entry align="left">
- <constant>GL_LINES</constant>
- </entry>
- <entry align="left">
- <constant>GL_LINES</constant>, <constant>GL_LINE_LOOP</constant>, <constant>GL_LINE_STRIP</constant>,
- <constant>GL_LINES_ADJACENCY</constant>, <constant>GL_LINE_STRIP_ADJACENCY</constant>
+ <entry> <constant>GL_LINES</constant> </entry>
+ <entry>
+ <constant>GL_LINES</constant>,
+ <constant>GL_LINE_LOOP</constant>,
+ <constant>GL_LINE_STRIP</constant>,
+ <constant>GL_LINES_ADJACENCY</constant>,
+ <constant>GL_LINE_STRIP_ADJACENCY</constant>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_TRIANGLES</constant>
+ <entry>
+ <constant>GL_TRIANGLES</constant>
</entry>
- <entry align="left">
- <constant>GL_TRIANGLES</constant>, <constant>GL_TRIANGLE_STRIP</constant>, <constant>GL_TRIANGLE_FAN</constant>,
- <constant>GL_TRIANGLES_ADJACENCY</constant>, <constant>GL_TRIANGLE_STRIP_ADJACENCY</constant>
+ <entry>
+ <constant>GL_TRIANGLES</constant>,
+ <constant>GL_TRIANGLE_STRIP</constant>,
+ <constant>GL_TRIANGLE_FAN</constant>,
+ <constant>GL_TRIANGLES_ADJACENCY</constant>,
+ <constant>GL_TRIANGLE_STRIP_ADJACENCY</constant>
</entry>
</row>
</tbody>
<para>
If a geometry shader is present, the output primitive type from the geometry shader must match those
provided in the following table:
- <informaltable frame="topbot">
+ </para>
+ <informaltable>
<tgroup cols="2" align="left">
<colspec colwidth="1.1*" />
<colspec colwidth="1*" />
<thead>
<row>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Transform Feedback <parameter>primitiveMode</parameter>
- </emphasis></entry>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Allowed Geometry Shader Output Primitive Type
- </emphasis></entry>
+ <entry>
+ <emphasis role="bold">
+ Transform Feedback <parameter>primitiveMode</parameter>
+ </emphasis>
+ </entry>
+ <entry>
+ <emphasis role="bold">
+ Allowed Geometry Shader Output Primitive Type
+ </emphasis>
+ </entry>
</row>
</thead>
<tbody>
<row>
- <entry align="left">
- <constant>GL_POINTS</constant>
- </entry>
- <entry align="left">
- <constant>points</constant>
- </entry>
+ <entry> <constant>GL_POINTS</constant> </entry>
+ <entry> <constant>points</constant> </entry>
</row>
<row>
- <entry align="left">
- <constant>GL_LINES</constant>
- </entry>
- <entry align="left">
- <constant>line_strip</constant>
- </entry>
+ <entry> <constant>GL_LINES</constant> </entry>
+ <entry> <constant>line_strip</constant> </entry>
</row>
<row>
- <entry align="left">
- <constant>GL_TRIANGLES</constant>
- </entry>
- <entry align="left">
- <constant>triangle_strip</constant>
- </entry>
+ <entry> <constant>GL_TRIANGLES</constant> </entry>
+ <entry> <constant>triangle_strip</constant> </entry>
</row>
</tbody>
</tgroup>
</informaltable>
- </para>
</refsect1>
<refsect1 id="notes"><title>Notes</title>
<para>
<para>This command makes it possible for vertex shaders to use
descriptive names for attribute variables rather than generic
- variables that are numbered from 0 to
- <constant>GL_MAX_VERTEX_ATTRIBS</constant> -1. The values sent
+ variables that are numbered from zero to the value of
+ <constant>GL_MAX_VERTEX_ATTRIBS</constant> minus one. The values sent
to each generic attribute index are part of current state.
If a different program object is made current by calling
<citerefentry><refentrytitle>glUseProgram</refentrytitle></citerefentry>,
<constant>GL_TEXTURE_BUFFER</constant> targets are available only if the GL version is 3.1 or greater.
</para>
<para>
- The <constant>GL_ATOMIC_COUNTER_BUFER</constant> target is available only if the GL version is 4.2 or greater.
+ The <constant>GL_ATOMIC_COUNTER_BUFFER</constant> target is available only if the GL version is 4.2 or greater.
</para>
<para>
The <constant>GL_DISPATCH_INDIRECT_BUFFER</constant> and <constant>GL_SHADER_STORAGE_BUFFER</constant> targets are available only if the GL version is 4.3 or greater.
zero and <parameter>size</parameter> equal to the size of the buffer.
</para>
<para>
- The <constant>GL_ATOMIC_COUNTER_BUFER</constant> target is available only if the GL version is 4.2 or greater.
+ The <constant>GL_ATOMIC_COUNTER_BUFFER</constant> target is available only if the GL version is 4.2 or greater.
</para>
<para>
The <constant>GL_SHADER_STORAGE_BUFFER</constant> target is available only if the GL version is 4.3 or greater.
</refsect1>
<refsect1 id="notes"><title>Notes</title>
<para>
- The <constant>GL_ATOMIC_COUNTER_BUFER</constant> target is available only if the GL version is 4.2 or greater.
+ The <constant>GL_ATOMIC_COUNTER_BUFFER</constant> target is available only if the GL version is 4.2 or greater.
</para>
<para>
The <constant>GL_SHADER_STORAGE_BUFFER</constant> target is available only if the GL version is 4.3 or greater.
<refsynopsisdiv><title>C Specification</title>
<funcsynopsis>
<funcprototype>
- <funcdef>void <function>glBindBufferBase</function></funcdef>
+ <funcdef>void <function>glBindBuffersBase</function></funcdef>
<paramdef>GLenum <parameter>target</parameter></paramdef>
<paramdef>GLuint <parameter>first</parameter></paramdef>
<paramdef>GLsizei <parameter>count</parameter></paramdef>
be one of the formats listed in the following table.
</para>
<para>
- <table frame="topbot"><title>Internal Image Formats</title>
+ <table>
+ <title>Internal Image Formats</title>
<tgroup cols="2" align="left">
- <colspec align="left"/>
- <colspec align="left"/>
+ <colspec/>
+ <colspec/>
<thead>
<row>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Image Unit Format
- </emphasis></entry>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Format Qualifier
- </emphasis></entry>
+ <entry>
+ <emphasis role="bold"> Image Unit Format </emphasis>
+ </entry>
+ <entry>
+ <emphasis role="bold"> Format Qualifier </emphasis>
+ </entry>
</row>
</thead>
<tbody>
<row>
- <entry><constant>GL_RGBA32F</constant></entry><entry><code>rgba32f</code></entry>
+ <entry><constant>GL_RGBA32F</constant></entry>
+ <entry><code>rgba32f</code></entry>
</row>
<row>
- <entry><constant>GL_RGBA16F</constant></entry><entry><code>rgba16f</code></entry>
+ <entry><constant>GL_RGBA16F</constant></entry>
+ <entry><code>rgba16f</code></entry>
</row>
<row>
- <entry><constant>GL_RG32F</constant></entry><entry><code>rg32f</code></entry>
+ <entry><constant>GL_RG32F</constant></entry>
+ <entry><code>rg32f</code></entry>
</row>
<row>
- <entry><constant>GL_RG16F</constant></entry><entry><code>rg16f</code></entry>
+ <entry><constant>GL_RG16F</constant></entry>
+ <entry><code>rg16f</code></entry>
</row>
<row>
- <entry><constant>GL_R11F_G11F_B10F</constant></entry><entry><code>r11f_g11f_b10f</code></entry>
+ <entry><constant>GL_R11F_G11F_B10F</constant></entry>
+ <entry><code>r11f_g11f_b10f</code></entry>
</row>
<row>
- <entry><constant>GL_R32F</constant></entry><entry><code>r32f</code></entry>
+ <entry><constant>GL_R32F</constant></entry>
+ <entry><code>r32f</code></entry>
</row>
<row>
- <entry><constant>GL_R16F</constant></entry><entry><code>r16f</code></entry>
+ <entry><constant>GL_R16F</constant></entry>
+ <entry><code>r16f</code></entry>
</row>
<row>
- <entry><constant>GL_RGBA32UI</constant></entry><entry><code>rgba32ui</code></entry>
+ <entry><constant>GL_RGBA32UI</constant></entry>
+ <entry><code>rgba32ui</code></entry>
</row>
<row>
- <entry><constant>GL_RGBA16UI</constant></entry><entry><code>rgba16ui</code></entry>
+ <entry><constant>GL_RGBA16UI</constant></entry>
+ <entry><code>rgba16ui</code></entry>
</row>
<row>
- <entry><constant>GL_RGB10_A2UI</constant></entry><entry><code>rgb10_a2ui</code></entry>
+ <entry><constant>GL_RGB10_A2UI</constant></entry>
+ <entry><code>rgb10_a2ui</code></entry>
</row>
<row>
- <entry><constant>GL_RGBA8UI</constant></entry><entry><code>rgba8ui</code></entry>
+ <entry><constant>GL_RGBA8UI</constant></entry>
+ <entry><code>rgba8ui</code></entry>
</row>
<row>
- <entry><constant>GL_RG32UI</constant></entry><entry><code>rg32ui</code></entry>
+ <entry><constant>GL_RG32UI</constant></entry>
+ <entry><code>rg32ui</code></entry>
</row>
<row>
- <entry><constant>GL_RG16UI</constant></entry><entry><code>rg16ui</code></entry>
+ <entry><constant>GL_RG16UI</constant></entry>
+ <entry><code>rg16ui</code></entry>
</row>
<row>
- <entry><constant>GL_RG8UI</constant></entry><entry><code>rg8ui</code></entry>
+ <entry><constant>GL_RG8UI</constant></entry>
+ <entry><code>rg8ui</code></entry>
</row>
<row>
- <entry><constant>GL_R32UI</constant></entry><entry><code>r32ui</code></entry>
+ <entry><constant>GL_R32UI</constant></entry>
+ <entry><code>r32ui</code></entry>
</row>
<row>
- <entry><constant>GL_R16UI</constant></entry><entry><code>r16ui</code></entry>
+ <entry><constant>GL_R16UI</constant></entry>
+ <entry><code>r16ui</code></entry>
</row>
<row>
- <entry><constant>GL_R8UI</constant></entry><entry><code>r8ui</code></entry>
+ <entry><constant>GL_R8UI</constant></entry>
+ <entry><code>r8ui</code></entry>
</row>
<row>
- <entry><constant>GL_RGBA32I</constant></entry><entry><code>rgba32i</code></entry>
+ <entry><constant>GL_RGBA32I</constant></entry>
+ <entry><code>rgba32i</code></entry>
</row>
<row>
- <entry><constant>GL_RGBA16I</constant></entry><entry><code>rgba16i</code></entry>
+ <entry><constant>GL_RGBA16I</constant></entry>
+ <entry><code>rgba16i</code></entry>
</row>
<row>
- <entry><constant>GL_RGBA8I</constant></entry><entry><code>rgba8i</code></entry>
+ <entry><constant>GL_RGBA8I</constant></entry>
+ <entry><code>rgba8i</code></entry>
</row>
<row>
- <entry><constant>GL_RG32I</constant></entry><entry><code>rg32i</code></entry>
+ <entry><constant>GL_RG32I</constant></entry>
+ <entry><code>rg32i</code></entry>
</row>
<row>
- <entry><constant>GL_RG16I</constant></entry><entry><code>rg16i</code></entry>
+ <entry><constant>GL_RG16I</constant></entry>
+ <entry><code>rg16i</code></entry>
</row>
<row>
- <entry><constant>GL_RG8I</constant></entry><entry><code>rg8i</code></entry>
+ <entry><constant>GL_RG8I</constant></entry>
+ <entry><code>rg8i</code></entry>
</row>
<row>
- <entry><constant>GL_R32I</constant></entry><entry><code>r32i</code></entry>
+ <entry><constant>GL_R32I</constant></entry>
+ <entry><code>r32i</code></entry>
</row>
<row>
- <entry><constant>GL_R16I</constant></entry><entry><code>r16i</code></entry>
+ <entry><constant>GL_R16I</constant></entry>
+ <entry><code>r16i</code></entry>
</row>
<row>
- <entry><constant>GL_R8I</constant></entry><entry><code>r8i</code></entry>
+ <entry><constant>GL_R8I</constant></entry>
+ <entry><code>r8i</code></entry>
</row>
<row>
- <entry><constant>GL_RGBA16</constant></entry><entry><code>rgba16</code></entry>
+ <entry><constant>GL_RGBA16</constant></entry>
+ <entry><code>rgba16</code></entry>
</row>
<row>
- <entry><constant>GL_RGB10_A2</constant></entry><entry><code>rgb10_a2</code></entry>
+ <entry><constant>GL_RGB10_A2</constant></entry>
+ <entry><code>rgb10_a2</code></entry>
</row>
<row>
- <entry><constant>GL_RGBA8</constant></entry><entry><code>rgba8</code></entry>
+ <entry><constant>GL_RGBA8</constant></entry>
+ <entry><code>rgba8</code></entry>
</row>
<row>
- <entry><constant>GL_RG16</constant></entry><entry><code>rg16</code></entry>
+ <entry><constant>GL_RG16</constant></entry>
+ <entry><code>rg16</code></entry>
</row>
<row>
- <entry><constant>GL_RG8</constant></entry><entry><code>rg8</code></entry>
+ <entry><constant>GL_RG8</constant></entry>
+ <entry><code>rg8</code></entry>
</row>
<row>
- <entry><constant>GL_R16</constant></entry><entry><code>r16</code></entry>
+ <entry><constant>GL_R16</constant></entry>
+ <entry><code>r16</code></entry>
</row>
<row>
- <entry><constant>GL_R8</constant></entry><entry><code>r8</code></entry>
+ <entry><constant>GL_R8</constant></entry>
+ <entry><code>r8</code></entry>
</row>
<row>
- <entry><constant>GL_RGBA16_SNORM</constant></entry><entry><code>rgba16_snorm</code></entry>
+ <entry><constant>GL_RGBA16_SNORM</constant></entry>
+ <entry><code>rgba16_snorm</code></entry>
</row>
<row>
- <entry><constant>GL_RGBA8_SNORM</constant></entry><entry><code>rgba8_snorm</code></entry>
+ <entry><constant>GL_RGBA8_SNORM</constant></entry>
+ <entry><code>rgba8_snorm</code></entry>
</row>
<row>
- <entry><constant>GL_RG16_SNORM</constant></entry><entry><code>rg16_snorm</code></entry>
+ <entry><constant>GL_RG16_SNORM</constant></entry>
+ <entry><code>rg16_snorm</code></entry>
</row>
<row>
- <entry><constant>GL_RG8_SNORM</constant></entry><entry><code>rg8_snorm</code></entry>
+ <entry><constant>GL_RG8_SNORM</constant></entry>
+ <entry><code>rg8_snorm</code></entry>
</row>
<row>
- <entry><constant>GL_R16_SNORM</constant></entry><entry><code>r16_snorm</code></entry>
+ <entry><constant>GL_R16_SNORM</constant></entry>
+ <entry><code>r16_snorm</code></entry>
</row>
<row>
- <entry><constant>GL_R8_SNORM</constant></entry><entry><code>r8_snorm</code></entry>
+ <entry><constant>GL_R8_SNORM</constant></entry>
+ <entry><code>r8_snorm</code></entry>
</row>
</tbody>
</tgroup>
objects whose names are stored in the array <parameter>textures</parameter>. That number
of texture names are read from the array and bound to the <parameter>count</parameter> consecutive
texture units starting from <parameter>first</parameter>.
-
+
If the name zero appears in the <parameter>textures</parameter> array, any existing binding
to the image unit is reset. Any non-zero entry in <parameter>textures</parameter> must be the
name of an existing texture object. When a non-zero entry in <parameter>textures</parameter> is
layer set to zero, and the image is bound for read-write access. The image unit format
parameter is taken from the internal format of the image at level zero of the texture object.
For cube map textures, the internal format of the positive X image of level zero is used.
-
-
+
+
If <parameter>textures</parameter> is <constant>NULL</constant> then it is as
if an appropriately sized array containing only zeros had been specified.
</para>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glBlendColor</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glBlendEquation</refentrytitle>
</mml:mfenced>
</mml:math></inlineequation>.
- <informaltable frame="topbot">
+ <informaltable>
<tgroup cols="3" align="left">
<colspec colwidth="1.1*" />
<colspec colwidth="1*" />
<colspec colwidth="1*" />
<thead>
<row>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Mode
- </emphasis></entry>
- <entry rowsep="1" align="left"><emphasis role="bold">
- RGB Components
- </emphasis></entry>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Alpha Component
- </emphasis></entry>
+ <entry>
+ <emphasis role="bold"> Mode </emphasis>
+ </entry>
+ <entry>
+ <emphasis role="bold"> RGB Components </emphasis>
+ </entry>
+ <entry>
+ <emphasis role="bold"> Alpha Component </emphasis>
+ </entry>
</row>
</thead>
<tbody>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FUNC_ADD</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: Rr = R sub s s sub R + R sub d d sub R : -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: Ar = A sub s s sub A + A sub d d sub A : -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FUNC_SUBTRACT</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: Rr = R sub s s sub R - R sub d d sub R : -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: Ar = A sub s s sub A - A sub d d sub A : -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FUNC_REVERSE_SUBTRACT</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: Rr = R sub d d sub R - R sub s s sub R : -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: Ar = A sub d d sub A - A sub s s sub A : -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_MIN</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: Rr = min ( R sub s, R sub d): -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: Ar = min ( A sub s, A sub d): -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_MAX</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: Rr = max ( R sub s, R sub d): -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: Ar = max ( A sub s, A sub d): -->
<mml:mrow>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
</mml:mfenced>
</mml:math></inlineequation>.
- <informaltable frame="topbot">
+ <informaltable>
<tgroup cols="3" align="left">
<colspec colwidth="1.1*" />
<colspec colwidth="1*" />
<colspec colwidth="1*" />
<thead>
<row>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Mode
- </emphasis></entry>
- <entry rowsep="1" align="left"><emphasis role="bold">
- RGB Components
- </emphasis></entry>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Alpha Component
- </emphasis></entry>
+ <entry>
+ <emphasis role="bold"> Mode </emphasis>
+ </entry>
+ <entry>
+ <emphasis role="bold"> RGB Components </emphasis>
+ </entry>
+ <entry>
+ <emphasis role="bold"> Alpha Component </emphasis>
+ </entry>
</row>
</thead>
<tbody>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FUNC_ADD</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: Rr = R sub s s sub R + R sub d d sub R :-->
<mml:mrow>
<mml:mi mathvariant="italic">Rr</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
- <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
- <mml:mi mathvariant="italic">s</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
- <mml:mi mathvariant="italic">R</mml:mi>
- </mml:msub>
- <mml:mo>+</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
- <mml:mi mathvariant="italic">d</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
- <mml:mi mathvariant="italic">R</mml:mi>
- </mml:msub>
+ <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
+ <mml:mi mathvariant="italic">s</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
+ <mml:mi mathvariant="italic">R</mml:mi>
+ </mml:msub>
+ <mml:mo>+</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
+ <mml:mi mathvariant="italic">d</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
+ <mml:mi mathvariant="italic">R</mml:mi>
+ </mml:msub>
</mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
<mml:mi mathvariant="italic">Gr</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
- <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
- <mml:mi mathvariant="italic">s</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
- <mml:mi mathvariant="italic">G</mml:mi>
- </mml:msub>
- <mml:mo>+</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
- <mml:mi mathvariant="italic">d</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
- <mml:mi mathvariant="italic">G</mml:mi>
- </mml:msub>
+ <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
+ <mml:mi mathvariant="italic">s</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
+ <mml:mi mathvariant="italic">G</mml:mi>
+ </mml:msub>
+ <mml:mo>+</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
+ <mml:mi mathvariant="italic">d</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
+ <mml:mi mathvariant="italic">G</mml:mi>
+ </mml:msub>
</mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
<mml:mi mathvariant="italic">Br</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
- <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
- <mml:mi mathvariant="italic">s</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
- <mml:mi mathvariant="italic">B</mml:mi>
- </mml:msub>
- <mml:mo>+</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
- <mml:mi mathvariant="italic">d</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
- <mml:mi mathvariant="italic">B</mml:mi>
- </mml:msub>
+ <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
+ <mml:mi mathvariant="italic">s</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
+ <mml:mi mathvariant="italic">B</mml:mi>
+ </mml:msub>
+ <mml:mo>+</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
+ <mml:mi mathvariant="italic">d</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
+ <mml:mi mathvariant="italic">B</mml:mi>
+ </mml:msub>
</mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: Ar = A sub s s sub A + A sub d d sub A :-->
<mml:mrow>
<mml:mi mathvariant="italic">Ar</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
- <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
- <mml:mi mathvariant="italic">s</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
- <mml:mi mathvariant="italic">A</mml:mi>
- </mml:msub>
- <mml:mo>+</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
- <mml:mi mathvariant="italic">d</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
- <mml:mi mathvariant="italic">A</mml:mi>
- </mml:msub>
+ <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
+ <mml:mi mathvariant="italic">s</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
+ <mml:mi mathvariant="italic">A</mml:mi>
+ </mml:msub>
+ <mml:mo>+</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
+ <mml:mi mathvariant="italic">d</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
+ <mml:mi mathvariant="italic">A</mml:mi>
+ </mml:msub>
</mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FUNC_SUBTRACT</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: Rr = R sub s s sub R - R sub d d sub R :-->
<mml:mrow>
<mml:mi mathvariant="italic">Rr</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
- <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
- <mml:mi mathvariant="italic">s</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
- <mml:mi mathvariant="italic">R</mml:mi>
- </mml:msub>
- <mml:mo>-</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
- <mml:mi mathvariant="italic">d</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
- <mml:mi mathvariant="italic">R</mml:mi>
- </mml:msub>
+ <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
+ <mml:mi mathvariant="italic">s</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
+ <mml:mi mathvariant="italic">R</mml:mi>
+ </mml:msub>
+ <mml:mo>-</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
+ <mml:mi mathvariant="italic">d</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
+ <mml:mi mathvariant="italic">R</mml:mi>
+ </mml:msub>
</mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
<mml:mi mathvariant="italic">Gr</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
- <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
- <mml:mi mathvariant="italic">s</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
- <mml:mi mathvariant="italic">G</mml:mi>
- </mml:msub>
- <mml:mo>-</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
- <mml:mi mathvariant="italic">d</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
- <mml:mi mathvariant="italic">G</mml:mi>
- </mml:msub>
+ <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
+ <mml:mi mathvariant="italic">s</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
+ <mml:mi mathvariant="italic">G</mml:mi>
+ </mml:msub>
+ <mml:mo>-</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
+ <mml:mi mathvariant="italic">d</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
+ <mml:mi mathvariant="italic">G</mml:mi>
+ </mml:msub>
</mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
<mml:mi mathvariant="italic">Br</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
- <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
- <mml:mi mathvariant="italic">s</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
- <mml:mi mathvariant="italic">B</mml:mi>
- </mml:msub>
- <mml:mo>-</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
- <mml:mi mathvariant="italic">d</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
- <mml:mi mathvariant="italic">B</mml:mi>
- </mml:msub>
+ <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
+ <mml:mi mathvariant="italic">s</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
+ <mml:mi mathvariant="italic">B</mml:mi>
+ </mml:msub>
+ <mml:mo>-</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
+ <mml:mi mathvariant="italic">d</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
+ <mml:mi mathvariant="italic">B</mml:mi>
+ </mml:msub>
</mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: Ar = A sub s s sub A - A sub d d sub A :-->
<mml:mrow>
<mml:mi mathvariant="italic">Ar</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
- <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
- <mml:mi mathvariant="italic">s</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
- <mml:mi mathvariant="italic">A</mml:mi>
- </mml:msub>
- <mml:mo>-</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
- <mml:mi mathvariant="italic">d</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
- <mml:mi mathvariant="italic">A</mml:mi>
- </mml:msub>
+ <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
+ <mml:mi mathvariant="italic">s</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
+ <mml:mi mathvariant="italic">A</mml:mi>
+ </mml:msub>
+ <mml:mo>-</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
+ <mml:mi mathvariant="italic">d</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
+ <mml:mi mathvariant="italic">A</mml:mi>
+ </mml:msub>
</mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FUNC_REVERSE_SUBTRACT</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: Rr = R sub d d sub R - R sub s s sub R :-->
<mml:mrow>
<mml:mi mathvariant="italic">Rr</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
- <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
- <mml:mi mathvariant="italic">d</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
- <mml:mi mathvariant="italic">R</mml:mi>
- </mml:msub>
- <mml:mo>-</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
- <mml:mi mathvariant="italic">s</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
- <mml:mi mathvariant="italic">R</mml:mi>
- </mml:msub>
+ <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
+ <mml:mi mathvariant="italic">d</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
+ <mml:mi mathvariant="italic">R</mml:mi>
+ </mml:msub>
+ <mml:mo>-</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">R</mml:mi>
+ <mml:mi mathvariant="italic">s</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
+ <mml:mi mathvariant="italic">R</mml:mi>
+ </mml:msub>
</mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
<mml:mi mathvariant="italic">Gr</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
- <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
- <mml:mi mathvariant="italic">d</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
- <mml:mi mathvariant="italic">G</mml:mi>
- </mml:msub>
- <mml:mo>-</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
- <mml:mi mathvariant="italic">s</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
- <mml:mi mathvariant="italic">G</mml:mi>
- </mml:msub>
+ <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
+ <mml:mi mathvariant="italic">d</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
+ <mml:mi mathvariant="italic">G</mml:mi>
+ </mml:msub>
+ <mml:mo>-</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">G</mml:mi>
+ <mml:mi mathvariant="italic">s</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
+ <mml:mi mathvariant="italic">G</mml:mi>
+ </mml:msub>
</mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
<mml:mi mathvariant="italic">Br</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
- <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
- <mml:mi mathvariant="italic">d</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
- <mml:mi mathvariant="italic">B</mml:mi>
- </mml:msub>
- <mml:mo>-</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
- <mml:mi mathvariant="italic">s</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
- <mml:mi mathvariant="italic">B</mml:mi>
- </mml:msub>
+ <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
+ <mml:mi mathvariant="italic">d</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
+ <mml:mi mathvariant="italic">B</mml:mi>
+ </mml:msub>
+ <mml:mo>-</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">B</mml:mi>
+ <mml:mi mathvariant="italic">s</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
+ <mml:mi mathvariant="italic">B</mml:mi>
+ </mml:msub>
</mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: Ar = A sub d d sub A - A sub s s sub A :-->
<mml:mrow>
<mml:mi mathvariant="italic">Ar</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
- <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
- <mml:mi mathvariant="italic">d</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
- <mml:mi mathvariant="italic">A</mml:mi>
- </mml:msub>
- <mml:mo>-</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
- <mml:mi mathvariant="italic">s</mml:mi>
- </mml:msub>
- <mml:mo>⁢</mml:mo>
- <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
- <mml:mi mathvariant="italic">A</mml:mi>
- </mml:msub>
+ <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
+ <mml:mi mathvariant="italic">d</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">d</mml:mi>
+ <mml:mi mathvariant="italic">A</mml:mi>
+ </mml:msub>
+ <mml:mo>-</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">A</mml:mi>
+ <mml:mi mathvariant="italic">s</mml:mi>
+ </mml:msub>
+ <mml:mo>⁢</mml:mo>
+ <mml:msub><mml:mi mathvariant="italic">s</mml:mi>
+ <mml:mi mathvariant="italic">A</mml:mi>
+ </mml:msub>
</mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_MIN</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: Rr = min ( R sub s, R sub d):-->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: Ar = min ( A sub s, A sub d):-->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_MAX</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: Rr = max ( R sub s, R sub d):-->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: Ar = max ( A sub s, A sub d):-->
<mml:mrow>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glBlendFunc</refentrytitle>
</para>
<para>
</para>
- <informaltable frame="topbot">
+ <informaltable>
<tgroup cols="2" align="left">
<colspec/>
<colspec/>
<thead>
<row>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Parameter
- </emphasis></entry>
- <entry rowsep="1" align="left"><emphasis role="bold">
- <inlineequation><mml:math>
- <!-- eqn: ( f sub R , f sub G , f sub B , f sub A ): -->
- <mml:mfenced open="(" close=")">
- <mml:msub><mml:mi mathvariant="italic">f</mml:mi>
- <mml:mi mathvariant="italic">R</mml:mi>
- </mml:msub>
- <mml:msub><mml:mi mathvariant="italic">f</mml:mi>
- <mml:mi mathvariant="italic">G</mml:mi>
- </mml:msub>
- <mml:msub><mml:mi mathvariant="italic">f</mml:mi>
- <mml:mi mathvariant="italic">B</mml:mi>
- </mml:msub>
- <mml:msub><mml:mi mathvariant="italic">f</mml:mi>
- <mml:mi mathvariant="italic">A</mml:mi>
- </mml:msub>
- </mml:mfenced>
- </mml:math></inlineequation>
- </emphasis></entry>
+ <entry>
+ <emphasis role="bold"> Parameter </emphasis>
+ </entry>
+ <entry>
+ <inlineequation><mml:math>
+ <!-- eqn: ( f sub R , f sub G , f sub B , f sub A ): -->
+ <mml:mfenced open="(" close=")">
+ <mml:msub><mml:mi mathvariant="italic">f</mml:mi>
+ <mml:mi mathvariant="italic">R</mml:mi>
+ </mml:msub>
+ <mml:msub><mml:mi mathvariant="italic">f</mml:mi>
+ <mml:mi mathvariant="italic">G</mml:mi>
+ </mml:msub>
+ <mml:msub><mml:mi mathvariant="italic">f</mml:mi>
+ <mml:mi mathvariant="italic">B</mml:mi>
+ </mml:msub>
+ <mml:msub><mml:mi mathvariant="italic">f</mml:mi>
+ <mml:mi mathvariant="italic">A</mml:mi>
+ </mml:msub>
+ </mml:mfenced>
+ </mml:math></inlineequation>
+ </entry>
</row>
</thead>
<tbody>
<row>
- <entry align="left">
- <constant>GL_ZERO</constant>
+ <entry>
+ <constant>GL_ZERO</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( 0, 0, 0, 0 ): -->
<mml:mfenced open="(" close=")">
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_ONE</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1, 1 ): -->
<mml:mfenced open="(" close=")">
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SRC_COLOR</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( R sub s0 / k sub R , G sub s0 / k sub G , B sub s0 / k sub B , A sub s0 / k sub A ): -->
<mml:mfenced open="(" close=")">
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_ONE_MINUS_SRC_COLOR</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1, 1 ) - (R sub s0 / k sub R , G sub s0 / k sub G , B sub s0 / k sub B , A sub s0 / k sub A ): -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DST_COLOR</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( R sub d / k sub R , G sub d / k sub G , B sub d / k sub B , A sub d / k sub A ): -->
<mml:mfenced open="(" close=")">
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_ONE_MINUS_DST_COLOR</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1, 1 ) - (R sub d / k sub R , G sub d / k sub G , B sub d / k sub B , A sub d / k sub A ): -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SRC_ALPHA</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( A sub s0 / k sub A , A sub s0 / k sub A , A sub s0 / k sub A , A sub s0 / k sub A ): -->
<mml:mfenced open="(" close=")">
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_ONE_MINUS_SRC_ALPHA</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1, 1 ) - (A sub s0 / k sub A , A sub s0 / k sub A , A sub s0 / k sub A , A sub s0 / k sub A ): -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DST_ALPHA</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( A sub d / k sub A , A sub d / k sub A , A sub d / k sub A , A sub d / k sub A ): -->
<mml:mfenced open="(" close=")">
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_ONE_MINUS_DST_ALPHA</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1, 1 ) - ( A sub d / k sub A , A sub d / k sub A , A sub d / k sub A , A sub d / k sub A ): -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_CONSTANT_COLOR</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( R sub c, G sub c, B sub c, A sub c ): -->
<mml:mfenced open="(" close=")">
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_ONE_MINUS_CONSTANT_COLOR</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1, 1 ) - ( R sub c, G sub c, B sub c, A sub c ): -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_CONSTANT_ALPHA</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( A sub c, A sub c, A sub c, A sub c ): -->
<mml:mfenced open="(" close=")">
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_ONE_MINUS_CONSTANT_ALPHA</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1, 1 ) - ( A sub c, A sub c, A sub c, A sub c ): -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SRC_ALPHA_SATURATE</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( i, i, i, 1 ): -->
<mml:mfenced open="(" close=")">
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SRC1_COLOR</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( R sub s1 / k sub R , G sub s1 / k sub G , B sub s1 / k sub B , A sub s1 / k sub A ): -->
<mml:mfenced open="(" close=")">
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_ONE_MINUS_SRC1_COLOR</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1, 1 ) - (R sub s1 / k sub R , G sub s1 / k sub G , B sub s1 / k sub B , A sub s1 / k sub A ): -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SRC1_ALPHA</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( A sub s1 / k sub A , A sub s1 / k sub A , A sub s1 / k sub A , A sub s1 / k sub A ): -->
<mml:mfenced open="(" close=")">
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_ONE_MINUS_SRC1_ALPHA</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1, 1 ) - (A sub s1 / k sub A , A sub s1 / k sub A , A sub s1 / k sub A , A sub s1 / k sub A ): -->
<mml:mrow>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glBlendFuncSeparate</refentrytitle>
</para>
<para>
</para>
- <informaltable frame="topbot">
+ <informaltable>
<tgroup cols="3" align="left">
<colspec colwidth="3*" />
<colspec colwidth="2*" />
<colspec colwidth="1*" />
<thead>
<row>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Parameter
- </emphasis></entry>
- <entry rowsep="1" align="left"><emphasis role="bold">
- RGB Factor
- </emphasis></entry>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Alpha Factor
- </emphasis></entry>
+ <entry>
+ <emphasis role="bold"> Parameter </emphasis>
+ </entry>
+ <entry>
+ <emphasis role="bold"> RGB Factor </emphasis>
+ </entry>
+ <entry>
+ <emphasis role="bold"> Alpha Factor </emphasis>
+ </entry>
</row>
</thead>
<tbody>
<row>
- <entry align="left">
- <constant>GL_ZERO</constant>
- </entry>
- <entry align="left">
+ <entry> <constant>GL_ZERO</constant> </entry>
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( 0, 0, 0 ): -->
<mml:mfenced open="(" close=")">
</mml:mfenced>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 0: -->
<mml:mn>0</mml:mn>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_ONE</constant>
- </entry>
- <entry align="left">
+ <entry> <constant>GL_ONE</constant> </entry>
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1 ): -->
<mml:mfenced open="(" close=")">
</mml:mfenced>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 1: -->
<mml:mn>1</mml:mn>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_SRC_COLOR</constant>
- </entry>
- <entry align="left">
+ <entry> <constant>GL_SRC_COLOR</constant> </entry>
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( R sub s0 / k sub R , G sub s0 / k sub G , B sub s0 / k sub B ): -->
<mml:mfenced open="(" close=")">
</mml:mfenced>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: A sub s0 / k sub A: -->
<mml:mfrac>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_ONE_MINUS_SRC_COLOR</constant>
- </entry>
- <entry align="left">
+ <entry> <constant>GL_ONE_MINUS_SRC_COLOR</constant> </entry>
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1, 1 ) - ( R sub s0 / k sub R , G sub s0 / k sub G , B sub 0s / k sub B ): -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 1 - A sub s0 / k sub A: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_DST_COLOR</constant>
- </entry>
- <entry align="left">
+ <entry> <constant>GL_DST_COLOR</constant> </entry>
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( R sub d / k sub R , G sub d / k sub G , B sub d / k sub B ): -->
<mml:mfenced open="(" close=")">
</mml:mfenced>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: A sub d / k sub A: -->
<mml:mfrac>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_ONE_MINUS_DST_COLOR</constant>
- </entry>
- <entry align="left">
+ <entry> <constant>GL_ONE_MINUS_DST_COLOR</constant> </entry>
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1 ) - ( R sub d / k sub R , G sub d / k sub G , B sub d / k sub B ): -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 1 - A sub d / k sub A: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_SRC_ALPHA</constant>
- </entry>
- <entry align="left">
+ <entry> <constant>GL_SRC_ALPHA</constant> </entry>
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( A sub s0 / k sub A , A sub s0 / k sub A , A sub s0 / k sub A ): -->
<mml:mfenced open="(" close=")">
</mml:mfenced>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: A sub s / k sub A: -->
<mml:mfrac>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_ONE_MINUS_SRC_ALPHA</constant>
- </entry>
- <entry align="left">
+ <entry> <constant>GL_ONE_MINUS_SRC_ALPHA</constant> </entry>
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1 ) - ( A sub s0 / k sub A , A sub s0 / k sub A , A sub s0 / k sub A ): -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 1 - A sub s / k sub A: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_DST_ALPHA</constant>
- </entry>
- <entry align="left">
+ <entry> <constant>GL_DST_ALPHA</constant> </entry>
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( A sub d / k sub A , A sub d / k sub A , A sub d / k sub A ): -->
<mml:mfenced open="(" close=")">
</mml:mfenced>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: A sub d / k sub A: -->
<mml:mfrac>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_ONE_MINUS_DST_ALPHA</constant>
- </entry>
- <entry align="left">
+ <entry> <constant>GL_ONE_MINUS_DST_ALPHA</constant> </entry>
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1 ) - ( A sub d / k sub A , A sub d / k sub A , A sub d / k sub A ): -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 1 - A sub d / k sub A: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_CONSTANT_COLOR</constant>
- </entry>
- <entry align="left">
+ <entry> <constant>GL_CONSTANT_COLOR</constant> </entry>
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( R sub c, G sub c, B sub c ): -->
<mml:mfenced open="(" close=")">
</mml:mfenced>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: A sub c: -->
<mml:msub><mml:mi mathvariant="italic">A</mml:mi>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_ONE_MINUS_CONSTANT_COLOR</constant>
- </entry>
- <entry align="left">
+ <entry> <constant>GL_ONE_MINUS_CONSTANT_COLOR</constant> </entry>
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1 ) - ( R sub c, G sub c, B sub c ): -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 1 - A sub c: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_CONSTANT_ALPHA</constant>
- </entry>
- <entry align="left">
+ <entry> <constant>GL_CONSTANT_ALPHA</constant> </entry>
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( A sub c, A sub c, A sub c ): -->
<mml:mfenced open="(" close=")">
</mml:mfenced>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: A sub c: -->
<mml:msub><mml:mi mathvariant="italic">A</mml:mi>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_ONE_MINUS_CONSTANT_ALPHA</constant>
- </entry>
- <entry align="left">
+ <entry> <constant>GL_ONE_MINUS_CONSTANT_ALPHA</constant> </entry>
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1 ) - ( A sub c, A sub c, A sub c ): -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 1 - A sub c: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_SRC_ALPHA_SATURATE</constant>
- </entry>
- <entry align="left">
+ <entry> <constant>GL_SRC_ALPHA_SATURATE</constant> </entry>
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( i, i, i ): -->
<mml:mfenced open="(" close=")">
</mml:mfenced>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 1: -->
<mml:mn>1</mml:mn>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_SRC1_COLOR</constant>
- </entry>
- <entry align="left">
+ <entry> <constant>GL_SRC1_COLOR</constant> </entry>
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( R sub s1 / k sub R , G sub s1 / k sub G , B sub s1 / k sub B ): -->
<mml:mfenced open="(" close=")">
</mml:mfenced>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: A sub s0 / k sub A: -->
<mml:mfrac>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_ONE_MINUS_SRC_COLOR</constant>
- </entry>
- <entry align="left">
+ <entry> <constant>GL_ONE_MINUS_SRC_COLOR</constant> </entry>
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1, 1 ) - ( R sub s1 / k sub R , G sub s1 / k sub G , B sub s1 / k sub B ): -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 1 - A sub s0 / k sub A: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_SRC1_ALPHA</constant>
- </entry>
- <entry align="left">
+ <entry> <constant>GL_SRC1_ALPHA</constant> </entry>
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( A sub s1 / k sub A , A sub s1 / k sub A , A sub s1 / k sub A ): -->
<mml:mfenced open="(" close=")">
</mml:mfenced>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: A sub s1 / k sub A: -->
<mml:mfrac>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_ONE_MINUS_SRC_ALPHA</constant>
- </entry>
- <entry align="left">
+ <entry> <constant>GL_ONE_MINUS_SRC_ALPHA</constant> </entry>
+ <entry>
<inlineequation><mml:math>
<!-- eqn: ( 1, 1, 1 ) - ( A sub s1 / k sub A , A sub s1 / k sub A , A sub s1 / k sub A ): -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 1 - A sub s1 / k sub A: -->
<mml:mrow>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
</listitem>
</varlistentry>
<varlistentry>
- <term><constant>GL_CLIENT_STORAGE_BIT</constant></term>
+ <term><constant>GL_CLIENT_STORAGE_BIT</constant></term>
<listitem>
<para>
When all other criteria for the buffer storage
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glClear</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glClearColor</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glClearDepth</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glClearStencil</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
<mml:math><mml:mi mathvariant="italic">hb</mml:mi></mml:math>
</inlineequation>, and
<inlineequation>
- <mml:math><mml:mi mathvariant="italic">db</mml:mi></mml:math>
+ <mml:math><mml:mi mathvariant="italic">db</mml:mi></mml:math>
</inlineequation> to be
the specified <parameter>width</parameter>, <parameter>height</parameter>, <parameter>depth</parameter>, and the border width, border height, and border
depth of the texel array and taking
<mml:math><mml:mi mathvariant="italic">h</mml:mi></mml:math>
</inlineequation>, and
<inlineequation>
- <mml:math><mml:mi mathvariant="italic">d</mml:mi></mml:math>
+ <mml:math><mml:mi mathvariant="italic">d</mml:mi></mml:math>
</inlineequation>
to be the <parameter>xoffset</parameter>, <parameter>yoffset</parameter>,
<parameter>zoffset</parameter>, <parameter>width</parameter>, <parameter>height</parameter>, and <parameter>depth</parameter> argument values,
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see
format using <citerefentry><refentrytitle>glGetTexLevelParameter</refentrytitle></citerefentry>.
</para>
<para>
- If a non-zero named buffer object is bound to the <constant>GL_PIXEL_UNPACK_BUFFER</constant> target
+ If a non-zero named buffer object is bound to the <constant>GL_PIXEL_UNPACK_BUFFER</constant> target
(see <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>) while a texture image is
specified, <parameter>data</parameter> is treated as a byte offset into the buffer object's data store.
</para>
If the compressed data are arranged into fixed-size blocks of texels, the pixel
storage modes can be used to select a sub-rectangle from a larger containing rectangle.
These pixel storage modes operate in the same way as they do for <citerefentry><refentrytitle>glTexImage1D</refentrytitle></citerefentry>.
- In the following description, denote by
+ In the following description, denote by
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>,
and <constant>GL_UNPACK_COMPRESSED_BLOCK_DEPTH</constant>, respectively.
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
- </inlineequation>
- is the compressed block size in bytes;
+ </inlineequation>
+ is the compressed block size in bytes;
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>,
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>, and
<inlineequation>
- <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math>
- </inlineequation>
+ <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math>
+ </inlineequation>
are the compressed block width, height, and depth in pixels.
</para>
<para>
<constant>GL_UNPACK_SKIP_ROWS</constant>, <constant>GL_UNPACK_SKIP_PIXELS</constant>,
<constant>GL_UNPACK_IMAGE_HEIGHT</constant> and <constant>GL_UNPACK_SKIP_IMAGES</constant>
are ignored for compressed images. To enable <constant>GL_UNPACK_SKIP_PIXELS</constant>
- and <constant>GL_UNPACK_ROW_LENGTH</constant>,
+ and <constant>GL_UNPACK_ROW_LENGTH</constant>,
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
- and
+ and
<inlineequation>
- <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
+ <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
must both be non-zero.
To also enable <constant>GL_UNPACK_SKIP_ROWS</constant> and <constant>GL_UNPACK_IMAGE_HEIGHT</constant>,
<inlineequation>
- <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>
+ <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
must be non-zero.
- To also enable <constant>GL_UNPACK_SKIP_IMAGES</constant>,
+ To also enable <constant>GL_UNPACK_SKIP_IMAGES</constant>,
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
<itemizedlist>
<listitem>
<para>
- the value of <constant>GL_UNPACK_SKIP_PIXELS</constant> must be a multiple of
+ the value of <constant>GL_UNPACK_SKIP_PIXELS</constant> must be a multiple of
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
</para>
<para>
<constant>GL_INVALID_OPERATION</constant> is generated if a non-zero buffer object name is bound to the
- <constant>GL_PIXEL_UNPACK_BUFFER</constant> target and the data would be unpacked from the buffer
+ <constant>GL_PIXEL_UNPACK_BUFFER</constant> target and the data would be unpacked from the buffer
object such that the memory reads required would exceed the data store size.
</para>
<para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
- Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
size and format using <citerefentry><refentrytitle>glGetTexLevelParameter</refentrytitle></citerefentry>.
</para>
<para>
- If a non-zero named buffer object is bound to the <constant>GL_PIXEL_UNPACK_BUFFER</constant> target
+ If a non-zero named buffer object is bound to the <constant>GL_PIXEL_UNPACK_BUFFER</constant> target
(see <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>) while a texture image is
specified, <parameter>data</parameter> is treated as a byte offset into the buffer object's data store.
</para>
If the compressed data are arranged into fixed-size blocks of texels, the pixel
storage modes can be used to select a sub-rectangle from a larger containing rectangle.
These pixel storage modes operate in the same way as they do for <citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>.
- In the following description, denote by
+ In the following description, denote by
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>,
and <constant>GL_UNPACK_COMPRESSED_BLOCK_DEPTH</constant>, respectively.
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
- </inlineequation> is the compressed block size in bytes;
+ </inlineequation> is the compressed block size in bytes;
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>,
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>, and
<inlineequation>
- <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math>
+ <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation> are the compressed block width, height, and depth in pixels.
</para>
<para>
<constant>GL_UNPACK_SKIP_ROWS</constant>, <constant>GL_UNPACK_SKIP_PIXELS</constant>,
<constant>GL_UNPACK_IMAGE_HEIGHT</constant> and <constant>GL_UNPACK_SKIP_IMAGES</constant>
are ignored for compressed images. To enable <constant>GL_UNPACK_SKIP_PIXELS</constant>
- and <constant>GL_UNPACK_ROW_LENGTH</constant>,
+ and <constant>GL_UNPACK_ROW_LENGTH</constant>,
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
- and
+ and
<inlineequation>
- <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
+ <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
must both be non-zero.
To also enable <constant>GL_UNPACK_SKIP_ROWS</constant> and <constant>GL_UNPACK_IMAGE_HEIGHT</constant>,
<inlineequation>
- <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>
+ <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
must be non-zero.
- To also enable <constant>GL_UNPACK_SKIP_IMAGES</constant>,
+ To also enable <constant>GL_UNPACK_SKIP_IMAGES</constant>,
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
<para>
The value of
<constant>GL_UNPACK_SKIP_PIXELS</constant> must be a
- multiple of
+ multiple of
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>;
</para>
<para>
<constant>GL_INVALID_OPERATION</constant> is generated if a non-zero buffer object name is bound to the
- <constant>GL_PIXEL_UNPACK_BUFFER</constant> target and the data would be unpacked from the buffer
+ <constant>GL_PIXEL_UNPACK_BUFFER</constant> target and the data would be unpacked from the buffer
object such that the memory reads required would exceed the data store size.
</para>
<para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
- Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
size and format using <citerefentry><refentrytitle>glGetTexLevelParameter</refentrytitle></citerefentry>.
</para>
<para>
- If a non-zero named buffer object is bound to the <constant>GL_PIXEL_UNPACK_BUFFER</constant> target
+ If a non-zero named buffer object is bound to the <constant>GL_PIXEL_UNPACK_BUFFER</constant> target
(see <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>) while a texture image is
specified, <parameter>data</parameter> is treated as a byte offset into the buffer object's data store.
</para>
If the compressed data are arranged into fixed-size blocks of texels, the pixel
storage modes can be used to select a sub-rectangle from a larger containing rectangle.
These pixel storage modes operate in the same way as they do for <citerefentry><refentrytitle>glTexImage1D</refentrytitle></citerefentry>.
- In the following description, denote by
+ In the following description, denote by
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>,
<constant>GL_UNPACK_COMPRESSED_BLOCK_WIDTH</constant>, <constant>GL_UNPACK_COMPRESSED_BLOCK_HEIGHT</constant>,
and <constant>GL_UNPACK_COMPRESSED_BLOCK_DEPTH</constant>, respectively.
<inlineequation>
- <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
+ <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
is the compressed block size in bytes;
<inlineequation>
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>,
- and
+ and
<inlineequation>
- <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math>
+ <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
are the compressed block width, height, and depth in pixels.
</para>
<constant>GL_UNPACK_SKIP_ROWS</constant>, <constant>GL_UNPACK_SKIP_PIXELS</constant>,
<constant>GL_UNPACK_IMAGE_HEIGHT</constant> and <constant>GL_UNPACK_SKIP_IMAGES</constant>
are ignored for compressed images. To enable <constant>GL_UNPACK_SKIP_PIXELS</constant>
- and <constant>GL_UNPACK_ROW_LENGTH</constant>,
+ and <constant>GL_UNPACK_ROW_LENGTH</constant>,
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
- and
+ and
<inlineequation>
- <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
+ <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
must both be non-zero.
To also enable <constant>GL_UNPACK_SKIP_ROWS</constant> and <constant>GL_UNPACK_IMAGE_HEIGHT</constant>,
<inlineequation>
- <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>
+ <mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
must be non-zero.
- To also enable <constant>GL_UNPACK_SKIP_IMAGES</constant>,
+ To also enable <constant>GL_UNPACK_SKIP_IMAGES</constant>,
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>
<itemizedlist>
<listitem>
<para>
- the value of <constant>GL_UNPACK_SKIP_PIXELS</constant> must be a multiple of
+ the value of <constant>GL_UNPACK_SKIP_PIXELS</constant> must be a multiple of
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>;
</listitem>
<listitem>
<para>
- the value of <constant>GL_UNPACK_SKIP_ROWS</constant> must be a multiple of
+ the value of <constant>GL_UNPACK_SKIP_ROWS</constant> must be a multiple of
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>;
</listitem>
<listitem>
<para>
- the value of <constant>GL_UNPACK_SKIP_IMAGES</constant> must be a multiple of
+ the value of <constant>GL_UNPACK_SKIP_IMAGES</constant> must be a multiple of
<inlineequation>
<mml:math><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math>
</inlineequation>.
</para>
<para>
<constant>GL_INVALID_OPERATION</constant> is generated if a non-zero buffer object name is bound to the
- <constant>GL_PIXEL_UNPACK_BUFFER</constant> target and the data would be unpacked from the buffer
+ <constant>GL_PIXEL_UNPACK_BUFFER</constant> target and the data would be unpacked from the buffer
object such that the memory reads required would exceed the data store size.
</para>
<para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
- Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glCompressedTexSubImage1D</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glCompressedTexSubImage2D</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glCompressedTexSubImage3D</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
the formats are compatible.
</para>
<para>
- <function>glCopyImageSubData</function> also allows copying between certain
+ <function>glCopyImageSubData</function> also allows copying between certain
types of compressed and uncompressed internal formats. This copy does not perform on-the-fly compression
or decompression. When copying from an uncompressed internal format
to a compressed internal format, each texel of uncompressed data
</para>
<para>
<parameter>srcX</parameter>, <parameter>srcY</parameter>, and <parameter>srcZ</parameter> specify the lower left texel
- coordinates of a <parameter>srcWidth</parameter>-wide by <parameter>srcHeight</parameter>-high by
- <parameter>srcDepth</parameter>-deep rectangular subregion of the source texel array.
+ coordinates of a <parameter>srcWidth</parameter>-wide by <parameter>srcHeight</parameter>-high by
+ <parameter>srcDepth</parameter>-deep rectangular subregion of the source texel array.
Similarly, <parameter>dstX</parameter>, <parameter>dstY</parameter> and <parameter>dstZ</parameter> specify the coordinates of a subregion of the
destination texel array. The source and destination subregions
must be contained entirely within the specified level of the
</para>
<para>
Slices of a <constant>GL_TEXTURE_1D_ARRAY</constant>, <constant>GL_TEXTURE_2D_ARRAY</constant>, <constant>GL_TEXTURE_CUBE_MAP_ARRAY</constant>
- <constant>GL_TEXTURE_3D</constant> and faces of <constant>GL_TEXTURE_CUBE_MAP</constant> are all compatible provided
+ <constant>GL_TEXTURE_3D</constant> and faces of <constant>GL_TEXTURE_CUBE_MAP</constant> are all compatible provided
they share a compatible internal format, and multiple slices or faces
may be copied between these objects with a single call by specifying the
starting slice with <parameter>srcZ</parameter> and <parameter>dstZ</parameter>, and the number of slices to
which are selected by a zero-based face index.
</para>
<para>
- For the purposes of CopyImageSubData, two internal formats
- are considered compatible if any of the following conditions are
- met:
- * the formats are the same,
- * the formats are considered compatible according to the
- compatibility rules used for texture views as defined in
- section 3.9.X. In particular, if both internal formats are listed
- in the same entry of Table 3.X.2, they are considered compatible, or
- * one format is compressed and the other is uncompressed and
- Table 4.X.1 lists the two formats in the same row.
- If the formats are not compatible INVALID_OPERATION is generated.
+ For the purposes of CopyImageSubData, two internal formats are considered compatible if
+ any of the following conditions are met:
+
+ <itemizedlist>
+ <listitem>
+ <para>
+ the formats are the same,
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ the formats are considered compatible according
+ to the compatibility rules used for texture
+ views as defined in section 3.9.X. In
+ particular, if both internal formats are listed
+ in the same entry of Table 3.X.2, they are
+ considered compatible, or
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ one format is compressed and the other is
+ uncompressed and Table 4.X.1 lists the two
+ formats in the same row.
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ If the formats are not compatible, an INVALID_OPERATION error is generated.
</para>
-<table frame="topbot"><title>Sized Internal Formats</title>
+<table><title>Sized Internal Formats</title>
<tgroup cols="3" align="left">
- <colspec align="left"/>
- <colspec align="left"/>
- <colspec align="left"/>
+ <colspec colwidth="1*" />
+ <colspec colwidth="2*" />
+ <colspec colwidth="4*" />
<thead>
<row>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Texel / Block Size
- </emphasis></entry>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Uncompressed Internal Format
- </emphasis></entry>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Compressed Internal Format(s)
- </emphasis></entry>
+ <entry>
+ <emphasis role="bold"> Texel / Block Size </emphasis>
+ </entry>
+ <entry>
+ <emphasis role="bold"> Uncompressed Internal Format </emphasis>
+ </entry>
+ <entry>
+ <emphasis role="bold"> Compressed Internal Format(s) </emphasis>
+ </entry>
</row>
</thead>
<tbody>
not complete.
</para>
<para>
- <constant>GL_INVALID_OPERATION</constant> is generated if the source and
+ <constant>GL_INVALID_OPERATION</constant> is generated if the source and
destination internal formats are not compatible, or if the number of samples do not match.
</para>
<para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
<para>Applications are responsible for providing the
synchronization across API calls when objects are accessed from
different execution threads.</para>
-
+
<para><constant>GL_COMPUTE_SHADER</constant> is available only if the GL version is 4.3 or higher.</para>
</refsect1>
<refsect1 id="errors"><title>Errors</title>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glCullFace</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glDeleteTextures</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glDepthFunc</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI
This document is licensed under the SGI
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glDepthRange</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glDrawArrays</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glDrawBuffer</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<listitem>
<para>The fragment shader output value is written into the
<emphasis>n</emphasis>th color attachment of the current framebuffer.
- <emphasis>n</emphasis> may range from 0 to the value of
+ <emphasis>n</emphasis> may range from zero to the value of
<constant>GL_MAX_COLOR_ATTACHMENTS</constant>.</para>
</listitem>
</varlistentry>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glDrawElements</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glDrawRangeElements</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
- Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glFinish</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glFlush</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
<constant>GL_FRAMEBUFFER</constant> is equivalent to <constant>GL_DRAW_FRAMEBUFFER</constant>.
</para>
<para>
- <parameter>attachment</parameter> specifies the logical attachment of the framebuffer and must be
- <constant>GL_COLOR_ATTACHMENT</constant><emphasis>i</emphasis>, <constant>GL_DEPTH_ATTACHMENT</constant>,
- <constant>GL_STENCIL_ATTACHMENT</constant> or <constant>GL_DEPTH_STENCIL_ATTACHMENT</constant>.
- <emphasis>i</emphasis> in <constant>GL_COLOR_ATTACHMENT</constant><emphasis>i</emphasis> may range from zero to
- the value of <constant>GL_MAX_COLOR_ATTACHMENTS</constant> - 1. Attaching a level of a texture to
- <constant>GL_DEPTH_STENCIL_ATTACHMENT</constant> is equivalent to attaching that level to both the
- <constant>GL_DEPTH_ATTACHMENT</constant> <emphasis>and</emphasis> the <constant>GL_STENCIL_ATTACHMENT</constant>
- attachment points simultaneously.
+ <parameter>attachment</parameter> specifies the logical
+ attachment of the framebuffer and must be
+ <constant>GL_COLOR_ATTACHMENT</constant><emphasis>i</emphasis>,
+ <constant>GL_DEPTH_ATTACHMENT</constant>,
+ <constant>GL_STENCIL_ATTACHMENT</constant> or
+ <constant>GL_DEPTH_STENCIL_ATTACHMENT</constant>.
+ <emphasis>i</emphasis> in
+ <constant>GL_COLOR_ATTACHMENT</constant><emphasis>i</emphasis>
+ may range from zero to the value of
+ <constant>GL_MAX_COLOR_ATTACHMENTS</constant> minus one.
+ Attaching a level of a texture to
+ <constant>GL_DEPTH_STENCIL_ATTACHMENT</constant> is equivalent
+ to attaching that level to both the
+ <constant>GL_DEPTH_ATTACHMENT</constant>
+ <emphasis>and</emphasis> the
+ <constant>GL_STENCIL_ATTACHMENT</constant> attachment points
+ simultaneously.
</para>
<para>
<parameter>textarget</parameter> specifies what type of texture is named by <parameter>texture</parameter>, and for
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glFrontFace</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glGenTextures</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
with the value <constant>GL_ACTIVE_ATTRIBUTES</constant>. A
value of 0 for <parameter>index</parameter> selects the first
active attribute variable. Permissible values for
- <parameter>index</parameter> range from 0 to the number of
- active attribute variables minus 1.</para>
+ <parameter>index</parameter> range from zero to the number of
+ active attribute variables minus one.</para>
<para>A vertex shader may use either built-in attribute
variables, user-defined attribute variables, or both. Built-in
with the value <constant>GL_ACTIVE_UNIFORMS</constant>. A value
of 0 for <parameter>index</parameter> selects the first active
uniform variable. Permissible values for
- <parameter>index</parameter> range from 0 to the number of
- active uniform variables minus 1.</para>
+ <parameter>index</parameter> range from zero to the number of
+ active uniform variables minus one.</para>
<para>Shaders may use either built-in uniform variables,
user-defined uniform variables, or both. Built-in uniform
argument will return a pointer to the uniform variable's data
type. The symbolic constants returned for uniform types are shown in the
table below.
- <informaltable frame="topbot">
+ <informaltable>
<tgroup cols="2" align="left">
<colspec colwidth="1.1*" />
<colspec colwidth="1*" />
<thead>
<row>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Returned Symbolic Contant
- </emphasis></entry>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Shader Uniform Type
- </emphasis></entry>
+ <entry>
+ <emphasis role="bold"> Returned Symbolic Contant </emphasis>
+ </entry>
+ <entry>
+ <emphasis role="bold"> Shader Uniform Type </emphasis>
+ </entry>
</row>
</thead>
<tbody>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>float</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_VEC2</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>vec2</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_VEC3</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>vec3</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_VEC4</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>vec4</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>double</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_VEC2</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dvec2</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_VEC3</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dvec3</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_VEC4</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dvec4</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>int</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_VEC2</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>ivec2</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_VEC3</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>ivec3</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_VEC4</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>ivec4</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>unsigned int</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_VEC2</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>uvec2</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_VEC3</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>uvec3</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_VEC4</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>uvec4</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_BOOL</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>bool</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_BOOL_VEC2</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>bvec2</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_BOOL_VEC3</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>bvec3</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_BOOL_VEC4</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>bvec4</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_MAT2</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>mat2</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_MAT3</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>mat3</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_MAT4</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>mat4</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_MAT2x3</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>mat2x3</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_MAT2x4</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>mat2x4</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_MAT3x2</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>mat3x2</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_MAT3x4</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>mat3x4</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_MAT4x2</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>mat4x2</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_MAT4x3</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>mat4x3</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_MAT2</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dmat2</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_MAT3</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dmat3</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_MAT4</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dmat4</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_MAT2x3</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dmat2x3</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_MAT2x4</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dmat2x4</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_MAT3x2</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dmat3x2</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_MAT3x4</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dmat3x4</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_MAT4x2</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dmat4x2</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_MAT4x3</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dmat4x3</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_1D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler1D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_2D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler2D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_3D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler3D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_CUBE</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>samplerCube</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_1D_SHADOW</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler1DShadow</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_2D_SHADOW</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler2DShadow</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_1D_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler1DArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_2D_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler2DArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_1D_ARRAY_SHADOW</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler1DArrayShadow</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_2D_ARRAY_SHADOW</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler2DArrayShadow</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_2D_MULTISAMPLE</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler2DMS</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_2D_MULTISAMPLE_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler2DMSArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_CUBE_SHADOW</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>samplerCubeShadow</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_BUFFER</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>samplerBuffer</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_2D_RECT</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler2DRect</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_2D_RECT_SHADOW</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler2DRectShadow</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_SAMPLER_1D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>isampler1D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_SAMPLER_2D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>isampler2D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_SAMPLER_3D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>isampler3D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_SAMPLER_CUBE</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>isamplerCube</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_SAMPLER_1D_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>isampler1DArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_SAMPLER_2D_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>isampler2DArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_SAMPLER_2D_MULTISAMPLE</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>isampler2DMS</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>isampler2DMSArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_SAMPLER_BUFFER</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>isamplerBuffer</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_SAMPLER_2D_RECT</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>isampler2DRect</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_SAMPLER_1D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>usampler1D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_SAMPLER_2D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>usampler2D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_SAMPLER_3D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>usampler3D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_SAMPLER_CUBE</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>usamplerCube</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_SAMPLER_1D_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>usampler2DArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_SAMPLER_2D_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>usampler2DArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>usampler2DMS</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>usampler2DMSArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_SAMPLER_BUFFER</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>usamplerBuffer</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_SAMPLER_2D_RECT</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>usampler2DRect</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_IMAGE_1D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>image1D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_IMAGE_2D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>image2D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_IMAGE_3D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>image3D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_IMAGE_2D_RECT</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>image2DRect</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_IMAGE_CUBE</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>imageCube</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_IMAGE_BUFFER</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>imageBuffer</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_IMAGE_1D_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>image1DArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_IMAGE_2D_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>image2DArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_IMAGE_2D_MULTISAMPLE</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>image2DMS</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_IMAGE_2D_MULTISAMPLE_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>image2DMSArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_IMAGE_1D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>iimage1D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_IMAGE_2D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>iimage2D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_IMAGE_3D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>iimage3D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_IMAGE_2D_RECT</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>iimage2DRect</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_IMAGE_CUBE</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>iimageCube</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_IMAGE_BUFFER</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>iimageBuffer</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_IMAGE_1D_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>iimage1DArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_IMAGE_2D_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>iimage2DArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_IMAGE_2D_MULTISAMPLE</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>iimage2DMS</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>iimage2DMSArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_IMAGE_1D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>uimage1D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_IMAGE_2D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>uimage2D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_IMAGE_3D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>uimage3D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_IMAGE_2D_RECT</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>uimage2DRect</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_IMAGE_CUBE</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>uimageCube</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_IMAGE_BUFFER</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>uimageBuffer</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_IMAGE_1D_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>uimage1DArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_IMAGE_2D_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>uimage2DArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>uimage2DMS</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>uimage2DMSArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_ATOMIC_COUNTER</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>atomic_uint</constant>
</entry>
</row>
the number of active uniforms exceeded the limit.
</para>
<para>
- <parameter>uniformIndex</parameter> must be an active uniform index of the program <parameter>program</parameter>, in the range zero to
- <constant>GL_ACTIVE_UNIFORMS</constant> - 1. The value of <constant>GL_ACTIVE_UNIFORMS</constant> can be queried with
+ <parameter>uniformIndex</parameter> must be an active uniform
+ index of the program <parameter>program</parameter>, in the
+ range zero to the value of
+ <constant>GL_ACTIVE_UNIFORMS</constant> minus one. The value of
+ <constant>GL_ACTIVE_UNIFORMS</constant> can be queried with
<citerefentry><refentrytitle>glGetProgram</refentrytitle></citerefentry>.
</para>
</refsect1>
the types of uniforms specified by the corresponding array of
<parameter>uniformIndices</parameter> is returned. The returned
types can be any of the values from the following table:
- <informaltable frame="topbot">
+ <informaltable>
<tgroup cols="2" align="left">
<colspec colwidth="1.1*" />
<colspec colwidth="1*" />
<thead>
<row>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Returned Symbolic Contant
- </emphasis></entry>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Shader Uniform Type
- </emphasis></entry>
+ <entry>
+ <emphasis role="bold"> Returned Symbolic Contant </emphasis>
+ </entry>
+ <entry>
+ <emphasis role="bold"> Shader Uniform Type </emphasis>
+ </entry>
</row>
</thead>
<tbody>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>float</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_VEC2</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>vec2</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_VEC3</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>vec3</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_VEC4</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>vec4</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>double</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_VEC2</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dvec2</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_VEC3</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dvec3</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_VEC4</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dvec4</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>int</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_VEC2</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>ivec2</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_VEC3</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>ivec3</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_VEC4</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>ivec4</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>unsigned int</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_VEC2</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>uvec2</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_VEC3</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>uvec3</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_VEC4</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>uvec4</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_BOOL</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>bool</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_BOOL_VEC2</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>bvec2</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_BOOL_VEC3</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>bvec3</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_BOOL_VEC4</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>bvec4</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_MAT2</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>mat2</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_MAT3</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>mat3</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_MAT4</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>mat4</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_MAT2x3</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>mat2x3</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_MAT2x4</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>mat2x4</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_MAT3x2</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>mat3x2</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_MAT3x4</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>mat3x4</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_MAT4x2</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>mat4x2</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_MAT4x3</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>mat4x3</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_MAT2</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dmat2</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_MAT3</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dmat3</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_MAT4</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dmat4</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_MAT2x3</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dmat2x3</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_MAT2x4</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dmat2x4</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_MAT3x2</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dmat3x2</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_MAT3x4</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dmat3x4</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_MAT4x2</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dmat4x2</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_DOUBLE_MAT4x3</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>dmat4x3</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_1D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler1D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_2D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler2D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_3D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler3D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_CUBE</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>samplerCube</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_1D_SHADOW</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler1DShadow</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_2D_SHADOW</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler2DShadow</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_1D_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler1DArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_2D_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler2DArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_1D_ARRAY_SHADOW</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler1DArrayShadow</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_2D_ARRAY_SHADOW</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler2DArrayShadow</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_2D_MULTISAMPLE</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler2DMS</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_2D_MULTISAMPLE_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler2DMSArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_CUBE_SHADOW</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>samplerCubeShadow</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_BUFFER</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>samplerBuffer</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_2D_RECT</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler2DRect</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SAMPLER_2D_RECT_SHADOW</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>sampler2DRectShadow</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_SAMPLER_1D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>isampler1D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_SAMPLER_2D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>isampler2D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_SAMPLER_3D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>isampler3D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_SAMPLER_CUBE</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>isamplerCube</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_SAMPLER_1D_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>isampler1DArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_SAMPLER_2D_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>isampler2DArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_SAMPLER_2D_MULTISAMPLE</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>isampler2DMS</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>isampler2DMSArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_SAMPLER_BUFFER</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>isamplerBuffer</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT_SAMPLER_2D_RECT</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>isampler2DRect</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_SAMPLER_1D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>usampler1D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_SAMPLER_2D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>usampler2D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_SAMPLER_3D</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>usampler3D</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_SAMPLER_CUBE</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>usamplerCube</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_SAMPLER_1D_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>usampler2DArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_SAMPLER_2D_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>usampler2DArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>usampler2DMS</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>usampler2DMSArray</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_SAMPLER_BUFFER</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>usamplerBuffer</constant>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_SAMPLER_2D_RECT</constant>
</entry>
- <entry align="left">
+ <entry>
<constant>usampler2DRect</constant>
</entry>
</row>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
-<refentry id="glGetBufferParameteriv">
+<refentry id="glGetBufferParameter">
<refentryinfo>
<copyright>
<year>2005</year>
no change is made to the contents of <parameter>data</parameter>.
</para>
<para>
- The <constant>GL_ATOMIC_COUNTER_BUFER</constant> target is available only if the GL version is 4.2 or greater.
+ The <constant>GL_ATOMIC_COUNTER_BUFFER</constant> target is available only if the GL version is 4.2 or greater.
</para>
<para>
The <constant>GL_DISPATCH_INDIRECT_BUFFER</constant> and <constant>GL_SHADER_STORAGE_BUFFER</constant> targets are available only if the GL version is 4.3 or greater.
The initial value for the pointer is <constant>NULL</constant>.
</para>
<para>
- The <constant>GL_ATOMIC_COUNTER_BUFER</constant> target is available only if the GL version is 4.2 or greater.
+ The <constant>GL_ATOMIC_COUNTER_BUFFER</constant> target is available only if the GL version is 4.2 or greater.
</para>
<para>
The <constant>GL_DISPATCH_INDIRECT_BUFFER</constant> and <constant>GL_SHADER_STORAGE_BUFFER</constant> targets are available only if the GL version is 4.3 or greater.
no change is made to the contents of <parameter>data</parameter>.
</para>
<para>
- The <constant>GL_ATOMIC_COUNTER_BUFER</constant> target is available only if the GL version is 4.2 or greater.
+ The <constant>GL_ATOMIC_COUNTER_BUFFER</constant> target is available only if the GL version is 4.2 or greater.
</para>
<para>
The <constant>GL_DISPATCH_INDIRECT_BUFFER</constant> target is available only if the GL version is 4.3 or greater.
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glGetCompressedTexImage</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI
This document is licensed under the SGI
or <constant>GL_STENCIL</constant>, identifying the stencil buffer.
</para>
<para>
- If a framebuffer object is bound, then <parameter>attachment</parameter> must be one of <constant>GL_COLOR_ATTACHMENT</constant><emphasis>i</emphasis>,
- <constant>GL_DEPTH_ATTACHMENT</constant>, <constant>GL_STENCIL_ATTACHMENT</constant>, or <constant>GL_DEPTH_STENCIL_ATTACHMENT</constant>.
- <emphasis>i</emphasis> in <constant>GL_COLOR_ATTACHMENT</constant><emphasis>i</emphasis> must be in the range zero to the value of
- <constant>GL_MAX_COLOR_ATTACHMENTS</constant> - 1.
+ If a framebuffer object is bound, then
+ <parameter>attachment</parameter> must be one of
+ <constant>GL_COLOR_ATTACHMENT</constant><emphasis>i</emphasis>,
+ <constant>GL_DEPTH_ATTACHMENT</constant>,
+ <constant>GL_STENCIL_ATTACHMENT</constant>, or
+ <constant>GL_DEPTH_STENCIL_ATTACHMENT</constant>.
+ <emphasis>i</emphasis> in
+ <constant>GL_COLOR_ATTACHMENT</constant><emphasis>i</emphasis>
+ must be in the range zero to the value of
+ <constant>GL_MAX_COLOR_ATTACHMENTS</constant> minus one.
</para>
<para>
If <parameter>attachment</parameter> is <constant>GL_DEPTH_STENCIL_ATTACHMENT</constant> and different objects are bound
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
+ "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
+<refentry id="glGetInternalformat">
+ <refentryinfo>
+ <copyright>
+ <year>2011-2013</year>
+ <holder>Khronos Group.</holder>
+ </copyright>
+ </refentryinfo>
+ <refmeta>
+ <refentrytitle>glGetInternalformat</refentrytitle>
+ <manvolnum>3G</manvolnum>
+ </refmeta>
+ <refnamediv>
+ <refname>glGetInternalformat</refname>
+ <refpurpose>retrieve information about implementation-dependent support for internal formats</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv><title>C Specification</title>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>void <function>glGetInternalformativ</function></funcdef>
+ <paramdef>GLenum <parameter>target</parameter></paramdef>
+ <paramdef>GLenum <parameter>internalformat</parameter></paramdef>
+ <paramdef>GLenum <parameter>pname</parameter></paramdef>
+ <paramdef>GLsizei <parameter>bufSize</parameter></paramdef>
+ <paramdef>GLint *<parameter>params</parameter></paramdef>
+ </funcprototype>
+ <funcprototype>
+ <funcdef>void <function>glGetInternalformati64v</function></funcdef>
+ <paramdef>GLenum <parameter>target</parameter></paramdef>
+ <paramdef>GLenum <parameter>internalformat</parameter></paramdef>
+ <paramdef>GLenum <parameter>pname</parameter></paramdef>
+ <paramdef>GLsizei <parameter>bufSize</parameter></paramdef>
+ <paramdef>GLint64 *<parameter>params</parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ </refsynopsisdiv>
+ <refsect1 id="parameters"><title>Parameters</title>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>target</parameter></term>
+ <listitem>
+ <para>
+ Indicates the usage of the internal format. <parameter>target</parameter> must be <constant>GL_TEXTURE_1D</constant>, <constant>GL_TEXTURE_1D_ARRAY</constant>,
+ <constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_2D_ARRAY</constant>, <constant>GL_TEXTURE_3D</constant>,
+ <constant>GL_TEXTURE_CUBE_MAP</constant>, <constant>GL_TEXTURE_CUBE_MAP_ARRAY</constant>, <constant>GL_TEXTURE_RECTANGLE</constant>,
+ <constant>GL_TEXTURE_BUFFER</constant>,
+ <constant>GL_RENDERBUFFER</constant>, <constant>GL_TEXTURE_2D_MULTISAMPLE</constant> or <constant>GL_TEXTURE_2D_MULTISAMPLE_ARRAY</constant>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>internalformat</parameter></term>
+ <listitem>
+ <para>
+ Specifies the internal format about which to retrieve information.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>pname</parameter></term>
+ <listitem>
+ <para>
+ Specifies the type of information to query.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>bufSize</parameter></term>
+ <listitem>
+ <para>
+ Specifies the maximum number of basic machine units that may be written to <parameter>params</parameter> by the function.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>params</parameter></term>
+ <listitem>
+ <para>
+ Specifies the address of a variable into which to write the retrieved information.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+ <refsect1 id="description"><title>Description</title>
+ <para>
+ <function>glGetInternalformativ</function> and <function>glGetInternalformati64v</function> retrieve information about implementation-dependent support for
+ internal formats. <parameter>target</parameter> indicates the target with which the internal format will
+ be used and must be one of <constant>GL_RENDERBUFFER</constant>, <constant>GL_TEXTURE_2D_MULTISAMPLE</constant>,
+ or <constant>GL_TEXTURE_2D_MULTISAMPLE_ARRAY</constant>, corresponding to usage as a renderbuffer, two-dimensional
+ multisample texture or two-dimensional multisample array texture, respectively.
+ </para>
+ <para>
+ <parameter>internalformat</parameter> specifies the internal format about which to retrieve information and
+ must be a color-renderable, depth-renderable or stencil-renderable format.
+ </para>
+ <para>
+ The information retrieved will be written to memory addressed by the pointer specified in <parameter>params</parameter>. No
+ more than <parameter>bufSize</parameter> basic machine units will be written to this memory.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_NUM_SAMPLE_COUNTS</constant>, the number of sample counts that would be
+ returned by querying <constant>GL_SAMPLES</constant> will be returned in <parameter>params</parameter>.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_SAMPLES</constant>, the sample counts supported for <parameter>internalformat</parameter>
+ and <parameter>target</parameter> are written into <parameter>params</parameter> in descending numeric order. Only positive values are returned.
+ Querying <constant>GL_SAMPLES</constant> with <parameter>bufSize</parameter> of one will return just the maximum supported number of
+ samples for this format. The maximum value in <constant>GL_SAMPLES</constant> is guaranteed to be at least the lowest of the following:
+ <itemizedlist>
+ <listitem>
+ <para>
+ The value of
+ <constant>GL_MAX_INTEGER_SAMPLES</constant> if
+ <parameter>internalformat</parameter> is a signed or
+ unsigned integer format.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ The value of
+ <constant>GL_MAX_DEPTH_TEXTURE_SAMPLES</constant> if
+ <parameter>internalformat</parameter> is a depth- or
+ stencil-renderable format and
+ <parameter>target</parameter> is
+ <constant>GL_TEXTURE_2D_MULTISAMPLE</constant>,
+ <constant>GL_TEXTURE_2D_MULTISAMPLE_ARRAY</constant>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ The value of
+ <constant>GL_MAX_COLOR_TEXTURE_SAMPLES</constant> if
+ <parameter>internalformat</parameter> is a
+ color-renderable format and
+ <parameter>target</parameter> is
+ <constant>GL_TEXTURE_2D_MULTISAMPLE</constant> or
+ <constant>GL_TEXTURE_2D_MULTISAMPLE_ARRAY</constant>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>The value of <constant>GL_MAX_SAMPLES</constant>.</para>
+ </listitem>
+
+ </itemizedlist>
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_INTERNALFORMAT_SUPPORTED</constant>, <parameter>params</parameter> is set to <constant>GL_TRUE</constant> if <parameter>internalFormat</parameter>
+ is a supported internal format for <parameter>target</parameter> and to <constant>GL_FALSE</constant> otherwise.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_INTERNALFORMAT_PREFERRED</constant>, <parameter>params</parameter> is set to <constant>GL_TRUE</constant> if <parameter>internalFormat</parameter>
+ is an format for <parameter>target</parameter> that is preferred by the implementation and to <constant>GL_FALSE</constant> otherwise.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_INTERNALFORMAT_RED_SIZE</constant>, <constant>GL_INTERNALFORMAT_GREEN_SIZE</constant>,
+ <constant>GL_INTERNALFORMAT_BLUE_SIZE</constant>, <constant>GL_INTERNALFORMAT_ALPHA_SIZE</constant>, <constant>GL_INTERNALFORMAT_DEPTH_SIZE</constant>,
+ <constant>GL_INTERNALFORMAT_STENCIL_SIZE</constant>, or <constant>GL_INTERNALFORMAT_SHARED_SIZE</constant> then
+ <parameter>params</parameter> is set to the actual resolutions that would be used for storing image array components
+ for the resource for the red, green, blue, alpha, depth, stencil and shared channels respectively. If <parameter>internalFormat</parameter>
+ is a compressed internal format, then <parameter>params</parameter> is set to the component resolution of an uncompressed internal format that produces
+ an image of roughly the same quality as the compressed algorithm. If the internal format is unsupported, or if a particular component is
+ not present in the format, 0 is written to <parameter>params</parameter>.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_INTERNALFORMAT_RED_TYPE</constant>, <constant>GL_INTERNALFORMAT_GREEN_TYPE</constant>,
+ <constant>GL_INTERNALFORMAT_BLUE_TYPE</constant>, <constant>GL_INTERNALFORMAT_ALPHA_TYPE</constant>, <constant>GL_INTERNALFORMAT_DEPTH_TYPE</constant>,
+ or <constant>GL_INTERNALFORMAT_STENCIL_TYPE</constant> then <parameter>params</parameter> is set to a token identifying the data type used
+ to store the respective component. If the <parameter>internalFormat</parameter> represents a compressed internal format then
+ the types returned specify how components are interpreted after decompression.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_MAX_WIDTH</constant>, <constant>GL_MAX_HEIGHT</constant>, <constant>GL_MAX_DEPTH</constant>,
+ or <constant>GL_MAX_LAYERS</constant> then <parameter>pname</parameter> is filled with the maximum width, height, depth or layer count
+ for textures with internal format <parameter>internalFormat</parameter>, respectively. If <parameter>pname</parameter> is <constant>GL_MAX_COMBINED_DIMENSIONS</constant>
+ then <parameter>pname</parameter> is filled with the maximum combined dimensions of a texture of the specified internal format.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_COLOR_COMPONENTS</constant> then <parameter>params</parameter> is set to the value <constant>GL_TRUE</constant>
+ if the internal format contains any color component (i.e., red, green, blue or alpha) and to <constant>GL_FALSE</constant> otherwise. If
+ <parameter>pname</parameter> is <constant>GL_DEPTH_COMPONENTS</constant> or <constant>GL_STENCIL_COMPONENTS</constant> then <parameter>params</parameter>
+ is set to <constant>GL_TRUE</constant> if the internal format contains a depth or stencil component, respectively, and to <constant>GL_FALSE</constant>
+ otherwise.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_COLOR_RENDERABLE</constant>, <constant>GL_DEPTH_RENDERABLE</constant> or <constant>GL_STENCIL_RENDERABLE</constant>
+ then <parameter>params</parameter> is set to <constant>GL_TRUE</constant> if the specified internal format is color, depth or stencil renderable, respectively,
+ and to <constant>GL_FALSE</constant> otherwise.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_FRAMEBUFFER_RENDERABLE</constant> or <constant>GL_FRAMEBUFFER_RENDERABLE_LAYERED</constant>
+ then <parameter>params</parameter> is set to one of <constant>GL_FULL_SUPPORT</constant>,
+ <constant>GL_CAVEAT_SUPPORT</constant> or <constant>GL_NONE</constant> to indicate that framebuffer attachments (layered attachments in the
+ case of <constant>GL_FRAMEBUFFER_RENDERABLE_LAYERED</constant>) with that internal format are either
+ renderable with no restrictions, renderable with some restrictions or not renderable at all.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_FRAMEBUFFER_BLEND</constant>, <parameter>params</parameter> is set to <constant>GL_TRUE</constant>
+ to indicate that the internal format is supported for blending operations when attached to a framebuffer, and to <constant>GL_FALSE</constant> otherwise.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_READ_PIXELS</constant> then <parameter>params</parameter> is set to <constant>GL_FULL_SUPPORT</constant>,
+ <constant>GL_CAVEAT_SUPPORT</constant> or <constant>GL_NONE</constant> to that either full support, limited support or no support at all is supplied
+ for reading pixels from framebuffer attachments in the specified internal format.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_READ_PIXELS_FORMAT</constant> or <constant>GL_READ_PIXELS_TYPE</constant> then <parameter>params</parameter>
+ is filled with the format or type, respectively, most recommended to obtain the highest image quality and performance. For
+ <constant>GL_READ_PIXELS_FORMAT</constant>, the value returned in <parameter>params</parameter> is a token that is accepted for
+ the <parameter>format</parameter> argument to <citerefentry><refentrytitle>glReadPixels</refentrytitle></citerefentry>. For
+ <constant>GL_READ_PIXELS_TYPE</constant>, the value returned in <parameter>params</parameter> is a token that is accepted for
+ the <parameter>type</parameter> argument to <citerefentry><refentrytitle>glReadPixels</refentrytitle></citerefentry>.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_TEXTURE_IMAGE_FORMAT</constant> or <constant>GL_TEXTURE_IMAGE_TYPE</constant> then
+ <parameter>params</parameter> is filled with the implementation-recommended format or type to be used in calls to
+ <citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry> and other similar functions. For <constant>GL_TEXTURE_IMAGE_FORMAT</constant>,
+ <parameter>params</parameter> is filled with a token suitable for use as the <parameter>format</parameter> argument to
+ <citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>. For <constant>GL_TEXTURE_IMAGE_TYPE</constant>,
+ <parameter>params</parameter> is filled with a token suitable for use as the <parameter>type</parameter> argument to
+ <citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_GET_TEXTURE_IMAGE_FORMAT</constant> or <constant>GL_GET_TEXTURE_IMAGE_TYPE</constant> then
+ <parameter>params</parameter> is filled with the implementation-recommended format or type to be used in calls to
+ <citerefentry><refentrytitle>glGetTexImage2D</refentrytitle></citerefentry> and other similar functions. For <constant>GL_GET_TEXTURE_IMAGE_FORMAT</constant>,
+ <parameter>params</parameter> is filled with a token suitable for use as the <parameter>format</parameter> argument to
+ <citerefentry><refentrytitle>glGetTexImage2D</refentrytitle></citerefentry>. For <constant>GL_GET_TEXTURE_IMAGE_TYPE</constant>,
+ <parameter>params</parameter> is filled with a token suitable for use as the <parameter>type</parameter> argument to
+ <citerefentry><refentrytitle>glGetTexImage2D</refentrytitle></citerefentry>.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_MIPMAP</constant> then <parameter>pname</parameter> is set to <constant>GL_TRUE</constant>
+ to indicate that the specified internal format supports mipmaps and to <constant>GL_FALSE</constant> otherwise.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_GENERATE_MIPMAP</constant> or <constant>GL_AUTO_GENERATE_MIPMAP</constant> then <parameter>params</parameter>
+ is indicates the level of support for manual or automatic mipmap generation for the specified internal format, respectively. Returned values
+ may be one of <constant>GL_FULL_SUPPORT</constant>, <constant>GL_CAVEAT_SUPPORT</constant> and <constant>GL_NONE</constant> to indicate
+ either full support, limited support or no support at all.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_COLOR_ENCODING</constant> then the color encoding for the resource is returned in
+ <parameter>params</parameter>. Possible values for color buffers are <constant>GL_LINEAR</constant> or <constant>GL_SRGB</constant>,
+ for linear or sRGB-encoded color components, respectively. For non-color
+ formats (such as depth or stencil), or for unsupported resources,
+ the value <constant>GL_NONE</constant> is returned.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_SRGB_READ</constant>, or <constant>GL_SRGB_WRITE</constant> then <parameter>params</parameter>
+ indicates the level of support for reading and writing to sRGB encoded images, respectively. For <constant>GL_SRGB_READ</constant>,
+ support for converting from sRGB colorspace on read operations is returned in <parameter>params</parameter> and for <constant>GL_SRGB_WRITE</constant>,
+ support for converting to sRGB colorspace on write operations to the resource is returned in <parameter>params</parameter>. <parameter>params</parameter> may be
+ set to <constant>GL_FULL_SUPPORT</constant>, <constant>GL_CAVEAT_SUPPORT</constant>, or <constant>GL_NONE</constant> to indicate
+ full support, limited support or no support at all, respecitively.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_FILTER</constant> the <parameter>params</parameter> is set to either <constant>GL_TRUE</constant>
+ or <constant>GL_FALSE</constant> to indicate support or lack thereof for filter modes other than <constant>GL_NEAREST</constant> or <constant>GL_NEAREST_MIPMAP</constant>
+ for the specified internal format.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_VERTEX_TEXTURE</constant>, <constant>GL_TESS_CONTROL_TEXTURE</constant>, <constant>GL_TESS_EVALUATION_TEXTURE</constant>,
+ <constant>GL_GEOMETRY_TEXTURE</constant>, <constant>GL_FRAGMENT_TEXTURE</constant>, or <constant>GL_COMPUTE_TEXTURE</constant>, then the value
+ written to <parameter>params</parameter> indicates support for use of the resource as a source of texturing in the vertex, tessellation control,
+ tessellation evaluation, geometry, fragment and compute shader stages, respectively. <parameter>params</parameter> may be set to
+ <constant>GL_FULL_SUPPORT</constant>, <constant>GL_CAVEAT_SUPPORT</constant> or <constant>GL_NONE</constant> to indicate full support,
+ limited support or no support at all, respectively.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_TEXTURE_SHADOW</constant>, <constant>GL_TEXTURE_GATHER</constant> or <constant>GL_TEXTURE_GATHER_SHADOW</constant> then the value written to
+ <parameter>params</parameter> indicates the level of support for using the resource with a shadow sampler, in gather operations or as a shadow sampler in gather operations, respectively. Returned values
+ may be <constant>GL_FULL_SUPPORT</constant>, <constant>GL_CAVEAT_SUPPORT</constant> or <constant>GL_NONE</constant> to indicate full support,
+ limited support or no support at all, respectively.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_SHADER_IMAGE_LOAD</constant>, <constant>GL_SHADER_IMAGE_STORE</constant> or <constant>GL_SHADER_IMAGE_ATOMIC</constant>
+ then the value returned in <parameter>params</parameter> indicates the level of support for image loads, stores and atomics for resources of the specified internal
+ format. Returned values
+ may be <constant>GL_FULL_SUPPORT</constant>, <constant>GL_CAVEAT_SUPPORT</constant> or <constant>GL_NONE</constant> to indicate full support,
+ limited support or no support at all, respectively.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_IMAGE_TEXEL_SIZE</constant> then the size of a texel when the resource when used as
+ an image texture is returned in <parameter>params</parameter>. If the resource is not supported for image
+ textures zero is returned.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_IMAGE_COMPATIBILITY_CLASS</constant> then the compatibility class of the resource when
+ used as an image texture is returned in <parameter>params</parameter>. The possible values
+ returned are <constant>GL_IMAGE_CLASS_4_X_32</constant>, <constant>GL_IMAGE_CLASS_2_X_32</constant>, <constant>GL_IMAGE_CLASS_1_X_32</constant>,
+ <constant>GL_IMAGE_CLASS_4_X_16</constant>, <constant>GL_IMAGE_CLASS_2_X_16</constant>, <constant>GL_IMAGE_CLASS_1_X_16</constant>,
+ <constant>GL_IMAGE_CLASS_4_X_8</constant>, <constant>GL_IMAGE_CLASS_2_X_8</constant>, <constant>GL_IMAGE_CLASS_1_X_8</constant>,
+ <constant>GL_IMAGE_CLASS_11_11_10</constant>, and <constant>GL_IMAGE_CLASS_10_10_10_2</constant>, which correspond to
+ the 4x32, 2x32, 1x32, 4x16, 2x16, 1x16, 4x8, 2x8, 1x8, the class
+ (a) 11/11/10 packed floating-point format, and the class (b)
+ 10/10/10/2 packed formats, respectively.
+ If the resource is not supported for image textures, <constant>GL_NONE</constant> is returned.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_IMAGE_PIXEL_FORMAT</constant> or <constant>GL_IMAGE_PIXEL_TYPE</constant> then
+ the pixel format or type of the resource when used as an image texture is returned in <parameter>params</parameter>, respectively.
+ In either case, the resource is not supported for image textures <constant>GL_NONE</constant> is returned.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_IMAGE_FORMAT_COMPATIBILITY_TYPE</constant>, the matching criteria use for the
+ resource when used as an image textures is returned in <parameter>params</parameter>. Possible values returned in <parameter>params</parameter> are
+ <constant>GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE</constant> or <constant>GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS</constant>.
+ If the resource is not supported for image textures, <constant>GL_NONE</constant> is returned.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST</constant> or <constant>GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST</constant>,
+ support for using the resource both as a source for texture sampling while it is bound as a buffer for depth or stencil test, respectively, is written to <parameter>params</parameter>.
+ Possible values returned are <constant>GL_FULL_SUPPORT</constant>, <constant>GL_CAVEAT_SUPPORT</constant>, or <constant>GL_NONE</constant> to indicate
+ full support, limited support or no support at all. If the resource or operation is not supported, <constant>GL_NONE</constant> is returned.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE</constant> or <constant>GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE</constant>,
+ support for using the resource both as a source for texture sampling while performing depth or stencil writes to the resources, respectively, is written to <parameter>params</parameter>.
+ Possible values returned are <constant>GL_FULL_SUPPORT</constant>, <constant>GL_CAVEAT_SUPPORT</constant>, or <constant>GL_NONE</constant> to indicate
+ full support, limited support or no support at all. If the resource or operation is not supported, <constant>GL_NONE</constant> is returned.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_TEXTURE_COMPRESSED</constant> then <constant>GL_TRUE</constant> is returned in <parameter>params</parameter>
+ if <parameter>internalformat</parameter> is a compressed internal format. <constant>GL_FALSE</constant> is returned in <parameter>params</parameter>
+ otherwise.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_TEXTURE_COMPRESSED_BLOCK_WIDTH</constant>, <constant>GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT</constant> or
+ <constant>GL_TEXTURE_COMPRESSED_BLOCK_SIZE</constant> then the width, height or total size, respectively of a block (in basic machine units) is returned in
+ <parameter>params</parameter>. If the internal format is not compressed, or the resource is not supported, 0 is returned.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_CLEAR_BUFFER</constant>, the level of support for using the resource with <citerefentry><refentrytitle>glClearBufferData</refentrytitle></citerefentry>
+ and <citerefentry><refentrytitle>glClearBufferSubData</refentrytitle></citerefentry> is returned in <parameter>params</parameter>. Possible values returned are <constant>GL_FULL_SUPPORT</constant>,
+ <constant>GL_CAVEAT_SUPPORT</constant>, or <constant>GL_NONE</constant> to indicate
+ full support, limited support or no support at all, respectively. If the resource or operation is not supported, <constant>GL_NONE</constant> is returned.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_TEXTURE_VIEW</constant>, the level of support for using the resource with the <citerefentry><refentrytitle>glTextureView</refentrytitle></citerefentry>
+ command is returned in <parameter>params</parameter>. Possible values returned are <constant>GL_FULL_SUPPORT</constant>,
+ <constant>GL_CAVEAT_SUPPORT</constant>, or <constant>GL_NONE</constant> to indicate
+ full support, limited support or no support at all, respectively. If the resource or operation is not supported, <constant>GL_NONE</constant> is returned.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_VIEW_COMPATIBILITY_CLASS</constant> then the compatibility class of the resource when
+ used as a texture view is returned in <parameter>params</parameter>. The possible values
+ returned are <constant>GL_VIEW_CLASS_128_BITS</constant>, <constant>GL_VIEW_CLASS_96_BITS</constant>,
+ <constant>GL_VIEW_CLASS_64_BITS</constant>, <constant>GL_VIEW_CLASS_48_BITS</constant>, <constant>GL_VIEW_CLASS_32_BITS</constant>,
+ <constant>GL_VIEW_CLASS_24_BITS</constant>, <constant>GL_VIEW_CLASS_16_BITS</constant>, <constant>GL_VIEW_CLASS_8_BITS</constant>,
+ <constant>GL_VIEW_CLASS_S3TC_DXT1_RGB</constant>, <constant>GL_VIEW_CLASS_S3TC_DXT1_RGBA</constant>,
+ <constant>GL_VIEW_CLASS_S3TC_DXT3_RGBA</constant>, <constant>GL_VIEW_CLASS_S3TC_DXT5_RGBA</constant>,
+ <constant>GL_VIEW_CLASS_RGTC1_RED</constant>, <constant>GL_VIEW_CLASS_RGTC2_RG</constant>, <constant>GL_VIEW_CLASS_BPTC_UNORM</constant>, and
+ <constant>GL_VIEW_CLASS_BPTC_FLOAT</constant>.
+ </para>
+ <para>
+ If <parameter>pname</parameter> is <constant>GL_CLEAR_TEXTURE</constant> then the presence of support for using the
+ <citerefentry><refentrytitle>glClearTexImage</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glClearTexSubImage</refentrytitle></citerefentry>
+ commands with the resource is written to <parameter>params</parameter>. Possible values written are <constant>GL_FULL_SUPPORT</constant>,
+ <constant>GL_CAVEAT_SUPPORT</constant>, or <constant>GL_NONE</constant> to indicate
+ full support, limited support or no support at all, respectively. If the resource or operation is not supported, <constant>GL_NONE</constant> is returned.
+ </para>
+ </refsect1>
+ <refsect1 id="notes"><title>Notes</title>
+ <para>
+ <function>glGetInternalformativ</function> is available only if the
+ GL version is 4.2 or higher.
+ </para>
+ <para>
+ The tokens
+ <constant>GL_INTERNALFORMAT_SUPPORTED</constant>,
+ <constant>GL_INTERNALFORMAT_PREFERRED</constant>,
+ <constant>GL_INTERNALFORMAT_RED_SIZE</constant>,
+ <constant>GL_INTERNALFORMAT_GREEN_SIZE</constant>,
+ <constant>GL_INTERNALFORMAT_BLUE_SIZE</constant>,
+ <constant>GL_INTERNALFORMAT_ALPHA_SIZE</constant>,
+ <constant>GL_INTERNALFORMAT_DEPTH_SIZE</constant>,
+ <constant>GL_INTERNALFORMAT_STENCIL_SIZE</constant>,
+ <constant>GL_INTERNALFORMAT_SHARED_SIZE</constant>,
+ <constant>GL_INTERNALFORMAT_RED_TYPE</constant>,
+ <constant>GL_INTERNALFORMAT_GREEN_TYPE</constant>,
+ <constant>GL_INTERNALFORMAT_BLUE_TYPE</constant>,
+ <constant>GL_INTERNALFORMAT_ALPHA_TYPE</constant>,
+ <constant>GL_INTERNALFORMAT_DEPTH_TYPE</constant>,
+ <constant>GL_INTERNALFORMAT_STENCIL_TYPE</constant>,
+ <constant>GL_MAX_WIDTH</constant>,
+ <constant>GL_MAX_HEIGHT</constant>,
+ <constant>GL_MAX_DEPTH</constant>,
+ <constant>GL_MAX_LAYERS</constant>,
+ <constant>GL_MAX_COMBINED_DIMENSIONS</constant>,
+ <constant>GL_COLOR_COMPONENTS</constant>,
+ <constant>GL_DEPTH_COMPONENTS</constant>,
+ <constant>GL_STENCIL_COMPONENTS</constant>,
+ <constant>GL_COLOR_RENDERABLE</constant>,
+ <constant>GL_DEPTH_RENDERABLE</constant>,
+ <constant>GL_STENCIL_RENDERABLE</constant>,
+ <constant>GL_FRAMEBUFFER_RENDERABLE</constant>,
+ <constant>GL_FRAMEBUFFER_RENDERABLE_LAYERED</constant>,
+ <constant>GL_FRAMEBUFFER_BLEND</constant>,
+ <constant>GL_READ_PIXELS</constant>,
+ <constant>GL_READ_PIXELS_FORMAT</constant>,
+ <constant>GL_READ_PIXELS_TYPE</constant>,
+ <constant>GL_TEXTURE_IMAGE_FORMAT</constant>,
+ <constant>GL_TEXTURE_IMAGE_TYPE</constant>,
+ <constant>GL_GET_TEXTURE_IMAGE_FORMAT</constant>,
+ <constant>GL_GET_TEXTURE_IMAGE_TYPE</constant>,
+ <constant>GL_MIPMAP</constant>,
+ <constant>GL_GENERATE_MIPMAP</constant>,
+ <constant>GL_AUTO_GENERATE_MIPMAP</constant>,
+ <constant>GL_COLOR_ENCODING</constant>,
+ <constant>GL_SRGB_READ</constant>,
+ <constant>GL_SRGB_WRITE</constant>,
+ <constant>GL_SRGB_DECODE_ARB</constant>,
+ <constant>GL_FILTER</constant>,
+ <constant>GL_VERTEX_TEXTURE</constant>,
+ <constant>GL_TESS_CONTROL_TEXTURE</constant>,
+ <constant>GL_TESS_EVALUATION_TEXTURE</constant>,
+ <constant>GL_GEOMETRY_TEXTURE</constant>,
+ <constant>GL_FRAGMENT_TEXTURE</constant>,
+ <constant>GL_COMPUTE_TEXTURE</constant>,
+ <constant>GL_TEXTURE_SHADOW</constant>,
+ <constant>GL_TEXTURE_GATHER</constant>,
+ <constant>GL_TEXTURE_GATHER_SHADOW</constant>,
+ <constant>GL_SHADER_IMAGE_LOAD</constant>,
+ <constant>GL_SHADER_IMAGE_STORE</constant>,
+ <constant>GL_SHADER_IMAGE_ATOMIC</constant>,
+ <constant>GL_IMAGE_TEXEL_SIZE</constant>,
+ <constant>GL_IMAGE_COMPATIBILITY_CLASS</constant>,
+ <constant>GL_IMAGE_PIXEL_FORMAT</constant>,
+ <constant>GL_IMAGE_PIXEL_TYPE</constant>,
+ <constant>GL_IMAGE_FORMAT_COMPATIBILITY_TYPE</constant>,
+ <constant>GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST</constant>,
+ <constant>GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST</constant>,
+ <constant>GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE</constant>,
+ <constant>GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE</constant>,
+ <constant>GL_TEXTURE_COMPRESSED</constant>,
+ <constant>GL_TEXTURE_COMPRESSED_BLOCK_WIDTH</constant>,
+ <constant>GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT</constant>,
+ <constant>GL_TEXTURE_COMPRESSED_BLOCK_SIZE</constant>,
+ <constant>GL_CLEAR_BUFFER</constant>,
+ <constant>GL_TEXTURE_VIEW</constant>, and
+ <constant>GL_VIEW_COMPATIBILITY_CLASS</constant> are supported only if the GL
+ version is 4.3 or higher.
+ </para>
+ <para>
+ The <constant>GL_CLEAR_TEXTURE</constant> token is accepted for <parameter>pname</parameter> only
+ if the GL version is 4.4 or higher.
+ </para>
+ </refsect1>
+ <refsect1 id="errors"><title>Errors</title>
+ <para>
+ <constant>GL_INVALID_VALUE</constant> is generated if <parameter>bufSize</parameter> is negative.
+ </para>
+ <para>
+ <constant>GL_INVALID_ENUM</constant> is generated if <parameter>pname</parameter> is not <constant>GL_SAMPLES</constant> or <constant>GL_NUM_SAMPLE_COUNTS</constant>.
+ </para>
+ <para>
+ <constant>GL_INVALID_ENUM</constant> is generated if <parameter>internalformat</parameter> is not color-, depth-, or stencil-renderable.
+ </para>
+ <para>
+ <constant>GL_INVALID_ENUM</constant> is generated if <parameter>target</parameter> is not one of <constant>GL_TEXTURE_2D_MULTISAMPLE</constant>,
+ <constant>GL_TEXTURE_2D_MULTISAMPLE_ARRAY</constant> or <constant>GL_RENDERBUFFER</constant>.
+ </para>
+ </refsect1>
+ <refsect1 id="seealso"><title>See Also</title>
+ <para>
+ <citerefentry><refentrytitle>glGet</refentrytitle></citerefentry>
+ </para>
+ </refsect1>
+ <refsect1 id="Copyright"><title>Copyright</title>
+ <para>
+ Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
+ the Open Publication License, v 1.0, 8 June 1999.
+ <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
+ </para>
+ </refsect1>
+</refentry>
</refsect1>
<refsect1 id="description"><title>Description</title>
<para>
- <function>glGetMultisamplefv</function> queries the location of a given sample. <parameter>pname</parameter>
- specifies the sample parameter to retrieve and must be <constant>GL_SAMPLE_POSITION</constant>. <parameter>index</parameter>
- corresponds to the sample for which the location should be returned. The sample location is returned as two floating-point
- values in <parameter>val[0]</parameter> and <parameter>val[1]</parameter>, each between 0 and 1, corresponding to the <parameter>x</parameter>
- and <parameter>y</parameter> locations respectively in the GL pixel space of that sample. (0.5, 0.5) this corresponds to the
- pixel center. <parameter>index</parameter> must be between zero and the value of <constant>GL_SAMPLES</constant> - 1.
+ <function>glGetMultisamplefv</function> queries the location of
+ a given sample. <parameter>pname</parameter> specifies the
+ sample parameter to retrieve and must be
+ <constant>GL_SAMPLE_POSITION</constant>.
+ <parameter>index</parameter> corresponds to the sample for which
+ the location should be returned. The sample location is returned
+ as two floating-point values in <parameter>val[0]</parameter>
+ and <parameter>val[1]</parameter>, each between 0 and 1,
+ corresponding to the <parameter>x</parameter> and
+ <parameter>y</parameter> locations respectively in the GL pixel
+ space of that sample. (0.5, 0.5) this corresponds to the pixel
+ center. <parameter>index</parameter> must be between zero and
+ the value of <constant>GL_SAMPLES</constant> minus one.
</para>
<para>
If the multisample mode does not have fixed sample locations, the returned values may only reflect the locations of samples
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
allowed for <parameter>programInterface</parameter>. The set of allowed <parameter>programInterface</parameter>
values for each property can be found in the following table:
</para>
- <informaltable frame="topbot">
+ <informaltable>
<tgroup cols="2" align="left">
<colspec colnum="1" colname="col1" colwidth="1*"/>
<colspec colnum="2" colname="col2" colwidth="2*"/>
<thead>
<row>
- <entry morerows="1" rowsep="1" align="center">Property</entry>
- <entry morerows="1" rowsep="1" align="center">Supported Interfaces</entry>
+ <entry>Property</entry>
+ <entry>Supported Interfaces</entry>
</row>
</thead>
<tbody>
<row>
- <entry align="left"><constant>GL_NAME_LENGTH</constant></entry>
- <entry align="left">Any except <constant>GL_ATOMIC_COUNTER_BUFFER</constant> and <constant>GL_TRANSFORM_FEEDBACK_BUFFER</constant></entry>
+ <entry><constant>GL_NAME_LENGTH</constant></entry>
+ <entry>Any except <constant>GL_ATOMIC_COUNTER_BUFFER</constant> and <constant>GL_TRANSFORM_FEEDBACK_BUFFER</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_TYPE</constant></entry>
- <entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant>, <constant>GL_TRANSFORM_FEEDBACK_VARYING</constant>, <constant>GL_BUFFER_VARIABLE</constant></entry>
+ <entry><constant>GL_TYPE</constant></entry>
+ <entry><constant>GL_UNIFORM</constant>, <constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant>, <constant>GL_TRANSFORM_FEEDBACK_VARYING</constant>, <constant>GL_BUFFER_VARIABLE</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_ARRAY_SIZE</constant></entry>
- <entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant>, <constant>GL_PROGRAM_INPUT</constant>,
+ <entry><constant>GL_ARRAY_SIZE</constant></entry>
+ <entry><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant>, <constant>GL_PROGRAM_INPUT</constant>,
<constant>GL_PROGRAM_OUTPUT, VERTEX_SUBROUTINE_UNIFORM</constant>, <constant>GL_TESS_CONTROL_SUBROUTINE_UNIFORM</constant>,
<constant>GL_TESS_EVALUATION_SUBROUTINE_UNIFORM</constant>, <constant>GL_GEOMETRY_SUBROUTINE_UNIFORM</constant>,
<constant>GL_FRAGMENT_SUBROUTINE_UNIFORM</constant>, <constant>GL_COMPUTE_SUBROUTINE_UNIFORM</constant>, <constant>GL_TRANSFORM_FEEDBACK_VARYING</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_OFFSET</constant></entry>
- <entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant>, <constant>GL_TRANSFORM_FEEDBACK_VARYING</constant></entry>
+ <entry><constant>GL_OFFSET</constant></entry>
+ <entry><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant>, <constant>GL_TRANSFORM_FEEDBACK_VARYING</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_BLOCK_INDEX</constant></entry>
- <entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant></entry>
+ <entry><constant>GL_BLOCK_INDEX</constant></entry>
+ <entry><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_ARRAY_STRIDE</constant></entry>
- <entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant></entry>
+ <entry><constant>GL_ARRAY_STRIDE</constant></entry>
+ <entry><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_MATRIX_STRIDE</constant></entry>
- <entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant></entry>
+ <entry><constant>GL_MATRIX_STRIDE</constant></entry>
+ <entry><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_IS_ROW_MAJOR</constant></entry>
- <entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant></entry>
+ <entry><constant>GL_IS_ROW_MAJOR</constant></entry>
+ <entry><constant>GL_UNIFORM</constant>, <constant>GL_BUFFER_VARIABLE</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_ATOMIC_COUNTER_BUFFER_INDEX</constant></entry>
- <entry align="left"><constant>GL_UNIFORM</constant></entry>
+ <entry><constant>GL_ATOMIC_COUNTER_BUFFER_INDEX</constant></entry>
+ <entry><constant>GL_UNIFORM</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_TEXTURE_BUFFER</constant></entry>
- <entry align="left"><emphasis>none</emphasis></entry>
+ <entry><constant>GL_TEXTURE_BUFFER</constant></entry>
+ <entry><emphasis>none</emphasis></entry>
</row>
<row>
- <entry align="left"><constant>GL_BUFFER_BINDING</constant></entry>
- <entry align="left"><constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_TRANSFORM_FEEDBACK_BUFFER</constant></entry>
+ <entry><constant>GL_BUFFER_BINDING</constant></entry>
+ <entry><constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_TRANSFORM_FEEDBACK_BUFFER</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_BUFFER_DATA_SIZE</constant></entry>
- <entry align="left"><constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant></entry>
+ <entry><constant>GL_BUFFER_DATA_SIZE</constant></entry>
+ <entry><constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_NUM_ACTIVE_VARIABLES</constant></entry>
- <entry align="left"><constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_TRANSFORM_FEEDBACK_BUFFER</constant></entry>
+ <entry><constant>GL_NUM_ACTIVE_VARIABLES</constant></entry>
+ <entry><constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_TRANSFORM_FEEDBACK_BUFFER</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_ACTIVE_VARIABLES</constant></entry>
- <entry align="left"><constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_TRANSFORM_FEEDBACK_BUFFER</constant></entry>
+ <entry><constant>GL_ACTIVE_VARIABLES</constant></entry>
+ <entry><constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_TRANSFORM_FEEDBACK_BUFFER</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_REFERENCED_BY_VERTEX_SHADER</constant></entry>
- <entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
+ <entry><constant>GL_REFERENCED_BY_VERTEX_SHADER</constant></entry>
+ <entry><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
<constant>GL_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_BUFFER_VARIABLE</constant>,
<constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_REFERENCED_BY_TESS_CONTROL_SHADER</constant></entry>
- <entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
+ <entry><constant>GL_REFERENCED_BY_TESS_CONTROL_SHADER</constant></entry>
+ <entry><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
<constant>GL_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_BUFFER_VARIABLE</constant>,
<constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_REFERENCED_BY_TESS_EVALUATION_SHADER</constant></entry>
- <entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
+ <entry><constant>GL_REFERENCED_BY_TESS_EVALUATION_SHADER</constant></entry>
+ <entry><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
<constant>GL_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_BUFFER_VARIABLE</constant>,
<constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_REFERENCED_BY_GEOMETRY_SHADER</constant></entry>
- <entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
+ <entry><constant>GL_REFERENCED_BY_GEOMETRY_SHADER</constant></entry>
+ <entry><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
<constant>GL_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_BUFFER_VARIABLE</constant>,
<constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_REFERENCED_BY_FRAGMENT_SHADER</constant></entry>
- <entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
+ <entry><constant>GL_REFERENCED_BY_FRAGMENT_SHADER</constant></entry>
+ <entry><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
<constant>GL_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_BUFFER_VARIABLE</constant>,
<constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_REFERENCED_BY_COMPUTE_SHADER</constant></entry>
- <entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
+ <entry><constant>GL_REFERENCED_BY_COMPUTE_SHADER</constant></entry>
+ <entry><constant>GL_UNIFORM</constant>, <constant>GL_UNIFORM_BLOCK</constant>, <constant>GL_ATOMIC_COUNTER_SHADER</constant>,
<constant>GL_BUFFER</constant>, <constant>GL_SHADER_STORAGE_BLOCK</constant>, <constant>GL_BUFFER_VARIABLE</constant>,
<constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_NUM_COMPATIBLE_SUBROUTINES</constant></entry>
- <entry align="left"><constant>GL_VERTEX_SUBROUTINE_UNIFORM</constant>, <constant>GL_TESS_CONTROL_SUBROUTINE_UNIFORM</constant>,
+ <entry><constant>GL_NUM_COMPATIBLE_SUBROUTINES</constant></entry>
+ <entry><constant>GL_VERTEX_SUBROUTINE_UNIFORM</constant>, <constant>GL_TESS_CONTROL_SUBROUTINE_UNIFORM</constant>,
<constant>GL_TESS_EVALUATION_SUBROUTINE_UNIFORM</constant>, <constant>GL_GEOMETRY_SUBROUTINE_UNIFORM</constant>,
<constant>GL_FRAGMENT_SUBROUTINE_UNIFORM</constant>, <constant>GL_COMPUTE_SUBROUTINE_UNIFORM</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_COMPATIBLE_SUBROUTINES</constant></entry>
- <entry align="left"><constant>GL_VERTEX_SUBROUTINE_UNIFORM</constant>, <constant>GL_TESS_CONTROL_SUBROUTINE_UNIFORM</constant>,
+ <entry><constant>GL_COMPATIBLE_SUBROUTINES</constant></entry>
+ <entry><constant>GL_VERTEX_SUBROUTINE_UNIFORM</constant>, <constant>GL_TESS_CONTROL_SUBROUTINE_UNIFORM</constant>,
<constant>GL_TESS_EVALUATION_SUBROUTINE_UNIFORM</constant>, <constant>GL_GEOMETRY_SUBROUTINE_UNIFORM</constant>,
<constant>GL_FRAGMENT_SUBROUTINE_UNIFORM</constant>, <constant>GL_COMPUTE_SUBROUTINE_UNIFORM</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_TOP_LEVEL_ARRAY_SIZE</constant></entry>
- <entry align="left"><constant>GL_BUFFER_VARIABLE</constant></entry>
+ <entry><constant>GL_TOP_LEVEL_ARRAY_SIZE</constant></entry>
+ <entry><constant>GL_BUFFER_VARIABLE</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_TOP_LEVEL_ARRAY_STRIDE</constant></entry>
- <entry align="left"><constant>GL_BUFFER_VARIABLE</constant></entry>
+ <entry><constant>GL_TOP_LEVEL_ARRAY_STRIDE</constant></entry>
+ <entry><constant>GL_BUFFER_VARIABLE</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_LOCATION</constant></entry>
- <entry align="left"><constant>GL_UNIFORM</constant>, <constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant>,
+ <entry><constant>GL_LOCATION</constant></entry>
+ <entry><constant>GL_UNIFORM</constant>, <constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant>,
<constant>GL_VERTEX_SUBROUTINE_UNIFORM</constant>, <constant>GL_TESS_CONTROL_SUBROUTINE_UNIFORM</constant>,
<constant>GL_TESS_EVALUATION_SUBROUTINE_UNIFORM</constant>, <constant>GL_GEOMETRY_SUBROUTINE_UNIFORM</constant>,
<constant>GL_FRAGMENT_SUBROUTINE_UNIFORM</constant>, <constant>GL_COMPUTE_SUBROUTINE_UNIFORM</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_LOCATION_INDEX</constant></entry>
- <entry align="left"><constant>GL_PROGRAM_OUTPUT</constant></entry>
+ <entry><constant>GL_LOCATION_INDEX</constant></entry>
+ <entry><constant>GL_PROGRAM_OUTPUT</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_IS_PER_PATCH</constant></entry>
- <entry align="left"><constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant></entry>
+ <entry><constant>GL_IS_PER_PATCH</constant></entry>
+ <entry><constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_LOCATION_COMPONENT</constant></entry>
- <entry align="left"><constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant></entry>
+ <entry><constant>GL_LOCATION_COMPONENT</constant></entry>
+ <entry><constant>GL_PROGRAM_INPUT</constant>, <constant>GL_PROGRAM_OUTPUT</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_TRANSFORM_FEEDBACK_BUFFER_INDEX</constant></entry>
- <entry align="left"><constant>GL_TRANSFORM_FEEDBACK_VARYING</constant></entry>
+ <entry><constant>GL_TRANSFORM_FEEDBACK_BUFFER_INDEX</constant></entry>
+ <entry><constant>GL_TRANSFORM_FEEDBACK_VARYING</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE</constant></entry>
- <entry align="left"><constant>GL_TRANSFORM_FEEDBACK_BUFFER</constant></entry>
+ <entry><constant>GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE</constant></entry>
+ <entry><constant>GL_TRANSFORM_FEEDBACK_BUFFER</constant></entry>
</row>
</tbody>
</tgroup>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
- Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see
variable selected by <parameter>index</parameter>. An <parameter>index</parameter> of 0 selects
the first varying variable specified in the <parameter>varyings</parameter> array passed
to <citerefentry><refentrytitle>glTransformFeedbackVaryings</refentrytitle></citerefentry>, and
- an <parameter>index</parameter> of <constant>GL_TRANSFORM_FEEDBACK_VARYINGS</constant> - 1 selects
+ an <parameter>index</parameter> of the value of
+ <constant>GL_TRANSFORM_FEEDBACK_VARYINGS</constant> minus one selects
the last such variable.
</para>
<para>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glHint</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</para>
<para>
</para>
- <informaltable frame="topbot">
+ <informaltable>
<tgroup cols="2" align="left">
<colspec/>
<colspec/>
<thead>
<row>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Constant
- </emphasis></entry>
- <entry rowsep="1" align="left"><emphasis role="bold">
- See
- </emphasis></entry>
+ <entry>
+ <emphasis role="bold"> Constant </emphasis>
+ </entry>
+ <entry>
+ <emphasis role="bold"> See </emphasis>
+ </entry>
</row>
</thead>
<tbody>
<row>
- <entry align="left">
- <constant>GL_BLEND</constant>
+ <entry>
+ <constant>GL_BLEND</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glLogicOp</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry>,
+ <citerefentry><refentrytitle>glLogicOp</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_CLIP_DISTANCE</constant><emphasis>i</emphasis>
+ <entry>
+ <constant>GL_CLIP_DISTANCE</constant><emphasis>i</emphasis>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_COLOR_LOGIC_OP</constant>
+ <entry>
+ <constant>GL_COLOR_LOGIC_OP</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glLogicOp</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glLogicOp</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_CULL_FACE</constant>
+ <entry>
+ <constant>GL_CULL_FACE</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glCullFace</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glCullFace</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_DEPTH_CLAMP</constant>
+ <entry>
+ <constant>GL_DEPTH_CLAMP</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_DEBUG_OUTPUT</constant>
+ <entry>
+ <constant>GL_DEBUG_OUTPUT</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_DEBUG_OUTPUT_SYNCHRONOUS</constant>
+ <entry>
+ <constant>GL_DEBUG_OUTPUT_SYNCHRONOUS</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_DEPTH_TEST</constant>
+ <entry>
+ <constant>GL_DEPTH_TEST</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glDepthFunc</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glDepthRange</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glDepthFunc</refentrytitle></citerefentry>,
+ <citerefentry><refentrytitle>glDepthRange</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_DITHER</constant>
+ <entry>
+ <constant>GL_DITHER</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_FRAMEBUFFER_SRGB</constant>
+ <entry>
+ <constant>GL_FRAMEBUFFER_SRGB</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_LINE_SMOOTH</constant>
+ <entry>
+ <constant>GL_LINE_SMOOTH</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glLineWidth</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glLineWidth</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_MULTISAMPLE</constant>
+ <entry>
+ <constant>GL_MULTISAMPLE</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_POLYGON_SMOOTH</constant>
+ <entry>
+ <constant>GL_POLYGON_SMOOTH</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glPolygonMode</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glPolygonMode</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_POLYGON_OFFSET_FILL</constant>
+ <entry>
+ <constant>GL_POLYGON_OFFSET_FILL</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_POLYGON_OFFSET_LINE</constant>
+ <entry>
+ <constant>GL_POLYGON_OFFSET_LINE</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_POLYGON_OFFSET_POINT</constant>
+ <entry>
+ <constant>GL_POLYGON_OFFSET_POINT</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_PROGRAM_POINT_SIZE</constant>
+ <entry>
+ <constant>GL_PROGRAM_POINT_SIZE</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_PRIMITIVE_RESTART</constant>
+ <entry>
+ <constant>GL_PRIMITIVE_RESTART</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glPrimitiveRestartIndex</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>,
+ <citerefentry><refentrytitle>glPrimitiveRestartIndex</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_SAMPLE_ALPHA_TO_COVERAGE</constant>
+ <entry>
+ <constant>GL_SAMPLE_ALPHA_TO_COVERAGE</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_SAMPLE_ALPHA_TO_ONE</constant>
+ <entry>
+ <constant>GL_SAMPLE_ALPHA_TO_ONE</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_SAMPLE_COVERAGE</constant>
+ <entry>
+ <constant>GL_SAMPLE_COVERAGE</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_SAMPLE_MASK</constant>
+ <entry>
+ <constant>GL_SAMPLE_MASK</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_SCISSOR_TEST</constant>
+ <entry>
+ <constant>GL_SCISSOR_TEST</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glScissor</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glScissor</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_STENCIL_TEST</constant>
+ <entry>
+ <constant>GL_STENCIL_TEST</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glStencilFunc</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glStencilOp</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glStencilFunc</refentrytitle></citerefentry>,
+ <citerefentry><refentrytitle>glStencilOp</refentrytitle></citerefentry>
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_TEXTURE_CUBE_MAP_SEAMLESS</constant>
+ <entry>
+ <constant>GL_TEXTURE_CUBE_MAP_SEAMLESS</constant>
</entry>
- <entry align="left">
- <citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
+ <entry>
+ <citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>
</entry>
</row>
</tbody>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
- Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glIsTexture</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glLineWidth</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glLogicOp</refentrytitle>
</para>
<para>
</para>
- <informaltable frame="topbot">
- <tgroup cols="2" align="left">
- <colspec/>
- <colspec/>
+ <informaltable>
+ <tgroup cols="2">
+ <colspec align="left" />
+ <colspec align="center" />
<thead>
<row>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Opcode
- </emphasis></entry>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Resulting Operation
- </emphasis></entry>
+ <entry>
+ <emphasis role="bold"> Opcode </emphasis>
+ </entry>
+ <entry>
+ <emphasis role="bold"> Resulting Operation </emphasis>
+ </entry>
</row>
</thead>
<tbody>
<row>
- <entry align="left">
- <constant>GL_CLEAR</constant>
+ <entry>
+ <constant>GL_CLEAR</constant>
</entry>
- <entry align="center">
- 0
+ <entry>
+ 0
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_SET</constant>
+ <entry>
+ <constant>GL_SET</constant>
</entry>
- <entry align="center">
- 1
+ <entry>
+ 1
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_COPY</constant>
+ <entry>
+ <constant>GL_COPY</constant>
</entry>
- <entry align="center">
- s
+ <entry>
+ s
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_COPY_INVERTED</constant>
+ <entry>
+ <constant>GL_COPY_INVERTED</constant>
</entry>
- <entry align="center">
- ~s
+ <entry>
+ ~s
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_NOOP</constant>
+ <entry>
+ <constant>GL_NOOP</constant>
</entry>
- <entry align="center">
- d
+ <entry>
+ d
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_INVERT</constant>
+ <entry>
+ <constant>GL_INVERT</constant>
</entry>
- <entry align="center">
- ~d
+ <entry>
+ ~d
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_AND</constant>
+ <entry>
+ <constant>GL_AND</constant>
</entry>
- <entry align="center">
- s & d
+ <entry>
+ s & d
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_NAND</constant>
+ <entry>
+ <constant>GL_NAND</constant>
</entry>
- <entry align="center">
- ~(s & d)
+ <entry>
+ ~(s & d)
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_OR</constant>
+ <entry>
+ <constant>GL_OR</constant>
</entry>
- <entry align="center">
- s | d
+ <entry>
+ s | d
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_NOR</constant>
+ <entry>
+ <constant>GL_NOR</constant>
</entry>
- <entry align="center">
- ~(s | d)
+ <entry>
+ ~(s | d)
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_XOR</constant>
+ <entry>
+ <constant>GL_XOR</constant>
</entry>
- <entry align="center">
- s ^ d
+ <entry>
+ s ^ d
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_EQUIV</constant>
+ <entry>
+ <constant>GL_EQUIV</constant>
</entry>
- <entry align="center">
- ~(s ^ d)
+ <entry>
+ ~(s ^ d)
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_AND_REVERSE</constant>
+ <entry>
+ <constant>GL_AND_REVERSE</constant>
</entry>
- <entry align="center">
- s & ~d
+ <entry>
+ s & ~d
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_AND_INVERTED</constant>
+ <entry>
+ <constant>GL_AND_INVERTED</constant>
</entry>
- <entry align="center">
- ~s & d
+ <entry>
+ ~s & d
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_OR_REVERSE</constant>
+ <entry>
+ <constant>GL_OR_REVERSE</constant>
</entry>
- <entry align="center">
- s | ~d
+ <entry>
+ s | ~d
</entry>
</row>
<row>
- <entry align="left">
- <constant>GL_OR_INVERTED</constant>
+ <entry>
+ <constant>GL_OR_INVERTED</constant>
</entry>
- <entry align="center">
- ~s | d
+ <entry>
+ ~s | d
</entry>
</row>
</tbody>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 2012-2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</para>
<para>
</para>
- <informaltable frame="topbot">
- <tgroup cols="4" align="left">
- <colspec colwidth="2.5*" />
- <colspec colwidth="1*" align="center"/>
- <colspec colwidth="1*" align="center"/>
- <colspec colwidth="2*" align="center"/>
+ <informaltable>
+ <tgroup cols="4">
+ <colspec colwidth="2.5*" align="left" />
+ <colspec colwidth="1*" align="center" />
+ <colspec colwidth="1*" align="center" />
+ <colspec colwidth="2*" align="center" />
<thead>
<row>
- <entry rowsep="1" align="left"><emphasis role="bold">
- <parameter>pname</parameter>
- </emphasis></entry>
- <entry rowsep="1" align="center"><emphasis role="bold">
- Type
- </emphasis></entry>
- <entry rowsep="1" align="center"><emphasis role="bold">
- Initial Value
- </emphasis></entry>
- <entry rowsep="1" align="center"><emphasis role="bold">
- Valid Range
- </emphasis></entry>
+ <entry>
+ <emphasis role="bold"> <parameter>pname</parameter> </emphasis>
+ </entry>
+ <entry>
+ <emphasis role="bold"> Type </emphasis>
+ </entry>
+ <entry>
+ <emphasis role="bold"> Initial Value </emphasis>
+ </entry>
+ <entry>
+ <emphasis role="bold"> Valid Range </emphasis>
+ </entry>
</row>
</thead>
<tbody>
<row>
- <entry align="left">
+ <entry>
<constant>GL_PACK_SWAP_BYTES</constant>
</entry>
- <entry align="center">
+ <entry>
boolean
</entry>
- <entry align="center">
+ <entry>
false
</entry>
- <entry align="center">
+ <entry>
true or false
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_PACK_LSB_FIRST</constant>
</entry>
- <entry align="center">
+ <entry>
boolean
</entry>
- <entry align="center">
+ <entry>
false
</entry>
- <entry align="center">
+ <entry>
true or false
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_PACK_ROW_LENGTH</constant>
</entry>
- <entry align="center">
+ <entry>
integer
</entry>
- <entry align="center">
+ <entry>
0
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: left [ 0,\(if right ): -->
<mml:mfenced open="[" close=")">
<mml:mn>0</mml:mn>
- <mml:infinity/>
+ <mml:mn>∞</mml:mn>
</mml:mfenced>
</mml:math></inlineequation>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_PACK_IMAGE_HEIGHT</constant>
</entry>
- <entry align="center">
+ <entry>
integer
</entry>
- <entry align="center">
+ <entry>
0
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: left [ 0, \(if right ): -->
<mml:mfenced open="[" close=")">
<mml:mn>0</mml:mn>
- <mml:infinity/>
+ <mml:mn>∞</mml:mn>
</mml:mfenced>
</mml:math></inlineequation>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_PACK_SKIP_ROWS</constant>
</entry>
- <entry align="center">
+ <entry>
integer
</entry>
- <entry align="center">
+ <entry>
0
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: left [ 0,\(if right ): -->
<mml:mfenced open="[" close=")">
<mml:mn>0</mml:mn>
- <mml:infinity/>
+ <mml:mn>∞</mml:mn>
</mml:mfenced>
</mml:math></inlineequation>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_PACK_SKIP_PIXELS</constant>
</entry>
- <entry align="center">
+ <entry>
integer
</entry>
- <entry align="center">
+ <entry>
0
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: left [ 0,\(if right ): -->
<mml:mfenced open="[" close=")">
<mml:mn>0</mml:mn>
- <mml:infinity/>
+ <mml:mn>∞</mml:mn>
</mml:mfenced>
</mml:math></inlineequation>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_PACK_SKIP_IMAGES</constant>
</entry>
- <entry align="center">
+ <entry>
integer
</entry>
- <entry align="center">
+ <entry>
0
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: left [ 0,\(if right ): -->
<mml:mfenced open="[" close=")">
<mml:mn>0</mml:mn>
- <mml:infinity/>
+ <mml:mn>∞</mml:mn>
</mml:mfenced>
</mml:math></inlineequation>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_PACK_ALIGNMENT</constant>
</entry>
- <entry align="center">
+ <entry>
integer
</entry>
- <entry align="center">
+ <entry>
4
</entry>
- <entry align="center">
+ <entry>
1, 2, 4, or 8
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNPACK_SWAP_BYTES</constant>
</entry>
- <entry align="center">
+ <entry>
boolean
</entry>
- <entry align="center">
+ <entry>
false
</entry>
- <entry align="center">
+ <entry>
true or false
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNPACK_LSB_FIRST</constant>
</entry>
- <entry align="center">
+ <entry>
boolean
</entry>
- <entry align="center">
+ <entry>
false
</entry>
- <entry align="center">
+ <entry>
true or false
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNPACK_ROW_LENGTH</constant>
</entry>
- <entry align="center">
+ <entry>
integer
</entry>
- <entry align="center">
+ <entry>
0
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: left [ 0,\(if right ): -->
<mml:mfenced open="[" close=")">
<mml:mn>0</mml:mn>
- <mml:infinity/>
+ <mml:mn>∞</mml:mn>
</mml:mfenced>
</mml:math></inlineequation>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNPACK_IMAGE_HEIGHT</constant>
</entry>
- <entry align="center">
+ <entry>
integer
</entry>
- <entry align="center">
+ <entry>
0
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: left [ 0,\(if right ): -->
<mml:mfenced open="[" close=")">
<mml:mn>0</mml:mn>
- <mml:infinity/>
+ <mml:mn>∞</mml:mn>
</mml:mfenced>
</mml:math></inlineequation>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNPACK_SKIP_ROWS</constant>
</entry>
- <entry align="center">
+ <entry>
integer
</entry>
- <entry align="center">
+ <entry>
0
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: left [ 0,\(if right ): -->
<mml:mfenced open="[" close=")">
<mml:mn>0</mml:mn>
- <mml:infinity/>
+ <mml:mn>∞</mml:mn>
</mml:mfenced>
</mml:math></inlineequation>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNPACK_SKIP_PIXELS</constant>
</entry>
- <entry align="center">
+ <entry>
integer
</entry>
- <entry align="center">
+ <entry>
0
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: left [ 0,\(if right ): -->
<mml:mfenced open="[" close=")">
<mml:mn>0</mml:mn>
- <mml:infinity/>
+ <mml:mn>∞</mml:mn>
</mml:mfenced>
</mml:math></inlineequation>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNPACK_SKIP_IMAGES</constant>
</entry>
- <entry align="center">
+ <entry>
integer
</entry>
- <entry align="center">
+ <entry>
0
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: left [ 0,\(if right ): -->
<mml:mfenced open="[" close=")">
<mml:mn>0</mml:mn>
- <mml:infinity/>
+ <mml:mn>∞</mml:mn>
</mml:mfenced>
</mml:math></inlineequation>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNPACK_ALIGNMENT</constant>
</entry>
- <entry align="center">
+ <entry>
integer
</entry>
- <entry align="center">
+ <entry>
4
</entry>
- <entry align="center">
+ <entry>
1, 2, 4, or 8
</entry>
</row>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
- Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
- Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glPointSize</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glPolygonMode</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glPolygonOffset</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
<parameter>provokeMode</parameter> must be either <constant>GL_FIRST_VERTEX_CONVENTION</constant> or
<constant>GL_LAST_VERTEX_CONVENTION</constant>, and controls the selection of the vertex whose values are assigned to flatshaded
varying outputs. The interpretation of these values for the supported primitive types is:
- <informaltable frame="topbot">
+ <informaltable>
<tgroup cols="3" align="left">
<colspec colwidth="1.1*" />
<colspec colwidth="1*" />
<colspec colwidth="1*" />
<thead>
<row>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Primitive Type of Polygon <emphasis>i</emphasis>
- </emphasis></entry>
- <entry rowsep="1" align="left"><emphasis role="bold">
- First Vertex Convention
- </emphasis></entry>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Last Vertex Convention
- </emphasis></entry>
+ <entry>
+ <emphasis role="bold"> Primitive Type of Polygon <emphasis>i</emphasis> </emphasis>
+ </entry>
+ <entry><emphasis role="bold"> First Vertex Convention </emphasis>
+ </entry>
+ <entry>
+ <emphasis role="bold"> Last Vertex Convention </emphasis>
+ </entry>
</row>
</thead>
<tbody>
<parameter>id</parameter> specifies the ID of messages generated. The parameter
<parameter>length</parameter> contains the number of characters in <parameter>message</parameter>.
If <parameter>length</parameter> is negative, it is implied that <parameter>message</parameter>
- contains a null terminated string. The message has the specified <parameter>source</parameter>
+ contains a null terminated string. The message has the specified <parameter>source</parameter>
and <parameter>id</parameter>, the <parameter>type</parameter> <constant>GL_DEBUG_TYPE_PUSH_GROUP</constant>, and <parameter>severity</parameter>
<constant>GL_DEBUG_SEVERITY_NOTIFICATION</constant>. The GL will put a new debug group
on top of the debug group stack which inherits the control of the
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
- Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group.
This document is licensed under the SGI
Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glReadPixels</refentrytitle>
</para>
<para>
</para>
- <informaltable frame="topbot">
- <tgroup cols="3" align="left">
- <colspec/>
- <colspec align="center"/>
- <colspec align="center"/>
+ <informaltable>
+ <tgroup cols="3">
+ <colspec align="left" />
+ <colspec align="center" />
+ <colspec align="center" />
<thead>
<row>
- <entry rowsep="1" align="left">
- <parameter>type</parameter>
- </entry>
- <entry rowsep="1" align="center"><emphasis role="bold">
- Index Mask
- </emphasis></entry>
- <entry rowsep="1" align="center"><emphasis role="bold">
- Component Conversion
- </emphasis></entry>
+ <entry>
+ <parameter>type</parameter>
+ </entry>
+ <entry>
+ <emphasis role="bold"> Index Mask </emphasis>
+ </entry>
+ <entry>
+ <emphasis role="bold"> Component Conversion </emphasis>
+ </entry>
</row>
</thead>
<tbody>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_BYTE</constant>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup 8 - 1: -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup 8 - 1) c: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_BYTE</constant>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup 7 - 1: -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: {(2 sup 8 - 1) c - 1} / 2: -->
<mml:mfrac>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_SHORT</constant>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup 16 - 1: -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup 16 - 1) c: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_SHORT</constant>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup 15 - 1: -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: {(2 sup 16 - 1) c - 1} / 2: -->
<mml:mfrac>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT</constant>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup 32 - 1: -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup 32 - 1) c: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_INT</constant>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup 31 - 1: -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: {(2 sup 32 - 1) c - 1} / 2: -->
<mml:mfrac>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_HALF_FLOAT</constant>
</entry>
- <entry align="center">
+ <entry>
none
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math><mml:mi mathvariant="italic">c</mml:mi></mml:math></inlineequation>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT</constant>
</entry>
- <entry align="center">
+ <entry>
none
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math><mml:mi mathvariant="italic">c</mml:mi></mml:math></inlineequation>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_BYTE_3_3_2</constant>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_BYTE_2_3_3_REV</constant>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_SHORT_5_6_5</constant>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_SHORT_5_6_5_REV</constant>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_SHORT_4_4_4_4</constant>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_SHORT_4_4_4_4_REV</constant>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_SHORT_5_5_5_1</constant>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_SHORT_1_5_5_5_REV</constant>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_8_8_8_8</constant>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_8_8_8_8_REV</constant>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_10_10_10_2</constant>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_2_10_10_10_REV</constant>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_24_8</constant>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: 2 sup N - 1: -->
<mml:mrow>
</mml:mrow>
</mml:math></inlineequation>
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: (2 sup N - 1) c: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_10F_11F_11F_REV</constant>
</entry>
- <entry align="center">
+ <entry>
--
</entry>
- <entry align="left">
+ <entry>
Special
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_UNSIGNED_INT_5_9_9_9_REV</constant>
</entry>
- <entry align="center">
+ <entry>
--
</entry>
- <entry align="left">
+ <entry>
Special
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_FLOAT_32_UNSIGNED_INT_24_8_REV</constant>
</entry>
- <entry align="center">
+ <entry>
none
</entry>
- <entry align="center">
+ <entry>
<inlineequation><mml:math><mml:mi mathvariant="italic">c</mml:mi></mml:math></inlineequation> (Depth Only)
</entry>
</row>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glSampleCoverage</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<para>
Specifies the comparison operator used when <constant>GL_TEXTURE_COMPARE_MODE</constant> is
set to <constant>GL_COMPARE_REF_TO_TEXTURE</constant>. Permissible values are:
- <informaltable frame="topbot">
+ <informaltable>
<tgroup cols="2" align="left">
<colspec/>
<colspec/>
<thead>
<row>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Texture Comparison Function
- </emphasis></entry>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Computed result
- </emphasis></entry>
+ <entry>
+ <emphasis role="bold"> Texture Comparison Function </emphasis>
+ </entry>
+ <entry>
+ <emphasis role="bold"> Computed result </emphasis>
+ </entry>
</row>
</thead>
<tbody>
<row>
- <entry align="left">
+ <entry>
<constant>GL_LEQUAL</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_GEQUAL</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_LESS</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_GREATER</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_EQUAL</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_NOTEQUAL</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_ALWAYS</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation>
<mml:math>
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_NEVER</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation>
<mml:math>
<mml:mrow>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glScissor</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glStencilFunc</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glStencilMask</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glStencilOp</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
is non-zero, it must be the name of an existing buffer object. <parameter>target</parameter> must be <constant>GL_TEXTURE_BUFFER</constant>.
<parameter>internalformat</parameter> specifies the storage format, and must be one of the following sized internal formats:
</para>
- <informaltable frame="topbot">
- <tgroup cols="8" align="left">
- <colspec colnum="1" colname="col1" colwidth="1*"/>
- <colspec colnum="2" colname="col2" colwidth="2*"/>
- <colspec colnum="3" colname="col3" colwidth="1.5*"/>
- <colspec colnum="4" colname="col4" colwidth="1*"/>
- <colspec colnum="5" colname="col5" colwidth="1*"/>
- <colspec colnum="6" colname="col6" colwidth="2*"/>
- <colspec colnum="7" colname="col7" colwidth="1.5*"/>
- <colspec colnum="8" colname="col8" colwidth="1*"/>
- <thead>
- <row>
- <entry morerows="1" rowsep="1" align="center"></entry>
- <entry morerows="1" rowsep="1" align="center"></entry>
- <entry morerows="1" rowsep="1" align="center"></entry>
- <entry morerows="1" rowsep="1" align="center"></entry>
- <entry namest="col5" nameend="col8" rowsep="1" align="left"><emphasis role="bold">
- Component
- </emphasis></entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry align="left"><emphasis role="bold">Sized Internal Format</emphasis></entry>
- <entry align="left"><emphasis role="bold">Base Type</emphasis></entry>
- <entry align="left"><emphasis role="bold">Components</emphasis></entry>
- <entry align="left"><emphasis role="bold">Norm</emphasis></entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- <entry align="center">2</entry>
- <entry align="center">3</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_R8</constant></entry>
- <entry align="left">ubyte</entry>
- <entry align="left">1</entry>
- <entry align="left">YES</entry>
- <entry align="center">R</entry>
- <entry align="center">0</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_R16</constant></entry>
- <entry align="left">ushort</entry>
- <entry align="left">1</entry>
- <entry align="left">YES</entry>
- <entry align="center">R</entry>
- <entry align="center">0</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_R16F</constant></entry>
- <entry align="left">half</entry>
- <entry align="left">1</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">0</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_R32F</constant></entry>
- <entry align="left">float</entry>
- <entry align="left">1</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">0</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_R8I</constant></entry>
- <entry align="left">byte</entry>
- <entry align="left">1</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">0</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_R16I</constant></entry>
- <entry align="left">short</entry>
- <entry align="left">1</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">0</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_R32I</constant></entry>
- <entry align="left">int</entry>
- <entry align="left">1</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">0</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_R8UI</constant></entry>
- <entry align="left">ubyte</entry>
- <entry align="left">1</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">0</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_R16UI</constant></entry>
- <entry align="left">ushort</entry>
- <entry align="left">1</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">0</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_R32UI</constant></entry>
- <entry align="left">uint</entry>
- <entry align="left">1</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">0</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RG8</constant></entry>
- <entry align="left">ubyte</entry>
- <entry align="left">2</entry>
- <entry align="left">YES</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RG16</constant></entry>
- <entry align="left">ushort</entry>
- <entry align="left">2</entry>
- <entry align="left">YES</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RG16F</constant></entry>
- <entry align="left">half</entry>
- <entry align="left">2</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RG32F</constant></entry>
- <entry align="left">float</entry>
- <entry align="left">2</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RG8I</constant></entry>
- <entry align="left">byte</entry>
- <entry align="left">2</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RG16I</constant></entry>
- <entry align="left">short</entry>
- <entry align="left">2</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RG32I</constant></entry>
- <entry align="left">int</entry>
- <entry align="left">2</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RG8UI</constant></entry>
- <entry align="left">ubyte</entry>
- <entry align="left">2</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RG16UI</constant></entry>
- <entry align="left">ushort</entry>
- <entry align="left">2</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RG32UI</constant></entry>
- <entry align="left">uint</entry>
- <entry align="left">2</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGB32F</constant></entry>
- <entry align="left">float</entry>
- <entry align="left">3</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGB32I</constant></entry>
- <entry align="left">int</entry>
- <entry align="left">3</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGB32UI</constant></entry>
- <entry align="left">uint</entry>
- <entry align="left">3</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGBA8</constant></entry>
- <entry align="left">uint</entry>
- <entry align="left">4</entry>
- <entry align="left">YES</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">A</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGBA16</constant></entry>
- <entry align="left">short</entry>
- <entry align="left">4</entry>
- <entry align="left">YES</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">A</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGBA16F</constant></entry>
- <entry align="left">half</entry>
- <entry align="left">4</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">A</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGBA32F</constant></entry>
- <entry align="left">float</entry>
- <entry align="left">4</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">A</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGBA8I</constant></entry>
- <entry align="left">byte</entry>
- <entry align="left">4</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">A</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGBA16I</constant></entry>
- <entry align="left">short</entry>
- <entry align="left">4</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">A</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGBA32I</constant></entry>
- <entry align="left">int</entry>
- <entry align="left">4</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">A</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGBA8UI</constant></entry>
- <entry align="left">ubyte</entry>
- <entry align="left">4</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">A</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGBA16UI</constant></entry>
- <entry align="left">ushort</entry>
- <entry align="left">4</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">A</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGBA32UI</constant></entry>
- <entry align="left">uint</entry>
- <entry align="left">4</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">A</entry>
- </row>
- </tbody>
- </tgroup>
- </informaltable>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="texboformattable.xml" />
<para>
When a buffer object is attached to a buffer texture, the buffer object's data store
is taken as the texture's texel array. The number of texels in the buffer texture's
an integer multiple of the value of <constant>GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT</constant>.
<parameter>internalformat</parameter> specifies the storage format, and must be one of the following sized internal formats:
</para>
- <informaltable frame="topbot">
- <tgroup cols="8" align="left">
- <colspec colnum="1" colname="col1" colwidth="1*"/>
- <colspec colnum="2" colname="col2" colwidth="2*"/>
- <colspec colnum="3" colname="col3" colwidth="1.5*"/>
- <colspec colnum="4" colname="col4" colwidth="1*"/>
- <colspec colnum="5" colname="col5" colwidth="1*"/>
- <colspec colnum="6" colname="col6" colwidth="2*"/>
- <colspec colnum="7" colname="col7" colwidth="1.5*"/>
- <colspec colnum="8" colname="col8" colwidth="1*"/>
- <thead>
- <row>
- <entry morerows="1" rowsep="1" align="center"></entry>
- <entry morerows="1" rowsep="1" align="center"></entry>
- <entry morerows="1" rowsep="1" align="center"></entry>
- <entry morerows="1" rowsep="1" align="center"></entry>
- <entry namest="col5" nameend="col8" rowsep="1" align="left"><emphasis role="bold">
- Component
- </emphasis></entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry align="left"><emphasis role="bold">Sized Internal Format</emphasis></entry>
- <entry align="left"><emphasis role="bold">Base Type</emphasis></entry>
- <entry align="left"><emphasis role="bold">Components</emphasis></entry>
- <entry align="left"><emphasis role="bold">Norm</emphasis></entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- <entry align="center">2</entry>
- <entry align="center">3</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_R8</constant></entry>
- <entry align="left">ubyte</entry>
- <entry align="left">1</entry>
- <entry align="left">YES</entry>
- <entry align="center">R</entry>
- <entry align="center">0</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_R16</constant></entry>
- <entry align="left">ushort</entry>
- <entry align="left">1</entry>
- <entry align="left">YES</entry>
- <entry align="center">R</entry>
- <entry align="center">0</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_R16F</constant></entry>
- <entry align="left">half</entry>
- <entry align="left">1</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">0</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_R32F</constant></entry>
- <entry align="left">float</entry>
- <entry align="left">1</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">0</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_R8I</constant></entry>
- <entry align="left">byte</entry>
- <entry align="left">1</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">0</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_R16I</constant></entry>
- <entry align="left">short</entry>
- <entry align="left">1</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">0</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_R32I</constant></entry>
- <entry align="left">int</entry>
- <entry align="left">1</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">0</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_R8UI</constant></entry>
- <entry align="left">ubyte</entry>
- <entry align="left">1</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">0</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_R16UI</constant></entry>
- <entry align="left">ushort</entry>
- <entry align="left">1</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">0</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_R32UI</constant></entry>
- <entry align="left">uint</entry>
- <entry align="left">1</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">0</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RG8</constant></entry>
- <entry align="left">ubyte</entry>
- <entry align="left">2</entry>
- <entry align="left">YES</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RG16</constant></entry>
- <entry align="left">ushort</entry>
- <entry align="left">2</entry>
- <entry align="left">YES</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RG16F</constant></entry>
- <entry align="left">half</entry>
- <entry align="left">2</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RG32F</constant></entry>
- <entry align="left">float</entry>
- <entry align="left">2</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RG8I</constant></entry>
- <entry align="left">byte</entry>
- <entry align="left">2</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RG16I</constant></entry>
- <entry align="left">short</entry>
- <entry align="left">2</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RG32I</constant></entry>
- <entry align="left">int</entry>
- <entry align="left">2</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RG8UI</constant></entry>
- <entry align="left">ubyte</entry>
- <entry align="left">2</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RG16UI</constant></entry>
- <entry align="left">ushort</entry>
- <entry align="left">2</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RG32UI</constant></entry>
- <entry align="left">uint</entry>
- <entry align="left">2</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">0</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGB32F</constant></entry>
- <entry align="left">float</entry>
- <entry align="left">3</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGB32I</constant></entry>
- <entry align="left">int</entry>
- <entry align="left">3</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGB32UI</constant></entry>
- <entry align="left">uint</entry>
- <entry align="left">3</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">1</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGBA8</constant></entry>
- <entry align="left">uint</entry>
- <entry align="left">4</entry>
- <entry align="left">YES</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">A</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGBA16</constant></entry>
- <entry align="left">short</entry>
- <entry align="left">4</entry>
- <entry align="left">YES</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">A</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGBA16F</constant></entry>
- <entry align="left">half</entry>
- <entry align="left">4</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">A</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGBA32F</constant></entry>
- <entry align="left">float</entry>
- <entry align="left">4</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">A</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGBA8I</constant></entry>
- <entry align="left">byte</entry>
- <entry align="left">4</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">A</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGBA16I</constant></entry>
- <entry align="left">short</entry>
- <entry align="left">4</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">A</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGBA32I</constant></entry>
- <entry align="left">int</entry>
- <entry align="left">4</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">A</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGBA8UI</constant></entry>
- <entry align="left">ubyte</entry>
- <entry align="left">4</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">A</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGBA16UI</constant></entry>
- <entry align="left">ushort</entry>
- <entry align="left">4</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">A</entry>
- </row>
- <row>
- <entry align="left"><constant>GL_RGBA32UI</constant></entry>
- <entry align="left">uint</entry>
- <entry align="left">4</entry>
- <entry align="left">NO</entry>
- <entry align="center">R</entry>
- <entry align="center">G</entry>
- <entry align="center">B</entry>
- <entry align="center">A</entry>
- </row>
- </tbody>
- </tgroup>
- </informaltable>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="texboformattable.xml" />
</refsect1>
<refsect1 id="errors"><title>Errors</title>
<para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
<function>glTexImage2DMultisample</function> establishes the data storage, format, dimensions and number of samples of a multisample texture's image.
</para>
<para>
- <parameter>target</parameter> must be <constant>GL_TEXTURE_2D_MULTISAMPLE</constant> or <constant>GL_PROXY_TEXTURE_2D_MULTISAMPLE</constant>.
- <parameter>width</parameter> and <parameter>height</parameter> are the dimensions in texels of the texture, and must be in the range zero
- to <constant>GL_MAX_TEXTURE_SIZE</constant> - 1. <parameter>samples</parameter> specifies the number of samples in the image and must be
- in the range zero to <constant>GL_MAX_SAMPLES</constant> - 1.
+ <parameter>target</parameter> must be
+ <constant>GL_TEXTURE_2D_MULTISAMPLE</constant> or
+ <constant>GL_PROXY_TEXTURE_2D_MULTISAMPLE</constant>.
+ <parameter>width</parameter> and <parameter>height</parameter>
+ are the dimensions in texels of the texture, and must be in the
+ range zero to the value of
+ <constant>GL_MAX_TEXTURE_SIZE</constant> minus one.
+ <parameter>samples</parameter> specifies the number of samples
+ in the image and must be in the range zero to the value of
+ <constant>GL_MAX_SAMPLES</constant> minus one.
</para>
<para>
<parameter>internalformat</parameter> must be a color-renderable, depth-renderable, or stencil-renderable format.
<function>glTexImage3DMultisample</function> establishes the data storage, format, dimensions and number of samples of a multisample texture's image.
</para>
<para>
- <parameter>target</parameter> must be <constant>GL_TEXTURE_2D_MULTISAMPLE_ARRAY</constant> or <constant>GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY</constant>.
- <parameter>width</parameter> and <parameter>height</parameter>are the dimensions in texels of the texture, and must
- be in the range zero to <constant>GL_MAX_TEXTURE_SIZE</constant> - 1. <parameter>depth</parameter> is the number of array slices in the array texture's image.
- <parameter>samples</parameter> specifies the number of samples in the image and must be in the range zero to <constant>GL_MAX_SAMPLES</constant> - 1.
+ <parameter>target</parameter> must be
+ <constant>GL_TEXTURE_2D_MULTISAMPLE_ARRAY</constant> or
+ <constant>GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY</constant>.
+ <parameter>width</parameter> and
+ <parameter>height</parameter>are the dimensions in texels of the
+ texture, and must be in the range zero to the value of
+ <constant>GL_MAX_TEXTURE_SIZE</constant> minus one.
+ <parameter>depth</parameter> is the number of array slices in
+ the array texture's image. <parameter>samples</parameter>
+ specifies the number of samples in the image and must be in the
+ range zero to the value of <constant>GL_MAX_SAMPLES</constant>
+ minus one.
</para>
<para>
<parameter>internalformat</parameter> must be a color-renderable, depth-renderable, or stencil-renderable format.
<para>
Specifies the comparison operator used when <constant>GL_TEXTURE_COMPARE_MODE</constant> is
set to <constant>GL_COMPARE_REF_TO_TEXTURE</constant>. Permissible values are:
- <informaltable frame="topbot">
+ <informaltable>
<tgroup cols="2" align="left">
<colspec/>
<colspec/>
<thead>
<row>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Texture Comparison Function
- </emphasis></entry>
- <entry rowsep="1" align="left"><emphasis role="bold">
- Computed result
- </emphasis></entry>
+ <entry>
+ <emphasis role="bold"> Texture Comparison Function </emphasis>
+ </entry>
+ <entry>
+ <emphasis role="bold"> Computed result </emphasis>
+ </entry>
</row>
</thead>
<tbody>
<row>
- <entry align="left">
+ <entry>
<constant>GL_LEQUAL</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_GEQUAL</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_LESS</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_GREATER</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_EQUAL</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_NOTEQUAL</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation><mml:math>
<!-- eqn: result = left { cpile {1.0 above 0.0} lpile {r <= {D sub t} above r > {D sub t}}: -->
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_ALWAYS</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation>
<mml:math>
<mml:mrow>
</entry>
</row>
<row>
- <entry align="left">
+ <entry>
<constant>GL_NEVER</constant>
</entry>
- <entry align="left">
+ <entry>
<inlineequation>
<mml:math>
<mml:mrow>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glTexSubImage1D</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glTexSubImage2D</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glTexSubImage3D</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
with the target of the parent texture, given in <parameter>origtexture</parameter>
as specified in the following table:
</para>
- <informaltable frame="topbot">
+ <informaltable>
<tgroup cols="2" align="left">
<colspec colnum="1" colname="col1" colwidth="1*"/>
<colspec colnum="2" colname="col2" colwidth="2*"/>
<thead>
<row>
- <entry rowsep="1" align="center">Original Target</entry>
- <entry rowsep="1" align="center">Compatible New Targets</entry>
+ <entry>Original Target</entry>
+ <entry>Compatible New Targets</entry>
</row>
</thead>
<tbody>
<row>
- <entry align="left"><constant>GL_TEXTURE_1D</constant></entry>
- <entry align="left"><constant>GL_TEXTURE_1D</constant>, <constant>GL_TEXTURE_1D_ARRAY</constant></entry>
+ <entry><constant>GL_TEXTURE_1D</constant></entry>
+ <entry><constant>GL_TEXTURE_1D</constant>, <constant>GL_TEXTURE_1D_ARRAY</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_TEXTURE_2D</constant></entry>
- <entry align="left"><constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_2D_ARRAY</constant></entry>
+ <entry><constant>GL_TEXTURE_2D</constant></entry>
+ <entry><constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_2D_ARRAY</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_TEXTURE_3D</constant></entry>
- <entry align="left"><constant>GL_TEXTURE_3D</constant></entry>
+ <entry><constant>GL_TEXTURE_3D</constant></entry>
+ <entry><constant>GL_TEXTURE_3D</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_TEXTURE_CUBE_MAP</constant></entry>
- <entry align="left"><constant>GL_TEXTURE_CUBE_MAP</constant>, <constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_2D_ARRAY</constant>, <constant>GL_TEXTUER_CUBE_MAP_ARRAY</constant></entry>
+ <entry><constant>GL_TEXTURE_CUBE_MAP</constant></entry>
+ <entry><constant>GL_TEXTURE_CUBE_MAP</constant>, <constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_2D_ARRAY</constant>, <constant>GL_TEXTUER_CUBE_MAP_ARRAY</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_TEXTURE_RECTANGLE</constant></entry>
- <entry align="left"><constant>GL_TEXTURE_RECTANGLE</constant></entry>
+ <entry><constant>GL_TEXTURE_RECTANGLE</constant></entry>
+ <entry><constant>GL_TEXTURE_RECTANGLE</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_TEXTURE_BUFFER</constant></entry>
- <entry align="left"><emphasis>none</emphasis></entry>
+ <entry><constant>GL_TEXTURE_BUFFER</constant></entry>
+ <entry><emphasis>none</emphasis></entry>
</row>
<row>
- <entry align="left"><constant>GL_TEXTURE_1D_ARRAY</constant></entry>
- <entry align="left"><constant>GL_TEXTURE_1D</constant>, <constant>GL_TEXTURE_1D_ARRAY</constant></entry>
+ <entry><constant>GL_TEXTURE_1D_ARRAY</constant></entry>
+ <entry><constant>GL_TEXTURE_1D</constant>, <constant>GL_TEXTURE_1D_ARRAY</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_TEXTURE_2D_ARRAY</constant></entry>
- <entry align="left"><constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_2D_ARRAY</constant></entry>
+ <entry><constant>GL_TEXTURE_2D_ARRAY</constant></entry>
+ <entry><constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_2D_ARRAY</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_TEXTURE_CUBE_MAP_ARRAY</constant></entry>
- <entry align="left"><constant>GL_TEXTURE_CUBE_MAP</constant>, <constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_2D_ARRAY</constant>, <constant>GL_TEXTUER_CUBE_MAP_ARRAY</constant></entry>
+ <entry><constant>GL_TEXTURE_CUBE_MAP_ARRAY</constant></entry>
+ <entry><constant>GL_TEXTURE_CUBE_MAP</constant>, <constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_2D_ARRAY</constant>, <constant>GL_TEXTUER_CUBE_MAP_ARRAY</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_TEXTURE_2D_MULTISAMPLE</constant></entry>
- <entry align="left"><constant>GL_TEXTURE_2D_MULTISAMPLE</constant>, <constant>GL_TEXTURE_MULTISAMPLE_ARRAY</constant></entry>
+ <entry><constant>GL_TEXTURE_2D_MULTISAMPLE</constant></entry>
+ <entry><constant>GL_TEXTURE_2D_MULTISAMPLE</constant>, <constant>GL_TEXTURE_MULTISAMPLE_ARRAY</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_TEXTURE_2D_MULTISAMPLE_ARRAY</constant></entry>
- <entry align="left"><constant>GL_TEXTURE_2D_MULTISAMPLE</constant>, <constant>GL_TEXTURE_MULTISAMPLE_ARRAY</constant></entry>
+ <entry><constant>GL_TEXTURE_2D_MULTISAMPLE_ARRAY</constant></entry>
+ <entry><constant>GL_TEXTURE_2D_MULTISAMPLE</constant>, <constant>GL_TEXTURE_MULTISAMPLE_ARRAY</constant></entry>
</row>
</tbody>
</tgroup>
<parameter>internalformat</parameter> must be compatible with the internal format
of the parent texture as specified in the following table:
</para>
- <informaltable frame="topbot">
+ <informaltable>
<tgroup cols="2" align="left">
<colspec colnum="1" colname="col1" colwidth="1*"/>
<colspec colnum="2" colname="col2" colwidth="2*"/>
<thead>
<row>
- <entry align="center">Class</entry>
- <entry align="center">Internal Formats</entry>
+ <entry>Class</entry>
+ <entry>Internal Formats</entry>
</row>
</thead>
<tbody>
<row>
- <entry align="left">128-bit</entry>
- <entry align="left"><constant>GL_RGBA32F</constant>, <constant>GL_RGBA32UI</constant>, <constant>GL_RGBA32I</constant></entry>
+ <entry>128-bit</entry>
+ <entry><constant>GL_RGBA32F</constant>, <constant>GL_RGBA32UI</constant>, <constant>GL_RGBA32I</constant></entry>
</row>
<row>
- <entry align="left">96-bit</entry>
- <entry align="left"><constant>GL_RGB32F</constant>, <constant>GL_RGB32UI</constant>, <constant>GL_RGB32I</constant></entry>
+ <entry>96-bit</entry>
+ <entry><constant>GL_RGB32F</constant>, <constant>GL_RGB32UI</constant>, <constant>GL_RGB32I</constant></entry>
</row>
<row>
- <entry align="left">64-bit</entry>
- <entry align="left"><constant>GL_RGBA16F</constant>, <constant>GL_RG32F</constant>, <constant>GL_RGBA16UI</constant>,
+ <entry>64-bit</entry>
+ <entry><constant>GL_RGBA16F</constant>, <constant>GL_RG32F</constant>, <constant>GL_RGBA16UI</constant>,
<constant>GL_RG32UI</constant>, <constant>GL_RGBA16I</constant>, <constant>GL_RG32I</constant>, <constant>GL_RGBA16</constant>, <constant>GL_RGBA16_SNORM</constant></entry>
</row>
<row>
- <entry align="left">48-bit</entry>
- <entry align="left"><constant>GL_RGB16</constant>, <constant>GL_RGB16_SNORM</constant>, <constant>GL_RGB16F</constant>, <constant>GL_RGB16UI</constant>, <constant>GL_RGB16I</constant></entry>
+ <entry>48-bit</entry>
+ <entry><constant>GL_RGB16</constant>, <constant>GL_RGB16_SNORM</constant>, <constant>GL_RGB16F</constant>, <constant>GL_RGB16UI</constant>, <constant>GL_RGB16I</constant></entry>
</row>
<row>
- <entry align="left">32-bit</entry>
- <entry align="left"><constant>GL_RG16F</constant>, <constant>GL_R11F_G11F_B10F</constant>, <constant>GL_R32F</constant>, <constant>GL_RGB10_A2UI</constant>,
+ <entry>32-bit</entry>
+ <entry><constant>GL_RG16F</constant>, <constant>GL_R11F_G11F_B10F</constant>, <constant>GL_R32F</constant>, <constant>GL_RGB10_A2UI</constant>,
<constant>GL_RGBA8UI</constant>, <constant>GL_RG16UI</constant>, <constant>GL_R32UI</constant>, <constant>GL_RGBA8I</constant>,
<constant>GL_RG16I</constant>, <constant>GL_R32I</constant>, <constant>GL_RGB10_A2</constant>, <constant>GL_RGBA8</constant>,
<constant>GL_RG16</constant>, <constant>GL_RGBA8_SNORM</constant>, <constant>GL_RG16_SNORM</constant>, <constant>GL_SRGB8_ALPHA8</constant>,
<constant>GL_RGB9_E5</constant></entry>
</row>
<row>
- <entry align="left">24-bit</entry>
- <entry align="left"><constant>GL_RGB8</constant>, <constant>GL_RGB8_SNORM</constant>, <constant>GL_SRGB8</constant>,
+ <entry>24-bit</entry>
+ <entry><constant>GL_RGB8</constant>, <constant>GL_RGB8_SNORM</constant>, <constant>GL_SRGB8</constant>,
<constant>GL_RGB8UI</constant>, <constant>GL_RGB8I</constant></entry>
</row>
<row>
- <entry align="left">16-bit</entry>
- <entry align="left"><constant>GL_R16F</constant>, <constant>GL_RG8UI</constant>, <constant>GL_R16UI</constant>, <constant>GL_RG8I</constant>,
+ <entry>16-bit</entry>
+ <entry><constant>GL_R16F</constant>, <constant>GL_RG8UI</constant>, <constant>GL_R16UI</constant>, <constant>GL_RG8I</constant>,
<constant>GL_R16I</constant>, <constant>GL_RG8</constant>, <constant>GL_R16</constant>, <constant>GL_RG8_SNORM</constant>, <constant>GL_R16_SNORM</constant></entry>
</row>
<row>
- <entry align="left">8-bit</entry>
- <entry align="left"><constant>GL_R8UI</constant>, <constant>GL_R8I</constant>, <constant>GL_R8</constant>, <constant>GL_R8_SNORM</constant></entry>
+ <entry>8-bit</entry>
+ <entry><constant>GL_R8UI</constant>, <constant>GL_R8I</constant>, <constant>GL_R8</constant>, <constant>GL_R8_SNORM</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_RGTC1_RED</constant></entry>
- <entry align="left"><constant>GL_COMPRESSED_RED_RGTC1</constant>, <constant>GL_COMPRESSED_SIGNED_RED_RGTC1</constant></entry>
+ <entry><constant>GL_RGTC1_RED</constant></entry>
+ <entry><constant>GL_COMPRESSED_RED_RGTC1</constant>, <constant>GL_COMPRESSED_SIGNED_RED_RGTC1</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_RGTC2_RG</constant></entry>
- <entry align="left"><constant>GL_COMPRESSED_RG_RGTC2</constant>, <constant>GL_COMPRESSED_SIGNED_RG_RGTC2</constant></entry>
+ <entry><constant>GL_RGTC2_RG</constant></entry>
+ <entry><constant>GL_COMPRESSED_RG_RGTC2</constant>, <constant>GL_COMPRESSED_SIGNED_RG_RGTC2</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_BPTC_UNORM</constant></entry>
- <entry align="left"><constant>GL_COMPRESSED_RGBA_BPTC_UNORM</constant>, <constant>GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM</constant></entry>
+ <entry><constant>GL_BPTC_UNORM</constant></entry>
+ <entry><constant>GL_COMPRESSED_RGBA_BPTC_UNORM</constant>, <constant>GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM</constant></entry>
</row>
<row>
- <entry align="left"><constant>GL_BPTC_FLOAT</constant></entry>
- <entry align="left"><constant>GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT</constant>, <constant>GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT</constant></entry>
+ <entry><constant>GL_BPTC_FLOAT</constant></entry>
+ <entry><constant>GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT</constant>, <constant>GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT</constant></entry>
</row>
</tbody>
</tgroup>
must be equal to 6. If the new texture's target is <constant>GL_TEXTURE_CUBE_MAP_ARRAY</constant>,
then <parameter>numlayers</parameter> counts layer-faces rather than layers, and the clamped
<parameter>numlayers</parameter> must be a multiple of 6. If the new texture's target is <constant>GL_TEXTURE_CUBE_MAP</constant> or
- <constant>GL_TEXTURE_CUBE_MAP_ARRAY</constant>, the width and height of the original texture's
+ <constant>GL_TEXTURE_CUBE_MAP_ARRAY</constant>, the width and height of the original texture's
levels must be equal.
</para>
<para>
<constant>GL_TEXTURE_CUBE_MAP_ARRAY</constant> with 6 layer-faces.
</para>
<para>
- If <parameter>target</parameter> is <constant>GL_TEXTURE_1D</constant>, <constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_3D</constant>, <constant>GL_TEXTURE_RECTANGLE</constant>, or
+ If <parameter>target</parameter> is <constant>GL_TEXTURE_1D</constant>, <constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_3D</constant>, <constant>GL_TEXTURE_RECTANGLE</constant>, or
<constant>GL_TEXTURE_2D_MULTISAMPLE</constant>, <parameter>numlayers</parameter> must equal 1.
</para>
<para>
- The dimensions of the original texture must be less than or equal to the maximum
+ The dimensions of the original texture must be less than or equal to the maximum
supported dimensions of the new target. For example, if the original texture has a <constant>GL_TEXTURE_2D_ARRAY</constant>
target and its width is greater than <constant>GL_MAX_CUBE_MAP_TEXTURE_SIZE</constant>, an error
will be generated if <function>glTextureView</function> is called to create a <constant>GL_TEXTURE_CUBE_MAP</constant>
view.
</para>
<para>
- Texture commands that take a <parameter>level</parameter> or <parameter>layer</parameter> parameter, such as
- <citerefentry><refentrytitle>glTexSubImage2D</refentrytitle></citerefentry>, interpret that parameter to be relative to the view of the
- texture. i.e. the mipmap level of the data store that would be updated via
- <citerefentry><refentrytitle>TexSubImage2D</refentrytitle></citerefentry> would be the sum of <parameter>level</parameter> and the value of
+ Texture commands that take a <parameter>level</parameter> or <parameter>layer</parameter> parameter, such as
+ <citerefentry><refentrytitle>glTexSubImage2D</refentrytitle></citerefentry>, interpret that parameter to be relative to the view of the
+ texture. i.e. the mipmap level of the data store that would be updated via
+ <citerefentry><refentrytitle>TexSubImage2D</refentrytitle></citerefentry> would be the sum of <parameter>level</parameter> and the value of
<constant>GL_TEXTURE_VIEW_MIN_LEVEL</constant>.
</para>
</refsect1>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
<para>If <parameter>program</parameter> is zero, then the current rendering
state refers to an <emphasis>invalid</emphasis> program object and the
results of shader execution are undefined. However, this is not an error.</para>
-
+
<para>If <parameter>program</parameter> does not
contain shader objects of type <constant>GL_FRAGMENT_SHADER</constant>, an
executable will be installed on the vertex, and possibly geometry processors,
<para><constant>GL_INVALID_OPERATION</constant> is generated if
<parameter>program</parameter> could not be made part of current
state.</para>
-
+
<para><constant>GL_INVALID_OPERATION</constant> is generated if
transform feedback mode is active.</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>value</parameter></term>
+ <term><parameter>value</parameter></term>
<listitem>
<para>
For the packed commands, specifies the new packed value to
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
<code>GLint</code>, <code>GLfixed</code>, <code>GLfloat</code>, <code>GLhalf</code>, and
<code>GLdouble</code>, respectively; the values <constant>GL_UNSIGNED_BYTE</constant>,
<constant>GL_UNSIGNED_SHORT</constant>, and <constant>GL_UNSIGNED_INT</constant> indicate types
- <code>GLubyte</code>, <code>GLushort</code>, and <code>GLuint</code>,
+ <code>GLubyte</code>, <code>GLushort</code>, and <code>GLuint</code>,
respectively; the values <constant>GL_INT_2_10_10_10_REV</constant> and
<constant>GL_UNSIGNED_INT_2_10_10_10_REV</constant> indicating respectively four signed or
unsigned elements packed into a single <code>GLuint</code>; and the value
layout for floating-point vertex attributes, <function>glVertexAttribIFormat</function>
should be used to describe vertex attribute layout for integer vertex attribute
and <function>glVertexAttribLFormat</function> should be used to describe the layout
- for 64-bit vertex attributes. Data for an array specified by
+ for 64-bit vertex attributes. Data for an array specified by
<function>glVertexAttribIFormat</function> will always be left as integer values;
such data are referred to as pure integers.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
- This material may be distributed subject to the terms and conditions set forth in
+ Copyright <trademark class="copyright"></trademark> 2013 Khronos Group.
+ This material may be distributed subject to the terms and conditions set forth in
the Open Publication License, v 1.0, 8 June 1999.
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
</para>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
+ <copyright>
+ <year>2010-2013</year>
+ <holder>Khronos Group</holder>
+ </copyright>
</refentryinfo>
<refmeta>
<refentrytitle>glViewport</refentrytitle>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
- Copyright <trademark class="copyright"></trademark> 1991-2006
- Silicon Graphics, Inc. This document is licensed under the SGI
- Free Software B License. For details, see
+ Copyright <trademark class="copyright"></trademark> 1991-2006 Silicon Graphics, Inc.
+ Copyright <trademark class="copyright"></trademark> 2010-2013 Khronos Group.
+ This document is licensed under the SGI Free Software B License.
+ For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
/// </summary>
/// <param name="texture">
/// <para>
- /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
+ /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from zero to the value of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS minus one. The initial value is GL_TEXTURE0.
/// </para>
/// </param>
[Obsolete("Use strongly-typed overload instead")]
/// </summary>
/// <param name="texture">
/// <para>
- /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
+ /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from zero to the value of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS minus one. The initial value is GL_TEXTURE0.
/// </para>
/// </param>
[AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glActiveTexture")]
/// </summary>
/// <param name="texture">
/// <para>
- /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
+ /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from zero to the value of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS minus one. The initial value is GL_TEXTURE0.
/// </para>
/// </param>
[Obsolete("Use strongly-typed overload instead")]
/// </summary>
/// <param name="texture">
/// <para>
- /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
+ /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from zero to the value of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS minus one. The initial value is GL_TEXTURE0.
/// </para>
/// </param>
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glActiveTexture")]
/// </summary>
/// <param name="texture">
/// <para>
- /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
+ /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from zero to the value of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS minus one. The initial value is GL_TEXTURE0.
/// </para>
/// </param>
[Obsolete("Use strongly-typed overload instead")]
/// </summary>
/// <param name="texture">
/// <para>
- /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
+ /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from zero to the value of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS minus one. The initial value is GL_TEXTURE0.
/// </para>
/// </param>
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glActiveTexture")]
/// </summary>
/// <param name="texture">
/// <para>
- /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
+ /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from zero to the value of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS minus one. The initial value is GL_TEXTURE0.
/// </para>
/// </param>
[AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glActiveTextureARB")]
/// </summary>
/// <param name="texture">
/// <para>
- /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
+ /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from zero to the value of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS minus one. The initial value is GL_TEXTURE0.
/// </para>
/// </param>
[AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glActiveTexture")]
[CLSCompliant(false)]
public static unsafe void GetInteger(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int32* data) { throw new NotImplementedException(); }
- /// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]</summary>
+ /// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]
+ /// Retrieve information about implementation-dependent support for internal formats
+ /// </summary>
+ /// <param name="target">
+ /// <para>
+ /// Indicates the usage of the internal format. target must be GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_BUFFER, GL_RENDERBUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
+ /// </para>
+ /// </param>
+ /// <param name="internalformat">
+ /// <para>
+ /// Specifies the internal format about which to retrieve information.
+ /// </para>
+ /// </param>
+ /// <param name="pname">
+ /// <para>
+ /// Specifies the type of information to query.
+ /// </para>
+ /// </param>
+ /// <param name="bufSize">
+ /// <para>
+ /// Specifies the maximum number of basic machine units that may be written to params by the function.
+ /// </para>
+ /// </param>
+ /// <param name="params">
+ /// <para>
+ /// Specifies the address of a variable into which to write the retrieved information.
+ /// </para>
+ /// </param>
[AutoGenerated(Category = "ARB_internalformat_query2|VERSION_4_3", Version = "4.3", EntryPoint = "glGetInternalformati64v")]
[CLSCompliant(false)]
public static void GetInternalformat(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64[] @params) { throw new NotImplementedException(); }
- /// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]</summary>
+ /// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]
+ /// Retrieve information about implementation-dependent support for internal formats
+ /// </summary>
+ /// <param name="target">
+ /// <para>
+ /// Indicates the usage of the internal format. target must be GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_BUFFER, GL_RENDERBUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
+ /// </para>
+ /// </param>
+ /// <param name="internalformat">
+ /// <para>
+ /// Specifies the internal format about which to retrieve information.
+ /// </para>
+ /// </param>
+ /// <param name="pname">
+ /// <para>
+ /// Specifies the type of information to query.
+ /// </para>
+ /// </param>
+ /// <param name="bufSize">
+ /// <para>
+ /// Specifies the maximum number of basic machine units that may be written to params by the function.
+ /// </para>
+ /// </param>
+ /// <param name="params">
+ /// <para>
+ /// Specifies the address of a variable into which to write the retrieved information.
+ /// </para>
+ /// </param>
[AutoGenerated(Category = "ARB_internalformat_query2|VERSION_4_3", Version = "4.3", EntryPoint = "glGetInternalformati64v")]
[CLSCompliant(false)]
public static void GetInternalformat(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] out Int64 @params) { throw new NotImplementedException(); }
- /// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]</summary>
+ /// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]
+ /// Retrieve information about implementation-dependent support for internal formats
+ /// </summary>
+ /// <param name="target">
+ /// <para>
+ /// Indicates the usage of the internal format. target must be GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_BUFFER, GL_RENDERBUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
+ /// </para>
+ /// </param>
+ /// <param name="internalformat">
+ /// <para>
+ /// Specifies the internal format about which to retrieve information.
+ /// </para>
+ /// </param>
+ /// <param name="pname">
+ /// <para>
+ /// Specifies the type of information to query.
+ /// </para>
+ /// </param>
+ /// <param name="bufSize">
+ /// <para>
+ /// Specifies the maximum number of basic machine units that may be written to params by the function.
+ /// </para>
+ /// </param>
+ /// <param name="params">
+ /// <para>
+ /// Specifies the address of a variable into which to write the retrieved information.
+ /// </para>
+ /// </param>
[AutoGenerated(Category = "ARB_internalformat_query2|VERSION_4_3", Version = "4.3", EntryPoint = "glGetInternalformati64v")]
[CLSCompliant(false)]
public static unsafe void GetInternalformat(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64* @params) { throw new NotImplementedException(); }
/// </summary>
/// <param name="texture">
/// <para>
- /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
+ /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from zero to the value of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS minus one. The initial value is GL_TEXTURE0.
/// </para>
/// </param>
[AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glActiveTexture")]
[CLSCompliant(false)]
public static unsafe void GetInteger(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Int32* data) { throw new NotImplementedException(); }
- /// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]</summary>
+ /// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]
+ /// Retrieve information about implementation-dependent support for internal formats
+ /// </summary>
+ /// <param name="target">
+ /// <para>
+ /// Indicates the usage of the internal format. target must be GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_BUFFER, GL_RENDERBUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
+ /// </para>
+ /// </param>
+ /// <param name="internalformat">
+ /// <para>
+ /// Specifies the internal format about which to retrieve information.
+ /// </para>
+ /// </param>
+ /// <param name="pname">
+ /// <para>
+ /// Specifies the type of information to query.
+ /// </para>
+ /// </param>
+ /// <param name="bufSize">
+ /// <para>
+ /// Specifies the maximum number of basic machine units that may be written to params by the function.
+ /// </para>
+ /// </param>
+ /// <param name="params">
+ /// <para>
+ /// Specifies the address of a variable into which to write the retrieved information.
+ /// </para>
+ /// </param>
[AutoGenerated(Category = "ARB_internalformat_query2|VERSION_4_3", Version = "4.3", EntryPoint = "glGetInternalformati64v")]
[CLSCompliant(false)]
public static void GetInternalformat(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64[] @params) { throw new NotImplementedException(); }
- /// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]</summary>
+ /// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]
+ /// Retrieve information about implementation-dependent support for internal formats
+ /// </summary>
+ /// <param name="target">
+ /// <para>
+ /// Indicates the usage of the internal format. target must be GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_BUFFER, GL_RENDERBUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
+ /// </para>
+ /// </param>
+ /// <param name="internalformat">
+ /// <para>
+ /// Specifies the internal format about which to retrieve information.
+ /// </para>
+ /// </param>
+ /// <param name="pname">
+ /// <para>
+ /// Specifies the type of information to query.
+ /// </para>
+ /// </param>
+ /// <param name="bufSize">
+ /// <para>
+ /// Specifies the maximum number of basic machine units that may be written to params by the function.
+ /// </para>
+ /// </param>
+ /// <param name="params">
+ /// <para>
+ /// Specifies the address of a variable into which to write the retrieved information.
+ /// </para>
+ /// </param>
[AutoGenerated(Category = "ARB_internalformat_query2|VERSION_4_3", Version = "4.3", EntryPoint = "glGetInternalformati64v")]
[CLSCompliant(false)]
public static void GetInternalformat(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] out Int64 @params) { throw new NotImplementedException(); }
- /// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]</summary>
+ /// <summary>[requires: v4.3 and ARB_internalformat_query2|VERSION_4_3]
+ /// Retrieve information about implementation-dependent support for internal formats
+ /// </summary>
+ /// <param name="target">
+ /// <para>
+ /// Indicates the usage of the internal format. target must be GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_BUFFER, GL_RENDERBUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
+ /// </para>
+ /// </param>
+ /// <param name="internalformat">
+ /// <para>
+ /// Specifies the internal format about which to retrieve information.
+ /// </para>
+ /// </param>
+ /// <param name="pname">
+ /// <para>
+ /// Specifies the type of information to query.
+ /// </para>
+ /// </param>
+ /// <param name="bufSize">
+ /// <para>
+ /// Specifies the maximum number of basic machine units that may be written to params by the function.
+ /// </para>
+ /// </param>
+ /// <param name="params">
+ /// <para>
+ /// Specifies the address of a variable into which to write the retrieved information.
+ /// </para>
+ /// </param>
[AutoGenerated(Category = "ARB_internalformat_query2|VERSION_4_3", Version = "4.3", EntryPoint = "glGetInternalformati64v")]
[CLSCompliant(false)]
public static unsafe void GetInternalformat(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64* @params) { throw new NotImplementedException(); }