diff --git a/es1/glBlendFunc.xhtml b/es1/glBlendFunc.xhtml index 267da76d..0510583e 100644 --- a/es1/glBlendFunc.xhtml +++ b/es1/glBlendFunc.xhtml @@ -102,43 +102,43 @@ fA ), represent either source or destination factors. All scale - factors have range [0, 1].

Parameter + factors have range [0, 1].

Parameter ( fR, fG, fB, fA ) -
+
GL_ZERO - + ( 0, 0, 0, 0 ) -
+
GL_ONE - + ( 1, 1, 1, 1 ) -
+
GL_SRC_COLOR - + ( Rs/kR, Gs/kG, Bs/kB, As/kA ) -
+
GL_ONE_MINUS_SRC_COLOR - + ( 1, @@ -153,18 +153,18 @@ Bs/kB, As/kA ) -
+
GL_DST_COLOR - + ( Rd/kR, Gd/kG, Bd/kB, Ad/kA ) -
+
GL_ONE_MINUS_DST_COLOR - + ( 1, @@ -179,18 +179,18 @@ Bd/kB, Ad/kA ) -
+
GL_SRC_ALPHA - + ( As/kA, As/kA, As/kA, As/kA ) -
+
GL_ONE_MINUS_SRC_ALPHA - + ( 1, @@ -205,18 +205,18 @@ As/kA, As/kA ) -
+
GL_DST_ALPHA - + ( Ad/kA, Ad/kA, Ad/kA, Ad/kA ) -
+
GL_ONE_MINUS_DST_ALPHA - + ( 1, @@ -231,9 +231,9 @@ Ad/kA, Ad/kA ) -
+
GL_SRC_ALPHA_SATURATE - + ( i, i, diff --git a/es1/glIsEnabled.xhtml b/es1/glIsEnabled.xhtml index 15ef9e69..52ab3765 100644 --- a/es1/glIsEnabled.xhtml +++ b/es1/glIsEnabled.xhtml @@ -8,75 +8,75 @@ capability and returns GL_FALSE otherwise.

The following capabilities are accepted for cap: -

Constant See function:
   
GL_ALPHA_TEST  +

Constant See function:
   
GL_ALPHA_TEST  glAlphaFunc -
GL_BLEND  +
GL_BLEND  glBlendFunc, glLogicOp -
+
GL_CLIP_PLANEi -   +   glClipPlane -
GL_COLOR_ARRAY  +
GL_COLOR_ARRAY  glColorPointer -
GL_COLOR_LOGIC_OP  +
GL_COLOR_LOGIC_OP  glLogicOp -
GL_COLOR_MATERIAL  +
GL_COLOR_MATERIAL  glMaterial -
GL_CULL_FACE  +
GL_CULL_FACE  glCullFace -
GL_DEPTH_TEST  +
GL_DEPTH_TEST  glDepthFunc, glDepthRange -
GL_DITHER  +
GL_DITHER  glEnable -
GL_FOG  +
GL_FOG  glFog -
+
GL_LIGHTi -   +   glLight, glLightModel -
GL_LIGHTING  +
GL_LIGHTING  glLight, glLightModel, glMaterial -
GL_LINE_SMOOTH  +
GL_LINE_SMOOTH  glLineWidth -
GL_MULTISAMPLE  +
GL_MULTISAMPLE  glEnable -
GL_NORMAL_ARRAY  +
GL_NORMAL_ARRAY  glNormalPointer -
GL_NORMALIZE  +
GL_NORMALIZE  glNormal -
GL_POINT_SIZE_ARRAY_OES  +
GL_POINT_SIZE_ARRAY_OES  glEnableClientState -
GL_POINT_SMOOTH  +
GL_POINT_SMOOTH  glPointSize -
GL_POINT_SPRITE_OES  +
GL_POINT_SPRITE_OES  glTexEnv -
GL_POLYGON_OFFSET_FILL  +
GL_POLYGON_OFFSET_FILL  glPolygonOffset -
GL_RESCALE_NORMAL  +
GL_RESCALE_NORMAL  glNormal -
GL_SAMPLE_ALPHA_TO_COVERAGE  +
GL_SAMPLE_ALPHA_TO_COVERAGE  glSampleCoverage -
GL_SAMPLE_ALPHA_TO_ONE  +
GL_SAMPLE_ALPHA_TO_ONE  glSampleCoverage -
GL_SAMPLE_COVERAGE  +
GL_SAMPLE_COVERAGE  glSampleCoverage -
GL_SCISSOR_TEST  +
GL_SCISSOR_TEST  glScissor -
GL_STENCIL_TEST  +
GL_STENCIL_TEST  glStencilFunc, glStencilOp -
GL_TEXTURE_2D  +
GL_TEXTURE_2D  glTexImage2D -
GL_TEXTURE_COORD_ARRAY  +
GL_TEXTURE_COORD_ARRAY  glTexCoordPointer -
GL_VERTEX_ARRAY  +
GL_VERTEX_ARRAY  glVertexPointer

Notes

If an error is generated, diff --git a/es1/glLogicOp.xhtml b/es1/glLogicOp.xhtml index 53862770..9e419e78 100644 --- a/es1/glLogicOp.xhtml +++ b/es1/glLogicOp.xhtml @@ -27,51 +27,51 @@ glDisable with argument GL_COLOR_LOGIC_OP. Logical operation is initially disabled. -

OpcodeResulting Operation
GL_CLEAR0
GL_SET1
GL_COPYs
GL_COPY_INVERTED +

OpcodeResulting Operation
GL_CLEAR0
GL_SET1
GL_COPYs
GL_COPY_INVERTED ~s -
GL_NOOPd
GL_INVERT +
GL_NOOPd
GL_INVERT ~d -
GL_AND +
GL_AND s&d -
GL_NAND +
GL_NAND ~s&d -
GL_OR +
GL_OR s|d -
GL_NOR +
GL_NOR ~s|d -
GL_XOR +
GL_XOR s^d -
GL_EQUIV +
GL_EQUIV ~s^d -
GL_AND_REVERSE +
GL_AND_REVERSE s&~d -
GL_AND_INVERTED +
GL_AND_INVERTED ~s&d -
GL_OR_REVERSE +
GL_OR_REVERSE s|~d -
GL_OR_INVERTED +
GL_OR_INVERTED ~s|d diff --git a/es1/glShadeModel.xhtml b/es1/glShadeModel.xhtml index 1831b46d..57c8a32b 100644 --- a/es1/glShadeModel.xhtml +++ b/es1/glShadeModel.xhtml @@ -35,14 +35,14 @@ in the following table. This is the last vertex to specify the polygon.

-

+

Primitive Type of Polygon i - + Vertex -
+
Triangle strip - + @@ -51,9 +51,9 @@ 2 -
+
Triangle fan - + @@ -62,9 +62,9 @@ 2 -
+
Independent triangle - + diff --git a/es1/glTexEnv.xhtml b/es1/glTexEnv.xhtml index 38f97579..55fc4108 100644 --- a/es1/glTexEnv.xhtml +++ b/es1/glTexEnv.xhtml @@ -106,24 +106,24 @@ s are used by the texture functions described below.

-

+

Texture Base Internal Format - + C s - + A s -
+
GL_ALPHA - + (0, 0, 0) - + A t -
+
GL_LUMINANCE - + ( L t, @@ -132,11 +132,11 @@ L t ) - + 1 -
+
GL_LUMINANCE_ALPHA - + ( L t, @@ -145,12 +145,12 @@ L t ) - + A t -
+
GL_RGB - + ( R t, @@ -159,11 +159,11 @@ B t ) - + 1 -
+
GL_RGBA - + ( R t, @@ -172,7 +172,7 @@ B t ) - + A t

@@ -200,23 +200,23 @@ v indicates a value produced by the texture function.

-

+

Texture Base Internal Format - + Value - + GL_REPLACE Function - + GL_MODULATE Function - + GL_DECAL Function - + GL_BLEND Function - + GL_ADD Function -
+
GL_ALPHA - + @@ -226,7 +226,7 @@ = - + @@ -235,7 +235,7 @@ - + @@ -244,9 +244,9 @@ - + undefined - + @@ -255,7 +255,7 @@ - + @@ -264,8 +264,8 @@ -
- +
+ @@ -275,7 +275,7 @@ = - + @@ -284,7 +284,7 @@ - + @@ -299,8 +299,8 @@ - - + + @@ -319,7 +319,7 @@ - + @@ -334,9 +334,9 @@ -
+
GL_LUMINANCE - + @@ -346,7 +346,7 @@ = - + @@ -355,7 +355,7 @@ - + @@ -370,9 +370,9 @@ - + undefined - + @@ -401,7 +401,7 @@ - + @@ -416,9 +416,9 @@ -
+
(or 1) - + @@ -428,7 +428,7 @@ = - + @@ -437,7 +437,7 @@ - + @@ -446,8 +446,8 @@ - - + + @@ -456,7 +456,7 @@ - + @@ -465,9 +465,9 @@ -
+
GL_LUMINANCE_ALPHA - + @@ -477,7 +477,7 @@ = - + @@ -486,7 +486,7 @@ - + @@ -501,9 +501,9 @@ - + undefined - + @@ -532,7 +532,7 @@ - + @@ -547,9 +547,9 @@ -
+
(or 2) - + @@ -559,7 +559,7 @@ = - + @@ -568,7 +568,7 @@ - + @@ -583,8 +583,8 @@ - - + + @@ -599,7 +599,7 @@ - + @@ -614,9 +614,9 @@ -
+
GL_RGB - + @@ -626,7 +626,7 @@ = - + @@ -635,7 +635,7 @@ - + @@ -650,7 +650,7 @@ - + @@ -659,7 +659,7 @@ - + @@ -688,7 +688,7 @@ - + @@ -703,9 +703,9 @@ -
+
(or 3) - + @@ -715,7 +715,7 @@ = - + @@ -724,7 +724,7 @@ - + @@ -733,7 +733,7 @@ - + @@ -742,7 +742,7 @@ - + @@ -751,7 +751,7 @@ - + @@ -760,9 +760,9 @@ -
+
GL_RGBA - + @@ -772,7 +772,7 @@ = - + @@ -781,7 +781,7 @@ - + @@ -796,7 +796,7 @@ - + @@ -825,7 +825,7 @@ - + @@ -854,7 +854,7 @@ - + @@ -869,9 +869,9 @@ -
+
(or 4) - + @@ -881,7 +881,7 @@ = - + @@ -890,7 +890,7 @@ - + @@ -905,7 +905,7 @@ - + @@ -914,7 +914,7 @@ - + @@ -929,7 +929,7 @@ - + @@ -965,17 +965,17 @@ GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_SUBTRACT, GL_DOT3_RGB, or GL_DOT3_RGBA.

-

+

GL_COMBINE_RGB - + Texture Function -
+
GL_REPLACE - + Arg0 -
+
GL_MODULATE - + @@ -984,9 +984,9 @@ Arg1 -
+
GL_ADD - + @@ -995,9 +995,9 @@ Arg1 -
+
GL_ADD_SIGNED - + @@ -1008,9 +1008,9 @@ 0.5 -
+
GL_INTERPOLATE - + @@ -1033,9 +1033,9 @@ -
+
GL_SUBTRACT - + @@ -1044,11 +1044,11 @@ Arg1 -
+
GL_DOT3_RGB or GL_DOT3_RGBA - + @@ -1152,17 +1152,17 @@ GL_SUBTRACT. The following table describes how alpha values are combined:

-

+

GL_COMBINE_ALPHA - + Texture Function -
+
GL_REPLACE - + Arg0 -
+
GL_MODULATE - + @@ -1171,9 +1171,9 @@ Arg1 -
+
GL_ADD - + @@ -1182,9 +1182,9 @@ Arg1 -
+
GL_ADD_SIGNED - + @@ -1195,9 +1195,9 @@ 0.5 -
+
GL_INTERPOLATE - + @@ -1220,9 +1220,9 @@ -
+
GL_SUBTRACT - + @@ -1307,17 +1307,17 @@ Arg2 based upon the RGB sources and operands:

-

+

GL_SRCn_RGB - + GL_OPERANDn_RGB - + Argument Value -
+
GL_TEXTURE - + GL_SRC_COLOR - + @@ -1326,10 +1326,10 @@ -
- +
+ GL_ONE_MINUS_SRC_COLOR - + @@ -1342,10 +1342,10 @@ -
- +
+ GL_SRC_ALPHA - + @@ -1354,10 +1354,10 @@ -
- +
+ GL_ONE_MINUS_SRC_ALPHA - + @@ -1370,11 +1370,11 @@ -
+
GL_TEXTUREn - + GL_SRC_COLOR - + @@ -1383,10 +1383,10 @@ -
- +
+ GL_ONE_MINUS_SRC_COLOR - + @@ -1399,10 +1399,10 @@ -
- +
+ GL_SRC_ALPHA - + @@ -1411,10 +1411,10 @@ -
- +
+ GL_ONE_MINUS_SRC_ALPHA - + @@ -1427,11 +1427,11 @@ -
+
GL_CONSTANT - + GL_SRC_COLOR - + @@ -1440,10 +1440,10 @@ -
- +
+ GL_ONE_MINUS_SRC_COLOR - + @@ -1456,10 +1456,10 @@ -
- +
+ GL_SRC_ALPHA - + @@ -1468,10 +1468,10 @@ -
- +
+ GL_ONE_MINUS_SRC_ALPHA - + @@ -1484,11 +1484,11 @@ -
+
GL_PRIMARY_COLOR - + GL_SRC_COLOR - + @@ -1497,10 +1497,10 @@ -
- +
+ GL_ONE_MINUS_SRC_COLOR - + @@ -1513,10 +1513,10 @@ -
- +
+ GL_SRC_ALPHA - + @@ -1525,10 +1525,10 @@ -
- +
+ GL_ONE_MINUS_SRC_ALPHA - + @@ -1541,11 +1541,11 @@ -
+
GL_PREVIOUS - + GL_SRC_COLOR - + @@ -1554,10 +1554,10 @@ -
- +
+ GL_ONE_MINUS_SRC_COLOR - + @@ -1570,10 +1570,10 @@ -
- +
+ GL_SRC_ALPHA - + @@ -1582,10 +1582,10 @@ -
- +
+ GL_ONE_MINUS_SRC_ALPHA - + @@ -1624,17 +1624,17 @@ Arg2 based upon the alpha sources and operands:

-

+

GL_SRCn_ALPHA - + GL_OPERANDn_ALPHA - + Argument Value -
+
GL_TEXTURE - + GL_SRC_ALPHA - + @@ -1643,10 +1643,10 @@ -
- +
+ GL_ONE_MINUS_SRC_ALPHA - + @@ -1659,11 +1659,11 @@ -
+
GL_TEXTUREn - + GL_SRC_ALPHA - + @@ -1672,10 +1672,10 @@ -
- +
+ GL_ONE_MINUS_SRC_ALPHA - + @@ -1688,11 +1688,11 @@ -
+
GL_CONSTANT - + GL_SRC_ALPHA - + @@ -1701,10 +1701,10 @@ -
- +
+ GL_ONE_MINUS_SRC_ALPHA - + @@ -1717,11 +1717,11 @@ -
+
GL_PRIMARY_COLOR - + GL_SRC_ALPHA - + @@ -1730,10 +1730,10 @@ -
- +
+ GL_ONE_MINUS_SRC_ALPHA - + @@ -1746,11 +1746,11 @@ -
+
GL_PREVIOUS - + GL_SRC_ALPHA - + @@ -1759,10 +1759,10 @@ -
- +
+ GL_ONE_MINUS_SRC_ALPHA - + diff --git a/es2/glBlendEquation.xhtml b/es2/glBlendEquation.xhtml index 8a0333e3..0e7823f3 100644 --- a/es2/glBlendEquation.xhtml +++ b/es2/glBlendEquation.xhtml @@ -117,15 +117,15 @@ . -

+

Mode - + RGB Components - + Alpha Component -
+
GL_FUNC_ADD - +
@@ -198,7 +198,7 @@
-
+
@@ -223,9 +223,9 @@
-
+
GL_FUNC_SUBTRACT - +
@@ -298,7 +298,7 @@
-
+
@@ -323,9 +323,9 @@
-
+
GL_FUNC_REVERSE_SUBTRACT - +
@@ -398,7 +398,7 @@
-
+
diff --git a/es2/glBlendEquationSeparate.xhtml b/es2/glBlendEquationSeparate.xhtml index 69b856fb..49ccc4a5 100644 --- a/es2/glBlendEquationSeparate.xhtml +++ b/es2/glBlendEquationSeparate.xhtml @@ -121,15 +121,15 @@ . -

+

Mode - + RGB Components - + Alpha Component -
+
GL_FUNC_ADD - +
@@ -202,7 +202,7 @@
-
+
@@ -227,9 +227,9 @@
-
+
GL_FUNC_SUBTRACT - +
@@ -302,7 +302,7 @@
-
+
@@ -327,9 +327,9 @@
-
+
GL_FUNC_REVERSE_SUBTRACT - +
@@ -402,7 +402,7 @@
-
+
diff --git a/es2/glBlendFunc.xhtml b/es2/glBlendFunc.xhtml index f607374a..96f7f579 100644 --- a/es2/glBlendFunc.xhtml +++ b/es2/glBlendFunc.xhtml @@ -239,9 +239,9 @@ .

-

+

Parameter - + @@ -259,9 +259,9 @@ -
+
GL_ZERO - + @@ -271,9 +271,9 @@ 0 -
+
GL_ONE - + @@ -283,9 +283,9 @@ 1 -
+
GL_SRC_COLOR - + @@ -323,9 +323,9 @@ -
+
GL_ONE_MINUS_SRC_COLOR - + @@ -372,9 +372,9 @@ -
+
GL_DST_COLOR - + @@ -412,9 +412,9 @@ -
+
GL_ONE_MINUS_DST_COLOR - + @@ -461,9 +461,9 @@ -
+
GL_SRC_ALPHA - + @@ -501,9 +501,9 @@ -
+
GL_ONE_MINUS_SRC_ALPHA - + @@ -550,9 +550,9 @@ -
+
GL_DST_ALPHA - + @@ -590,9 +590,9 @@ -
+
GL_ONE_MINUS_DST_ALPHA - + @@ -639,9 +639,9 @@ -
+
GL_CONSTANT_COLOR - + @@ -659,9 +659,9 @@ -
+
GL_ONE_MINUS_CONSTANT_COLOR - + @@ -688,9 +688,9 @@ -
+
GL_CONSTANT_ALPHA - + @@ -708,9 +708,9 @@ -
+
GL_ONE_MINUS_CONSTANT_ALPHA - + @@ -737,9 +737,9 @@ -
+
GL_SRC_ALPHA_SATURATE - + diff --git a/es2/glBlendFuncSeparate.xhtml b/es2/glBlendFuncSeparate.xhtml index 500b73c1..06aa91d3 100644 --- a/es2/glBlendFuncSeparate.xhtml +++ b/es2/glBlendFuncSeparate.xhtml @@ -229,15 +229,15 @@ .

-

+

Parameter - + RGB Factor - + Alpha Factor -
+
GL_ZERO - + @@ -246,14 +246,14 @@ 0 - + 0 -
+
GL_ONE - + @@ -262,14 +262,14 @@ 1 - + 1 -
+
GL_SRC_COLOR - + @@ -299,7 +299,7 @@ - + @@ -311,9 +311,9 @@ -
+
GL_ONE_MINUS_SRC_COLOR - + @@ -352,7 +352,7 @@ - + @@ -368,9 +368,9 @@ -
+
GL_DST_COLOR - + @@ -400,7 +400,7 @@ - + @@ -412,9 +412,9 @@ -
+
GL_ONE_MINUS_DST_COLOR - + @@ -452,7 +452,7 @@ - + @@ -468,9 +468,9 @@ -
+
GL_SRC_ALPHA - + @@ -500,7 +500,7 @@ - + @@ -512,9 +512,9 @@ -
+
GL_ONE_MINUS_SRC_ALPHA - + @@ -552,7 +552,7 @@ - + @@ -568,9 +568,9 @@ -
+
GL_DST_ALPHA - + @@ -600,7 +600,7 @@ - + @@ -612,9 +612,9 @@ -
+
GL_ONE_MINUS_DST_ALPHA - + @@ -652,7 +652,7 @@ - + @@ -668,9 +668,9 @@ -
+
GL_CONSTANT_COLOR - + @@ -685,16 +685,16 @@ - + A c -
+
GL_ONE_MINUS_CONSTANT_COLOR - + @@ -717,7 +717,7 @@ - + @@ -728,9 +728,9 @@ -
+
GL_CONSTANT_ALPHA - + @@ -745,16 +745,16 @@ - + A c -
+
GL_ONE_MINUS_CONSTANT_ALPHA - + @@ -777,7 +777,7 @@ - + @@ -788,9 +788,9 @@ -
+
GL_SRC_ALPHA_SATURATE - + @@ -799,7 +799,7 @@ i - + 1 diff --git a/es2/glIsEnabled.xhtml b/es2/glIsEnabled.xhtml index 3c381fd8..e8dbfe7a 100644 --- a/es2/glIsEnabled.xhtml +++ b/es2/glIsEnabled.xhtml @@ -8,45 +8,45 @@

The following capabilities are accepted for cap:

-

+

Constant - + See -
+
GL_BLEND - + glBlendFunc -
+
GL_CULL_FACE - + glCullFace -
+
GL_DEPTH_TEST - + glDepthFunc, glDepthRangef -
+
GL_DITHER - + glEnable -
+
GL_POLYGON_OFFSET_FILL - + glPolygonOffset -
+
GL_SAMPLE_ALPHA_TO_COVERAGE - + glSampleCoverage -
+
GL_SAMPLE_COVERAGE - + glSampleCoverage -
+
GL_SCISSOR_TEST - + glScissor -
+
GL_STENCIL_TEST - + glStencilFunc, glStencilOp

Notes

diff --git a/es2/glPixelStorei.xhtml b/es2/glPixelStorei.xhtml index 27681535..bcef57f3 100644 --- a/es2/glPixelStorei.xhtml +++ b/es2/glPixelStorei.xhtml @@ -38,29 +38,29 @@ and range of valid values for each storage parameter that can be set with glPixelStorei.

-

+

pname - + Type - + Initial Value - + Valid Range -
+
GL_PACK_ALIGNMENT - + integer - + 4 - + 1, 2, 4, or 8 -
+
GL_UNPACK_ALIGNMENT - + integer - + 4 - + 1, 2, 4, or 8

Boolean parameters are set to false if param is 0 and true otherwise. diff --git a/gl2/glBlendEquation.xhtml b/gl2/glBlendEquation.xhtml index 610e380e..301b44bd 100644 --- a/gl2/glBlendEquation.xhtml +++ b/gl2/glBlendEquation.xhtml @@ -117,15 +117,15 @@ . -

+

Mode - + RGB Components - + Alpha Component -
+
GL_FUNC_ADD - +
@@ -198,7 +198,7 @@
-
+
@@ -223,9 +223,9 @@
-
+
GL_FUNC_SUBTRACT - +
@@ -298,7 +298,7 @@
-
+
@@ -323,9 +323,9 @@
-
+
GL_FUNC_REVERSE_SUBTRACT - +
@@ -398,7 +398,7 @@
-
+
@@ -423,9 +423,9 @@
-
+
GL_MIN - +
@@ -495,7 +495,7 @@
-
+
@@ -519,9 +519,9 @@
-
+
GL_MAX - +
@@ -591,7 +591,7 @@
-
+
diff --git a/gl2/glBlendEquationSeparate.xhtml b/gl2/glBlendEquationSeparate.xhtml index 18048706..d79eed71 100644 --- a/gl2/glBlendEquationSeparate.xhtml +++ b/gl2/glBlendEquationSeparate.xhtml @@ -121,15 +121,15 @@ . -

+

Mode - + RGB Components - + Alpha Component -
+
GL_FUNC_ADD - +
@@ -202,7 +202,7 @@
-
+
@@ -227,9 +227,9 @@
-
+
GL_FUNC_SUBTRACT - +
@@ -302,7 +302,7 @@
-
+
@@ -327,9 +327,9 @@
-
+
GL_FUNC_REVERSE_SUBTRACT - +
@@ -402,7 +402,7 @@
-
+
@@ -427,9 +427,9 @@
-
+
GL_MIN - +
@@ -499,7 +499,7 @@
-
+
@@ -523,9 +523,9 @@
-
+
GL_MAX - +
@@ -595,7 +595,7 @@
-
+
diff --git a/gl2/glBlendFunc.xhtml b/gl2/glBlendFunc.xhtml index d7a04746..acb896fe 100644 --- a/gl2/glBlendFunc.xhtml +++ b/gl2/glBlendFunc.xhtml @@ -239,9 +239,9 @@ .

-

+

Parameter - + @@ -259,9 +259,9 @@ -
+
GL_ZERO - + @@ -271,9 +271,9 @@ 0 -
+
GL_ONE - + @@ -283,9 +283,9 @@ 1 -
+
GL_SRC_COLOR - + @@ -323,9 +323,9 @@ -
+
GL_ONE_MINUS_SRC_COLOR - + @@ -372,9 +372,9 @@ -
+
GL_DST_COLOR - + @@ -412,9 +412,9 @@ -
+
GL_ONE_MINUS_DST_COLOR - + @@ -461,9 +461,9 @@ -
+
GL_SRC_ALPHA - + @@ -501,9 +501,9 @@ -
+
GL_ONE_MINUS_SRC_ALPHA - + @@ -550,9 +550,9 @@ -
+
GL_DST_ALPHA - + @@ -590,9 +590,9 @@ -
+
GL_ONE_MINUS_DST_ALPHA - + @@ -639,9 +639,9 @@ -
+
GL_CONSTANT_COLOR - + @@ -659,9 +659,9 @@ -
+
GL_ONE_MINUS_CONSTANT_COLOR - + @@ -688,9 +688,9 @@ -
+
GL_CONSTANT_ALPHA - + @@ -708,9 +708,9 @@ -
+
GL_ONE_MINUS_CONSTANT_ALPHA - + @@ -737,9 +737,9 @@ -
+
GL_SRC_ALPHA_SATURATE - + diff --git a/gl2/glBlendFuncSeparate.xhtml b/gl2/glBlendFuncSeparate.xhtml index 901af21a..e49f5751 100644 --- a/gl2/glBlendFuncSeparate.xhtml +++ b/gl2/glBlendFuncSeparate.xhtml @@ -229,15 +229,15 @@ .

-

+

Parameter - + RGB Factor - + Alpha Factor -
+
GL_ZERO - + @@ -246,14 +246,14 @@ 0 - + 0 -
+
GL_ONE - + @@ -262,14 +262,14 @@ 1 - + 1 -
+
GL_SRC_COLOR - + @@ -299,7 +299,7 @@ - + @@ -311,9 +311,9 @@ -
+
GL_ONE_MINUS_SRC_COLOR - + @@ -352,7 +352,7 @@ - + @@ -368,9 +368,9 @@ -
+
GL_DST_COLOR - + @@ -400,7 +400,7 @@ - + @@ -412,9 +412,9 @@ -
+
GL_ONE_MINUS_DST_COLOR - + @@ -452,7 +452,7 @@ - + @@ -468,9 +468,9 @@ -
+
GL_SRC_ALPHA - + @@ -500,7 +500,7 @@ - + @@ -512,9 +512,9 @@ -
+
GL_ONE_MINUS_SRC_ALPHA - + @@ -552,7 +552,7 @@ - + @@ -568,9 +568,9 @@ -
+
GL_DST_ALPHA - + @@ -600,7 +600,7 @@ - + @@ -612,9 +612,9 @@ -
+
GL_ONE_MINUS_DST_ALPHA - + @@ -652,7 +652,7 @@ - + @@ -668,9 +668,9 @@ -
+
GL_CONSTANT_COLOR - + @@ -685,16 +685,16 @@ - + A c -
+
GL_ONE_MINUS_CONSTANT_COLOR - + @@ -717,7 +717,7 @@ - + @@ -728,9 +728,9 @@ -
+
GL_CONSTANT_ALPHA - + @@ -745,16 +745,16 @@ - + A c -
+
GL_ONE_MINUS_CONSTANT_ALPHA - + @@ -777,7 +777,7 @@ - + @@ -788,9 +788,9 @@ -
+
GL_SRC_ALPHA_SATURATE - + @@ -799,7 +799,7 @@ i - + 1 diff --git a/gl2/glColorTable.xhtml b/gl2/glColorTable.xhtml index 384b9fc4..0741c2c5 100644 --- a/gl2/glColorTable.xhtml +++ b/gl2/glColorTable.xhtml @@ -131,84 +131,84 @@ and A) to the values included in the internal format (red, green, blue, alpha, luminance, and intensity). The mapping is as follows:

-

+

Internal Format - + Red - + Green - + Blue - + Alpha - + Luminance - + Intensity -
+
GL_ALPHA - - - - + + + + A - - + + -
+
GL_LUMINANCE - - - - - + + + + + R - + -
+
GL_LUMINANCE_ALPHA - - - - + + + + A - + R - + -
+
GL_INTENSITY - - - - - - + + + + + + R -
+
GL_RGB - + R - + G - + B - - - + + + -
+
GL_RGBA - + R - + G - + B - + A - - + +

Finally, the red, green, blue, alpha, luminance, and/or intensity components of @@ -270,125 +270,125 @@ replaced by the table entry selected by that index. If the color components and contents of the table are represented as follows:

-

+

Representation - + Meaning -
+
r - + Table index computed from R -
+
g - + Table index computed from G -
+
b - + Table index computed from B -
+
a - + Table index computed from A -
+
L[i] - + Luminance value at table index i -
+
I[i] - + Intensity value at table index i -
+
R[i] - + Red value at table index i -
+
G[i] - + Green value at table index i -
+
B[i] - + Blue value at table index i -
+
A[i] - + Alpha value at table index i

then the result of color table lookup is as follows:

-

- +

+ Resulting Texture Components -
+
Table Internal Format - + R - + G - + B - + A -
+
GL_ALPHA - + R - + G - + B - + A[a] -
+
GL_LUMINANCE - + L[r] - + L[g] - + L[b] - + At -
+
GL_LUMINANCE_ALPHA - + L[r] - + L[g] - + L[b] - + A[a] -
+
GL_INTENSITY - + I[r] - + I[g] - + I[b] - + I[a] -
+
GL_RGB - + R[r] - + G[g] - + B[b] - + A -
+
GL_RGBA - + R[r] - + G[g] - + B[b] - + A[a]

When GL_COLOR_TABLE is enabled, the colors resulting from diff --git a/gl2/glConvolutionFilter1D.xhtml b/gl2/glConvolutionFilter1D.xhtml index d3b80a02..ece273ff 100644 --- a/gl2/glConvolutionFilter1D.xhtml +++ b/gl2/glConvolutionFilter1D.xhtml @@ -109,84 +109,84 @@ and A) to the values included in the internal format (red, green, blue, alpha, luminance, and intensity). The mapping is as follows:

-

+

Internal Format - + Red - + Green - + Blue - + Alpha - + Luminance - + Intensity -
+
GL_ALPHA - - - - + + + + A - - + + -
+
GL_LUMINANCE - - - - - + + + + + R - + -
+
GL_LUMINANCE_ALPHA - - - - + + + + A - + R - + -
+
GL_INTENSITY - - - - - - + + + + + + R -
+
GL_RGB - + R - + G - + B - - - + + + -
+
GL_RGBA - + R - + G - + B - + A - - + +

The red, green, blue, alpha, luminance, and/or intensity components of diff --git a/gl2/glConvolutionFilter2D.xhtml b/gl2/glConvolutionFilter2D.xhtml index 24fc58ce..99102329 100644 --- a/gl2/glConvolutionFilter2D.xhtml +++ b/gl2/glConvolutionFilter2D.xhtml @@ -115,84 +115,84 @@ and A) to the values included in the internal format (red, green, blue, alpha, luminance, and intensity). The mapping is as follows:

-

+

Internal Format - + Red - + Green - + Blue - + Alpha - + Luminance - + Intensity -
+
GL_ALPHA - - - - + + + + A - - + + -
+
GL_LUMINANCE - - - - - + + + + + R - + -
+
GL_LUMINANCE_ALPHA - - - - + + + + A - + R - + -
+
GL_INTENSITY - - - - - - + + + + + + R -
+
GL_RGB - + R - + G - + B - - - + + + -
+
GL_RGBA - + R - + G - + B - + A - - + +

The red, green, blue, alpha, luminance, and/or intensity components of diff --git a/gl2/glCopyColorTable.xhtml b/gl2/glCopyColorTable.xhtml index 7c23e040..d5aab75e 100644 --- a/gl2/glCopyColorTable.xhtml +++ b/gl2/glCopyColorTable.xhtml @@ -85,84 +85,84 @@ and A) to the values included in the internal format (red, green, blue, alpha, luminance, and intensity). The mapping is as follows:

-

+

Internal Format - + Red - + Green - + Blue - + Alpha - + Luminance - + Intensity -
+
GL_ALPHA - - - - + + + + A - - + + -
+
GL_LUMINANCE - - - - - + + + + + R - + -
+
GL_LUMINANCE_ALPHA - - - - + + + + A - + R - + -
+
GL_INTENSITY - - - - - - + + + + + + R -
+
GL_RGB - + R - + G - + B - - - + + + -
+
GL_RGBA - + R - + G - + B - + A - - + +

Finally, the red, green, blue, alpha, luminance, and/or intensity components of diff --git a/gl2/glCopyConvolutionFilter1D.xhtml b/gl2/glCopyConvolutionFilter1D.xhtml index d334f979..325b946a 100644 --- a/gl2/glCopyConvolutionFilter1D.xhtml +++ b/gl2/glCopyConvolutionFilter1D.xhtml @@ -77,84 +77,84 @@ and A) to the values included in the internal format (red, green, blue, alpha, luminance, and intensity). The mapping is as follows:

-

+

Internal Format - + Red - + Green - + Blue - + Alpha - + Luminance - + Intensity -
+
GL_ALPHA - - - - + + + + A - - + + -
+
GL_LUMINANCE - - - - - + + + + + R - + -
+
GL_LUMINANCE_ALPHA - - - - + + + + A - + R - + -
+
GL_INTENSITY - - - - - - + + + + + + R -
+
GL_RGB - + R - + G - + B - - - + + + -
+
GL_RGBA - + R - + G - + B - + A - - + +

The red, green, blue, alpha, luminance, and/or intensity components of diff --git a/gl2/glCopyConvolutionFilter2D.xhtml b/gl2/glCopyConvolutionFilter2D.xhtml index ecfa4048..c26058f0 100644 --- a/gl2/glCopyConvolutionFilter2D.xhtml +++ b/gl2/glCopyConvolutionFilter2D.xhtml @@ -80,84 +80,84 @@ and A) to the values included in the internal format (red, green, blue, alpha, luminance, and intensity). The mapping is as follows:

-

+

Internal Format - + Red - + Green - + Blue - + Alpha - + Luminance - + Intensity -
+
GL_ALPHA - - - - + + + + A - - + + -
+
GL_LUMINANCE - - - - - + + + + + R - + -
+
GL_LUMINANCE_ALPHA - - - - + + + + A - + R - + -
+
GL_INTENSITY - - - - - - + + + + + + R -
+
GL_RGB - + R - + G - + B - - - + + + -
+
GL_RGBA - + R - + G - + B - + A - - + +

The red, green, blue, alpha, luminance, and/or intensity components of diff --git a/gl2/glDrawPixels.xhtml b/gl2/glDrawPixels.xhtml index 15f6be50..737d2cd5 100644 --- a/gl2/glDrawPixels.xhtml +++ b/gl2/glDrawPixels.xhtml @@ -627,89 +627,89 @@ The following table summarizes the meaning of the valid constants for the type parameter:

-

+

Type - + Corresponding Type -
+
GL_UNSIGNED_BYTE - + unsigned 8-bit integer -
+
GL_BYTE - + signed 8-bit integer -
+
GL_BITMAP - + single bits in unsigned 8-bit integers -
+
GL_UNSIGNED_SHORT - + unsigned 16-bit integer -
+
GL_SHORT - + signed 16-bit integer -
+
GL_UNSIGNED_INT - + unsigned 32-bit integer -
+
GL_INT - + 32-bit integer -
+
GL_FLOAT - + single-precision floating-point -
+
GL_UNSIGNED_BYTE_3_3_2 - + unsigned 8-bit integer -
+
GL_UNSIGNED_BYTE_2_3_3_REV - + unsigned 8-bit integer with reversed component ordering -
+
GL_UNSIGNED_SHORT_5_6_5 - + unsigned 16-bit integer -
+
GL_UNSIGNED_SHORT_5_6_5_REV - + unsigned 16-bit integer with reversed component ordering -
+
GL_UNSIGNED_SHORT_4_4_4_4 - + unsigned 16-bit integer -
+
GL_UNSIGNED_SHORT_4_4_4_4_REV - + unsigned 16-bit integer with reversed component ordering -
+
GL_UNSIGNED_SHORT_5_5_5_1 - + unsigned 16-bit integer -
+
GL_UNSIGNED_SHORT_1_5_5_5_REV - + unsigned 16-bit integer with reversed component ordering -
+
GL_UNSIGNED_INT_8_8_8_8 - + unsigned 32-bit integer -
+
GL_UNSIGNED_INT_8_8_8_8_REV - + unsigned 32-bit integer with reversed component ordering -
+
GL_UNSIGNED_INT_10_10_10_2 - + unsigned 32-bit integer -
+
GL_UNSIGNED_INT_2_10_10_10_REV - + unsigned 32-bit integer with reversed component ordering

diff --git a/gl2/glFeedbackBuffer.xhtml b/gl2/glFeedbackBuffer.xhtml index 02138e31..1f2ff874 100644 --- a/gl2/glFeedbackBuffer.xhtml +++ b/gl2/glFeedbackBuffer.xhtml @@ -153,40 +153,40 @@ and the number of values per vertex. k is 1 in color index mode and 4 in RGBA mode.

-

+

Type - + Coordinates - + Color - + Texture - + Total Number of Values -
+
GL_2D - + x, y - - - + + + 2 -
+
GL_3D - + x, y, z - - - + + + 3 -
+
GL_3D_COLOR - + x, y, z - + k - - + + @@ -195,15 +195,15 @@ k -
+
GL_3D_COLOR_TEXTURE - + x, y, z - + k - + 4 - + @@ -212,15 +212,15 @@ k -
+
GL_4D_COLOR_TEXTURE - + x, y, z, w - + k - + 4 - + diff --git a/gl2/glGetColorTable.xhtml b/gl2/glGetColorTable.xhtml index 61351494..b16fc3bc 100644 --- a/gl2/glGetColorTable.xhtml +++ b/gl2/glGetColorTable.xhtml @@ -58,33 +58,33 @@ format of the color lookup table, are returned as zero. The assignments of internal color components to the components requested by format are -

+

Internal Component - + Resulting Component -
+
Red - + Red -
+
Green - + Green -
+
Blue - + Blue -
+
Alpha - + Alpha -
+
Luminance - + Red -
+
Intensity - + Red

Notes

diff --git a/gl2/glGetColorTableParameter.xhtml b/gl2/glGetColorTableParameter.xhtml index 5e0edfd3..8730446e 100644 --- a/gl2/glGetColorTableParameter.xhtml +++ b/gl2/glGetColorTableParameter.xhtml @@ -46,59 +46,59 @@ params must point to an array of the given length and receive the values indicated.

-

+

Parameter - + N - + Meaning -
+
GL_COLOR_TABLE_FORMAT - + 1 - + Internal format (e.g., GL_RGBA) -
+
GL_COLOR_TABLE_WIDTH - + 1 - + Number of elements in table -
+
GL_COLOR_TABLE_RED_SIZE - + 1 - + Size of red component, in bits -
+
GL_COLOR_TABLE_GREEN_SIZE - + 1 - + Size of green component -
+
GL_COLOR_TABLE_BLUE_SIZE - + 1 - + Size of blue component -
+
GL_COLOR_TABLE_ALPHA_SIZE - + 1 - + Size of alpha component -
+
GL_COLOR_TABLE_LUMINANCE_SIZE - + 1 - + Size of luminance component -
+
GL_COLOR_TABLE_INTENSITY_SIZE - + 1 - + Size of intensity component

Notes

diff --git a/gl2/glGetConvolutionFilter.xhtml b/gl2/glGetConvolutionFilter.xhtml index 9870bf0a..a82a6404 100644 --- a/gl2/glGetConvolutionFilter.xhtml +++ b/gl2/glGetConvolutionFilter.xhtml @@ -57,33 +57,33 @@ internal format of the filter are returned as zero. The assignments of internal color components to the components of format are as follows. -

+

Internal Component - + Resulting Component -
+
Red - + Red -
+
Green - + Green -
+
Blue - + Blue -
+
Alpha - + Alpha -
+
Luminance - + Red -
+
Intensity - + Red

Notes

diff --git a/gl2/glGetHistogram.xhtml b/gl2/glGetHistogram.xhtml index bee56072..2d410ccf 100644 --- a/gl2/glGetHistogram.xhtml +++ b/gl2/glGetHistogram.xhtml @@ -59,29 +59,29 @@ zero. The assignments of internal color components to the components requested by format are: -

+

Internal Component - + Resulting Component -
+
Red - + Red -
+
Green - + Green -
+
Blue - + Blue -
+
Alpha - + Alpha -
+
Luminance - + Red

Notes

diff --git a/gl2/glGetHistogramParameter.xhtml b/gl2/glGetHistogramParameter.xhtml index dd757a2d..745cc6bb 100644 --- a/gl2/glGetHistogramParameter.xhtml +++ b/gl2/glGetHistogramParameter.xhtml @@ -23,41 +23,41 @@ GL_PROXY_HISTOGRAM (to obtain information from the most recent proxy request) and one of the following values for the pname argument:

-

+

Parameter - + Description -
+
GL_HISTOGRAM_WIDTH - + Histogram table width -
+
GL_HISTOGRAM_FORMAT - + Internal format -
+
GL_HISTOGRAM_RED_SIZE - + Red component counter size, in bits -
+
GL_HISTOGRAM_GREEN_SIZE - + Green component counter size, in bits -
+
GL_HISTOGRAM_BLUE_SIZE - + Blue component counter size, in bits -
+
GL_HISTOGRAM_ALPHA_SIZE - + Alpha component counter size, in bits -
+
GL_HISTOGRAM_LUMINANCE_SIZE - + Luminance component counter size, in bits -
+
GL_HISTOGRAM_SINK - + Value of the sink parameter

Notes

diff --git a/gl2/glGetMinmax.xhtml b/gl2/glGetMinmax.xhtml index 56f9e054..1a0cdaac 100644 --- a/gl2/glGetMinmax.xhtml +++ b/gl2/glGetMinmax.xhtml @@ -63,29 +63,29 @@ returned as zero. The assignment of internal color components to the components requested by format are as follows:

-

+

Internal Component - + Resulting Component -
+
Red - + Red -
+
Green - + Green -
+
Blue - + Blue -
+
Alpha - + Alpha -
+
Luminance - + Red

If reset is GL_TRUE, the minmax table entries corresponding diff --git a/gl2/glGetMinmaxParameter.xhtml b/gl2/glGetMinmaxParameter.xhtml index b4d6dd82..858c1b37 100644 --- a/gl2/glGetMinmaxParameter.xhtml +++ b/gl2/glGetMinmaxParameter.xhtml @@ -12,17 +12,17 @@ glGetMinmaxParameter retrieves parameters for the current minmax table by setting pname to one of the following values:

-

+

Parameter - + Description -
+
GL_MINMAX_FORMAT - + Internal format of minmax table -
+
GL_MINMAX_SINK - + Value of the sink parameter

Notes

diff --git a/gl2/glGetSeparableFilter.xhtml b/gl2/glGetSeparableFilter.xhtml index 35f43512..ccefaa3a 100644 --- a/gl2/glGetSeparableFilter.xhtml +++ b/gl2/glGetSeparableFilter.xhtml @@ -63,33 +63,33 @@ The assignments of internal color components to the components of format are as follows:

-

+

Internal Component - + Resulting Component -
+
Red - + Red -
+
Green - + Green -
+
Blue - + Blue -
+
Alpha - + Alpha -
+
Luminance - + Red -
+
Intensity - + Red

Notes

diff --git a/gl2/glIsEnabled.xhtml b/gl2/glIsEnabled.xhtml index 11f94297..4853df69 100644 --- a/gl2/glIsEnabled.xhtml +++ b/gl2/glIsEnabled.xhtml @@ -8,301 +8,301 @@

The following capabilities are accepted for cap:

-

+

Constant - + See -
+
GL_ALPHA_TEST - + glAlphaFunc -
+
GL_AUTO_NORMAL - + glEvalCoord -
+
GL_BLEND - + glBlendFunc, glLogicOp -
+
GL_CLIP_PLANEi - + glClipPlane -
+
GL_COLOR_ARRAY - + glColorPointer -
+
GL_COLOR_LOGIC_OP - + glLogicOp -
+
GL_COLOR_MATERIAL - + glColorMaterial -
+
GL_COLOR_SUM - + glSecondaryColor -
+
GL_COLOR_TABLE - + glColorTable -
+
GL_CONVOLUTION_1D - + glConvolutionFilter1D -
+
GL_CONVOLUTION_2D - + glConvolutionFilter2D -
+
GL_CULL_FACE - + glCullFace -
+
GL_DEPTH_TEST - + glDepthFunc, glDepthRange -
+
GL_DITHER - + glEnable -
+
GL_EDGE_FLAG_ARRAY - + glEdgeFlagPointer -
+
GL_FOG - + glFog -
+
GL_FOG_COORD_ARRAY - + glFogCoordPointer -
+
GL_HISTOGRAM - + glHistogram -
+
GL_INDEX_ARRAY - + glIndexPointer -
+
GL_INDEX_LOGIC_OP - + glLogicOp -
+
GL_LIGHTi - + glLightModel, glLight -
+
GL_LIGHTING - + glMaterial, glLightModel, glLight -
+
GL_LINE_SMOOTH - + glLineWidth -
+
GL_LINE_STIPPLE - + glLineStipple -
+
GL_MAP1_COLOR_4 - + glMap1 -
+
GL_MAP1_INDEX - + glMap1 -
+
GL_MAP1_NORMAL - + glMap1 -
+
GL_MAP1_TEXTURE_COORD_1 - + glMap1 -
+
GL_MAP1_TEXTURE_COORD_2 - + glMap1 -
+
GL_MAP1_TEXTURE_COORD_3 - + glMap1 -
+
GL_MAP1_TEXTURE_COORD_4 - + glMap1 -
+
GL_MAP2_COLOR_4 - + glMap2 -
+
GL_MAP2_INDEX - + glMap2 -
+
GL_MAP2_NORMAL - + glMap2 -
+
GL_MAP2_TEXTURE_COORD_1 - + glMap2 -
+
GL_MAP2_TEXTURE_COORD_2 - + glMap2 -
+
GL_MAP2_TEXTURE_COORD_3 - + glMap2 -
+
GL_MAP2_TEXTURE_COORD_4 - + glMap2 -
+
GL_MAP2_VERTEX_3 - + glMap2 -
+
GL_MAP2_VERTEX_4 - + glMap2 -
+
GL_MINMAX - + glMinmax -
+
GL_MULTISAMPLE - + glSampleCoverage -
+
GL_NORMAL_ARRAY - + glNormalPointer -
+
GL_NORMALIZE - + glNormal -
+
GL_POINT_SMOOTH - + glPointSize -
+
GL_POINT_SPRITE - + glEnable -
+
GL_POLYGON_SMOOTH - + glPolygonMode -
+
GL_POLYGON_OFFSET_FILL - + glPolygonOffset -
+
GL_POLYGON_OFFSET_LINE - + glPolygonOffset -
+
GL_POLYGON_OFFSET_POINT - + glPolygonOffset -
+
GL_POLYGON_STIPPLE - + glPolygonStipple -
+
GL_POST_COLOR_MATRIX_COLOR_TABLE - + glColorTable -
+
GL_POST_CONVOLUTION_COLOR_TABLE - + glColorTable -
+
GL_RESCALE_NORMAL - + glNormal -
+
GL_SAMPLE_ALPHA_TO_COVERAGE - + glSampleCoverage -
+
GL_SAMPLE_ALPHA_TO_ONE - + glSampleCoverage -
+
GL_SAMPLE_COVERAGE - + glSampleCoverage -
+
GL_SCISSOR_TEST - + glScissor -
+
GL_SECONDARY_COLOR_ARRAY - + glSecondaryColorPointer -
+
GL_SEPARABLE_2D - + glSeparableFilter2D -
+
GL_STENCIL_TEST - + glStencilFunc, glStencilOp -
+
GL_TEXTURE_1D - + glTexImage1D -
+
GL_TEXTURE_2D - + glTexImage2D -
+
GL_TEXTURE_3D - + glTexImage3D -
+
GL_TEXTURE_COORD_ARRAY - + glTexCoordPointer -
+
GL_TEXTURE_CUBE_MAP - + glTexImage2D -
+
GL_TEXTURE_GEN_Q - + glTexGen -
+
GL_TEXTURE_GEN_R - + glTexGen -
+
GL_TEXTURE_GEN_S - + glTexGen -
+
GL_TEXTURE_GEN_T - + glTexGen -
+
GL_VERTEX_ARRAY - + glVertexPointer -
+
GL_VERTEX_PROGRAM_POINT_SIZE - + glEnable -
+
GL_VERTEX_PROGRAM_TWO_SIDE - + glEnable

Notes

diff --git a/gl2/glLogicOp.xhtml b/gl2/glLogicOp.xhtml index b8c40d41..20d855e0 100644 --- a/gl2/glLogicOp.xhtml +++ b/gl2/glLogicOp.xhtml @@ -29,73 +29,73 @@ GL_INDEX_LOGIC_OP for color index mode. The initial value is disabled for both operations.

-

+

Opcode - + Resulting Operation -
+
GL_CLEAR - + 0 -
+
GL_SET - + 1 -
+
GL_COPY - + s -
+
GL_COPY_INVERTED - + ~s -
+
GL_NOOP - + d -
+
GL_INVERT - + ~d -
+
GL_AND - + s & d -
+
GL_NAND - + ~(s & d) -
+
GL_OR - + s | d -
+
GL_NOR - + ~(s | d) -
+
GL_XOR - + s ^ d -
+
GL_EQUIV - + ~(s ^ d) -
+
GL_AND_REVERSE - + s & ~d -
+
GL_AND_INVERTED - + ~s & d -
+
GL_OR_REVERSE - + s | ~d -
+
GL_OR_INVERTED - + ~s | d

opcode is a symbolic constant chosen from the list above. diff --git a/gl2/glPixelMap.xhtml b/gl2/glPixelMap.xhtml index 026915a4..b6fa7f59 100644 --- a/gl2/glPixelMap.xhtml +++ b/gl2/glPixelMap.xhtml @@ -121,115 +121,115 @@ GL_MAX_PIXEL_MAP_TABLE. The single maximum applies to all maps; it is at least 32. -

+

map - + Lookup Index - + Lookup Value - + Initial Size - + Initial Value -
+
GL_PIXEL_MAP_I_TO_I - + color index - + color index - + 1 - + 0 -
+
GL_PIXEL_MAP_S_TO_S - + stencil index - + stencil index - + 1 - + 0 -
+
GL_PIXEL_MAP_I_TO_R - + color index - + R - + 1 - + 0 -
+
GL_PIXEL_MAP_I_TO_G - + color index - + G - + 1 - + 0 -
+
GL_PIXEL_MAP_I_TO_B - + color index - + B - + 1 - + 0 -
+
GL_PIXEL_MAP_I_TO_A - + color index - + A - + 1 - + 0 -
+
GL_PIXEL_MAP_R_TO_R - + R - + R - + 1 - + 0 -
+
GL_PIXEL_MAP_G_TO_G - + G - + G - + 1 - + 0 -
+
GL_PIXEL_MAP_B_TO_B - + B - + B - + 1 - + 0 -
+
GL_PIXEL_MAP_A_TO_A - + A - + A - + 1 - + 0

Errors

GL_INVALID_ENUM is generated if map is not an accepted value. diff --git a/gl2/glPixelStore.xhtml b/gl2/glPixelStore.xhtml index 9abae6d7..b8628e56 100644 --- a/gl2/glPixelStore.xhtml +++ b/gl2/glPixelStore.xhtml @@ -882,37 +882,37 @@ and range of valid values for each storage parameter that can be set with glPixelStore.

-

+

pname - + Type - + Initial Value - + Valid Range -
+
GL_PACK_SWAP_BYTES - + boolean - + false - + true or false -
+
GL_PACK_LSB_FIRST - + boolean - + false - + true or false -
+
GL_PACK_ROW_LENGTH - + integer - + 0 - + @@ -920,13 +920,13 @@ -
+
GL_PACK_IMAGE_HEIGHT - + integer - + 0 - + @@ -934,13 +934,13 @@ -
+
GL_PACK_SKIP_ROWS - + integer - + 0 - + @@ -948,13 +948,13 @@ -
+
GL_PACK_SKIP_PIXELS - + integer - + 0 - + @@ -962,13 +962,13 @@ -
+
GL_PACK_SKIP_IMAGES - + integer - + 0 - + @@ -976,37 +976,37 @@ -
+
GL_PACK_ALIGNMENT - + integer - + 4 - + 1, 2, 4, or 8 -
+
GL_UNPACK_SWAP_BYTES - + boolean - + false - + true or false -
+
GL_UNPACK_LSB_FIRST - + boolean - + false - + true or false -
+
GL_UNPACK_ROW_LENGTH - + integer - + 0 - + @@ -1014,13 +1014,13 @@ -
+
GL_UNPACK_IMAGE_HEIGHT - + integer - + 0 - + @@ -1028,13 +1028,13 @@ -
+
GL_UNPACK_SKIP_ROWS - + integer - + 0 - + @@ -1042,13 +1042,13 @@ -
+
GL_UNPACK_SKIP_PIXELS - + integer - + 0 - + @@ -1056,13 +1056,13 @@ -
+
GL_UNPACK_SKIP_IMAGES - + integer - + 0 - + @@ -1070,13 +1070,13 @@ -
+
GL_UNPACK_ALIGNMENT - + integer - + 4 - + 1, 2, 4, or 8

glPixelStoref can be used to set any pixel store parameter. diff --git a/gl2/glPixelTransfer.xhtml b/gl2/glPixelTransfer.xhtml index 1ea7af43..85bd3e55 100644 --- a/gl2/glPixelTransfer.xhtml +++ b/gl2/glPixelTransfer.xhtml @@ -303,37 +303,37 @@ and range of valid values for each of the pixel transfer parameters that are set with glPixelTransfer.

-

+

pname - + Type - + Initial Value - + Valid Range -
+
GL_MAP_COLOR - + boolean - + false - + true/false -
+
GL_MAP_STENCIL - + boolean - + false - + true/false -
+
GL_INDEX_SHIFT - + integer - + 0 - + @@ -344,13 +344,13 @@ -
+
GL_INDEX_OFFSET - + integer - + 0 - + @@ -361,13 +361,13 @@ -
+
GL_RED_SCALE - + float - + 1 - + @@ -378,13 +378,13 @@ -
+
GL_GREEN_SCALE - + float - + 1 - + @@ -395,13 +395,13 @@ -
+
GL_BLUE_SCALE - + float - + 1 - + @@ -412,13 +412,13 @@ -
+
GL_ALPHA_SCALE - + float - + 1 - + @@ -429,13 +429,13 @@ -
+
GL_DEPTH_SCALE - + float - + 1 - + @@ -446,13 +446,13 @@ -
+
GL_RED_BIAS - + float - + 0 - + @@ -463,13 +463,13 @@ -
+
GL_GREEN_BIAS - + float - + 0 - + @@ -480,13 +480,13 @@ -
+
GL_BLUE_BIAS - + float - + 0 - + @@ -497,13 +497,13 @@ -
+
GL_ALPHA_BIAS - + float - + 0 - + @@ -514,13 +514,13 @@ -
+
GL_DEPTH_BIAS - + float - + 0 - + @@ -531,13 +531,13 @@ -
+
GL_POST_COLOR_MATRIX_RED_SCALE - + float - + 1 - + @@ -548,13 +548,13 @@ -
+
GL_POST_COLOR_MATRIX_GREEN_SCALE - + float - + 1 - + @@ -565,13 +565,13 @@ -
+
GL_POST_COLOR_MATRIX_BLUE_SCALE - + float - + 1 - + @@ -582,13 +582,13 @@ -
+
GL_POST_COLOR_MATRIX_ALPHA_SCALE - + float - + 1 - + @@ -599,13 +599,13 @@ -
+
GL_POST_COLOR_MATRIX_RED_BIAS - + float - + 0 - + @@ -616,13 +616,13 @@ -
+
GL_POST_COLOR_MATRIX_GREEN_BIAS - + float - + 0 - + @@ -633,13 +633,13 @@ -
+
GL_POST_COLOR_MATRIX_BLUE_BIAS - + float - + 0 - + @@ -650,13 +650,13 @@ -
+
GL_POST_COLOR_MATRIX_ALPHA_BIAS - + float - + 0 - + @@ -667,13 +667,13 @@ -
+
GL_POST_CONVOLUTION_RED_SCALE - + float - + 1 - + @@ -684,13 +684,13 @@ -
+
GL_POST_CONVOLUTION_GREEN_SCALE - + float - + 1 - + @@ -701,13 +701,13 @@ -
+
GL_POST_CONVOLUTION_BLUE_SCALE - + float - + 1 - + @@ -718,13 +718,13 @@ -
+
GL_POST_CONVOLUTION_ALPHA_SCALE - + float - + 1 - + @@ -735,13 +735,13 @@ -
+
GL_POST_CONVOLUTION_RED_BIAS - + float - + 0 - + @@ -752,13 +752,13 @@ -
+
GL_POST_CONVOLUTION_GREEN_BIAS - + float - + 0 - + @@ -769,13 +769,13 @@ -
+
GL_POST_CONVOLUTION_BLUE_BIAS - + float - + 0 - + @@ -786,13 +786,13 @@ -
+
GL_POST_CONVOLUTION_ALPHA_BIAS - + float - + 0 - + diff --git a/gl2/glPushAttrib.xhtml b/gl2/glPushAttrib.xhtml index 87d4915d..69d15fe9 100644 --- a/gl2/glPushAttrib.xhtml +++ b/gl2/glPushAttrib.xhtml @@ -16,494 +16,494 @@ The symbolic mask constants and their associated GL state are as follows (the second column lists which attributes are saved):

-

+

GL_ACCUM_BUFFER_BIT - + Accumulation buffer clear value -
+
GL_COLOR_BUFFER_BIT - + GL_ALPHA_TEST enable bit -
- +
+ Alpha test function and reference value -
- +
+ GL_BLEND enable bit -
- +
+ Blending source and destination functions -
- +
+ Constant blend color -
- +
+ Blending equation -
- +
+ GL_DITHER enable bit -
- +
+ GL_DRAW_BUFFER setting -
- +
+ GL_COLOR_LOGIC_OP enable bit -
- +
+ GL_INDEX_LOGIC_OP enable bit -
- +
+ Logic op function -
- +
+ Color mode and index mode clear values -
- +
+ Color mode and index mode writemasks -
+
GL_CURRENT_BIT - + Current RGBA color -
- +
+ Current color index -
- +
+ Current normal vector -
- +
+ Current texture coordinates -
- +
+ Current raster position -
- +
+ GL_CURRENT_RASTER_POSITION_VALID flag -
- +
+ RGBA color associated with current raster position -
- +
+ Color index associated with current raster position -
- +
+ Texture coordinates associated with current raster position -
- +
+ GL_EDGE_FLAG flag -
+
GL_DEPTH_BUFFER_BIT - + GL_DEPTH_TEST enable bit -
- +
+ Depth buffer test function -
- +
+ Depth buffer clear value -
- +
+ GL_DEPTH_WRITEMASK enable bit -
+
GL_ENABLE_BIT - + GL_ALPHA_TEST flag -
- +
+ GL_AUTO_NORMAL flag -
- +
+ GL_BLEND flag -
- +
+ Enable bits for the user-definable clipping planes -
- +
+ GL_COLOR_MATERIAL -
- +
+ GL_CULL_FACE flag -
- +
+ GL_DEPTH_TEST flag -
- +
+ GL_DITHER flag -
- +
+ GL_FOG flag -
- +
+ GL_LIGHTi where 0 <= i < GL_MAX_LIGHTS -
- +
+ GL_LIGHTING flag -
- +
+ GL_LINE_SMOOTH flag -
- +
+ GL_LINE_STIPPLE flag -
- +
+ GL_COLOR_LOGIC_OP flag -
- +
+ GL_INDEX_LOGIC_OP flag -
- +
+ GL_MAP1_x where x is a map type -
- +
+ GL_MAP2_x where x is a map type -
- +
+ GL_MULTISAMPLE flag -
- +
+ GL_NORMALIZE flag -
- +
+ GL_POINT_SMOOTH flag -
- +
+ GL_POLYGON_OFFSET_LINE flag -
- +
+ GL_POLYGON_OFFSET_FILL flag -
- +
+ GL_POLYGON_OFFSET_POINT flag -
- +
+ GL_POLYGON_SMOOTH flag -
- +
+ GL_POLYGON_STIPPLE flag -
- +
+ GL_SAMPLE_ALPHA_TO_COVERAGE flag -
- +
+ GL_SAMPLE_ALPHA_TO_ONE flag -
- +
+ GL_SAMPLE_COVERAGE flag -
- +
+ GL_SCISSOR_TEST flag -
- +
+ GL_STENCIL_TEST flag -
- +
+ GL_TEXTURE_1D flag -
- +
+ GL_TEXTURE_2D flag -
- +
+ GL_TEXTURE_3D flag -
- +
+ Flags GL_TEXTURE_GEN_x where x is S, T, R, or Q -
+
GL_EVAL_BIT - + GL_MAP1_x enable bits, where x is a map type -
- +
+ GL_MAP2_x enable bits, where x is a map type -
- +
+ 1D grid endpoints and divisions -
- +
+ 2D grid endpoints and divisions -
- +
+ GL_AUTO_NORMAL enable bit -
+
GL_FOG_BIT - + GL_FOG enable bit -
- +
+ Fog color -
- +
+ Fog density -
- +
+ Linear fog start -
- +
+ Linear fog end -
- +
+ Fog index -
- +
+ GL_FOG_MODE value -
+
GL_HINT_BIT - + GL_PERSPECTIVE_CORRECTION_HINT setting -
- +
+ GL_POINT_SMOOTH_HINT setting -
- +
+ GL_LINE_SMOOTH_HINT setting -
- +
+ GL_POLYGON_SMOOTH_HINT setting -
- +
+ GL_FOG_HINT setting -
- +
+ GL_GENERATE_MIPMAP_HINT setting -
- +
+ GL_TEXTURE_COMPRESSION_HINT setting -
+
GL_LIGHTING_BIT - + GL_COLOR_MATERIAL enable bit -
- +
+ GL_COLOR_MATERIAL_FACE value -
- +
+ Color material parameters that are tracking the current color -
- +
+ Ambient scene color -
- +
+ GL_LIGHT_MODEL_LOCAL_VIEWER value -
- +
+ GL_LIGHT_MODEL_TWO_SIDE setting -
- +
+ GL_LIGHTING enable bit -
- +
+ Enable bit for each light -
- +
+ Ambient, diffuse, and specular intensity for each light -
- +
+ Direction, position, exponent, and cutoff angle for each light -
- +
+ Constant, linear, and quadratic attenuation factors for each light -
- +
+ Ambient, diffuse, specular, and emissive color for each material -
- +
+ Ambient, diffuse, and specular color indices for each material -
- +
+ Specular exponent for each material -
- +
+ GL_SHADE_MODEL setting -
+
GL_LINE_BIT - + GL_LINE_SMOOTH flag -
- +
+ GL_LINE_STIPPLE enable bit -
- +
+ Line stipple pattern and repeat counter -
- +
+ Line width -
+
GL_LIST_BIT - + GL_LIST_BASE setting -
+
GL_MULTISAMPLE_BIT - + GL_MULTISAMPLE flag -
- +
+ GL_SAMPLE_ALPHA_TO_COVERAGE flag -
- +
+ GL_SAMPLE_ALPHA_TO_ONE flag -
- +
+ GL_SAMPLE_COVERAGE flag -
- +
+ GL_SAMPLE_COVERAGE_VALUE value -
- +
+ GL_SAMPLE_COVERAGE_INVERT value -
+
GL_PIXEL_MODE_BIT - + GL_RED_BIAS and GL_RED_SCALE settings -
- +
+ GL_GREEN_BIAS and GL_GREEN_SCALE values -
- +
+ GL_BLUE_BIAS and GL_BLUE_SCALE -
- +
+ GL_ALPHA_BIAS and GL_ALPHA_SCALE -
- +
+ GL_DEPTH_BIAS and GL_DEPTH_SCALE -
- +
+ GL_INDEX_OFFSET and GL_INDEX_SHIFT values -
- +
+ GL_MAP_COLOR and GL_MAP_STENCIL flags -
- +
+ GL_ZOOM_X and GL_ZOOM_Y factors -
- +
+ GL_READ_BUFFER setting -
+
GL_POINT_BIT - + GL_POINT_SMOOTH flag -
- +
+ Point size -
+
GL_POLYGON_BIT - + GL_CULL_FACE enable bit -
- +
+ GL_CULL_FACE_MODE value -
- +
+ GL_FRONT_FACE indicator -
- +
+ GL_POLYGON_MODE setting -
- +
+ GL_POLYGON_SMOOTH flag -
- +
+ GL_POLYGON_STIPPLE enable bit -
- +
+ GL_POLYGON_OFFSET_FILL flag -
- +
+ GL_POLYGON_OFFSET_LINE flag -
- +
+ GL_POLYGON_OFFSET_POINT flag -
- +
+ GL_POLYGON_OFFSET_FACTOR -
- +
+ GL_POLYGON_OFFSET_UNITS -
+
GL_POLYGON_STIPPLE_BIT - + Polygon stipple image -
+
GL_SCISSOR_BIT - + GL_SCISSOR_TEST flag -
- +
+ Scissor box -
+
GL_STENCIL_BUFFER_BIT - + GL_STENCIL_TEST enable bit -
- +
+ Stencil function and reference value -
- +
+ Stencil value mask -
- +
+ Stencil fail, pass, and depth buffer pass actions -
- +
+ Stencil buffer clear value -
- +
+ Stencil buffer writemask -
+
GL_TEXTURE_BIT - + Enable bits for the four texture coordinates -
- +
+ Border color for each texture image -
- +
+ Minification function for each texture image -
- +
+ Magnification function for each texture image -
- +
+ Texture coordinates and wrap mode for each texture image -
- +
+ Color and mode for each texture environment -
- +
+ Enable bits GL_TEXTURE_GEN_x, x is S, T, R, and Q -
- +
+ GL_TEXTURE_GEN_MODE setting for S, T, R, and Q -
- +
+ glTexGen plane equations for S, T, R, and Q -
- +
+ Current texture bindings (for example, GL_TEXTURE_BINDING_2D) -
+
GL_TRANSFORM_BIT - + Coefficients of the six clipping planes -
- +
+ Enable bits for the user-definable clipping planes -
- +
+ GL_MATRIX_MODE value -
- +
+ GL_NORMALIZE flag -
- +
+ GL_RESCALE_NORMAL flag -
+
GL_VIEWPORT_BIT - + Depth range (near and far) -
- +
+ Viewport origin and extent

glPopAttrib restores the values of the state variables saved with the last diff --git a/gl2/glReadPixels.xhtml b/gl2/glReadPixels.xhtml index d35567c3..71b24d82 100644 --- a/gl2/glReadPixels.xhtml +++ b/gl2/glReadPixels.xhtml @@ -267,15 +267,15 @@ (or converted to the client's single-precision floating-point format if it is different from the one used by the GL).

-

+

type - + Index Mask - + Component Conversion -
+
GL_UNSIGNED_BYTE - + @@ -286,7 +286,7 @@ 1 - + @@ -303,9 +303,9 @@ c -
+
GL_BYTE - + @@ -316,7 +316,7 @@ 1 - + @@ -340,21 +340,21 @@ 2 -
+
GL_BITMAP - + 1 - + 1 -
+
GL_UNSIGNED_SHORT - + @@ -365,7 +365,7 @@ 1 - + @@ -382,9 +382,9 @@ c -
+
GL_SHORT - + @@ -395,7 +395,7 @@ 1 - + @@ -419,9 +419,9 @@ 2 -
+
GL_UNSIGNED_INT - + @@ -432,7 +432,7 @@ 1 - + @@ -449,9 +449,9 @@ c -
+
GL_INT - + @@ -462,7 +462,7 @@ 1 - + @@ -486,11 +486,11 @@ 2 -
+
GL_FLOAT - + none - + c

Return values are placed in memory as follows. diff --git a/gl2/glSeparableFilter2D.xhtml b/gl2/glSeparableFilter2D.xhtml index 2a69c346..103772c9 100644 --- a/gl2/glSeparableFilter2D.xhtml +++ b/gl2/glSeparableFilter2D.xhtml @@ -120,74 +120,74 @@ This conversion simply maps the component values of the pixel (R, G, B, and A) to the values included in the internal format (red, green, blue, alpha, luminance, and intensity). The mapping is as follows: -

+

Internal Format - + Red - + Green - + Blue - + Alpha - + Luminance - + Intensity -
+
GL_LUMINANCE - - - - - + + + + + R - + -
+
GL_LUMINANCE_ALPHA - - - - + + + + A - + R - + -
+
GL_INTENSITY - - - - - - + + + + + + R -
+
GL_RGB - + R - + G - + B - - - + + + -
+
GL_RGBA - + R - + G - + B - + A - - + +

The red, green, blue, alpha, luminance, and/or intensity components of diff --git a/gl2/glShadeModel.xhtml b/gl2/glShadeModel.xhtml index 9a85e6e4..e95f724b 100644 --- a/gl2/glShadeModel.xhtml +++ b/gl2/glShadeModel.xhtml @@ -39,12 +39,12 @@ polygons, where the first vertex specifies the flat-shaded color.

-

+

Primitive Type of Polygon i - + Vertex -
+
Single polygon ( @@ -54,11 +54,11 @@ 1 ) - + 1 -
+
Triangle strip - + @@ -67,9 +67,9 @@ 2 -
+
Triangle fan - + @@ -78,9 +78,9 @@ 2 -
+
Independent triangle - + @@ -89,9 +89,9 @@ i -
+
Quad strip - + @@ -102,9 +102,9 @@ 2 -
+
Independent quad - + diff --git a/gl2/glTexEnv.xhtml b/gl2/glTexEnv.xhtml index 6db027ae..9d29f814 100644 --- a/gl2/glTexEnv.xhtml +++ b/gl2/glTexEnv.xhtml @@ -84,24 +84,24 @@ s are used by the texture functions described below.

-

+

Texture Base Internal Format - + C s - + A s -
+
GL_ALPHA - + (0, 0, 0) - + A t -
+
GL_LUMINANCE - + ( L t, @@ -110,11 +110,11 @@ L t ) - + 1 -
+
GL_LUMINANCE_ALPHA - + ( L t, @@ -123,12 +123,12 @@ L t ) - + A t -
+
GL_INTENSITY - + ( I t, @@ -137,12 +137,12 @@ I t ) - + I t -
+
GL_RGB - + ( R t, @@ -151,11 +151,11 @@ B t ) - + 1 -
+
GL_RGBA - + ( R t, @@ -164,7 +164,7 @@ B t ) - + A t

@@ -192,23 +192,23 @@ v indicates a value produced by the texture function.

-

+

Texture Base Internal Format - + Value - + GL_REPLACE Function - + GL_MODULATE Function - + GL_DECAL Function - + GL_BLEND Function - + GL_ADD Function -
+
GL_ALPHA - + @@ -218,7 +218,7 @@ = - + @@ -227,7 +227,7 @@ - + @@ -236,9 +236,9 @@ - + undefined - + @@ -247,7 +247,7 @@ - + @@ -256,8 +256,8 @@ -
- +
+ @@ -267,7 +267,7 @@ = - + @@ -276,7 +276,7 @@ - + @@ -291,8 +291,8 @@ - - + + @@ -311,7 +311,7 @@ - + @@ -326,9 +326,9 @@ -
+
GL_LUMINANCE - + @@ -338,7 +338,7 @@ = - + @@ -347,7 +347,7 @@ - + @@ -362,9 +362,9 @@ - + undefined - + @@ -393,7 +393,7 @@ - + @@ -408,9 +408,9 @@ -
+
(or 1) - + @@ -420,7 +420,7 @@ = - + @@ -429,7 +429,7 @@ - + @@ -438,8 +438,8 @@ - - + + @@ -448,7 +448,7 @@ - + @@ -457,9 +457,9 @@ -
+
GL_LUMINANCE_ALPHA - + @@ -469,7 +469,7 @@ = - + @@ -478,7 +478,7 @@ - + @@ -493,9 +493,9 @@ - + undefined - + @@ -524,7 +524,7 @@ - + @@ -539,9 +539,9 @@ -
+
(or 2) - + @@ -551,7 +551,7 @@ = - + @@ -560,7 +560,7 @@ - + @@ -575,8 +575,8 @@ - - + + @@ -591,7 +591,7 @@ - + @@ -606,9 +606,9 @@ -
+
GL_INTENSITY - + @@ -618,7 +618,7 @@ = - + @@ -627,7 +627,7 @@ - + @@ -642,9 +642,9 @@ - + undefined - + @@ -673,7 +673,7 @@ - + @@ -688,8 +688,8 @@ -
- +
+ @@ -699,7 +699,7 @@ = - + @@ -708,7 +708,7 @@ - + @@ -723,8 +723,8 @@ - - + + @@ -753,7 +753,7 @@ - + @@ -768,9 +768,9 @@ -
+
GL_RGB - + @@ -780,7 +780,7 @@ = - + @@ -789,7 +789,7 @@ - + @@ -804,7 +804,7 @@ - + @@ -813,7 +813,7 @@ - + @@ -842,7 +842,7 @@ - + @@ -857,9 +857,9 @@ -
+
(or 3) - + @@ -869,7 +869,7 @@ = - + @@ -878,7 +878,7 @@ - + @@ -887,7 +887,7 @@ - + @@ -896,7 +896,7 @@ - + @@ -905,7 +905,7 @@ - + @@ -914,9 +914,9 @@ -
+
GL_RGBA - + @@ -926,7 +926,7 @@ = - + @@ -935,7 +935,7 @@ - + @@ -950,7 +950,7 @@ - + @@ -979,7 +979,7 @@ - + @@ -1008,7 +1008,7 @@ - + @@ -1023,9 +1023,9 @@ -
+
(or 4) - + @@ -1035,7 +1035,7 @@ = - + @@ -1044,7 +1044,7 @@ - + @@ -1059,7 +1059,7 @@ - + @@ -1068,7 +1068,7 @@ - + @@ -1083,7 +1083,7 @@ - + @@ -1119,17 +1119,17 @@ GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_SUBTRACT, GL_DOT3_RGB, or GL_DOT3_RGBA.

-

+

GL_COMBINE_RGB - + Texture Function -
+
GL_REPLACE - + Arg0 -
+
GL_MODULATE - + @@ -1138,9 +1138,9 @@ Arg1 -
+
GL_ADD - + @@ -1149,9 +1149,9 @@ Arg1 -
+
GL_ADD_SIGNED - + @@ -1162,9 +1162,9 @@ 0.5 -
+
GL_INTERPOLATE - + @@ -1187,9 +1187,9 @@ -
+
GL_SUBTRACT - + @@ -1198,11 +1198,11 @@ Arg1 -
+
GL_DOT3_RGB or GL_DOT3_RGBA - + @@ -1306,17 +1306,17 @@ GL_SUBTRACT. The following table describes how alpha values are combined:

-

+

GL_COMBINE_ALPHA - + Texture Function -
+
GL_REPLACE - + Arg0 -
+
GL_MODULATE - + @@ -1325,9 +1325,9 @@ Arg1 -
+
GL_ADD - + @@ -1336,9 +1336,9 @@ Arg1 -
+
GL_ADD_SIGNED - + @@ -1349,9 +1349,9 @@ 0.5 -
+
GL_INTERPOLATE - + @@ -1374,9 +1374,9 @@ -
+
GL_SUBTRACT - + @@ -1461,17 +1461,17 @@ Arg2 based upon the RGB sources and operands:

-

+

GL_SRCn_RGB - + GL_OPERANDn_RGB - + Argument Value -
+
GL_TEXTURE - + GL_SRC_COLOR - + @@ -1480,10 +1480,10 @@ -
- +
+ GL_ONE_MINUS_SRC_COLOR - + @@ -1496,10 +1496,10 @@ -
- +
+ GL_SRC_ALPHA - + @@ -1508,10 +1508,10 @@ -
- +
+ GL_ONE_MINUS_SRC_ALPHA - + @@ -1524,11 +1524,11 @@ -
+
GL_TEXTUREn - + GL_SRC_COLOR - + @@ -1537,10 +1537,10 @@ -
- +
+ GL_ONE_MINUS_SRC_COLOR - + @@ -1553,10 +1553,10 @@ -
- +
+ GL_SRC_ALPHA - + @@ -1565,10 +1565,10 @@ -
- +
+ GL_ONE_MINUS_SRC_ALPHA - + @@ -1581,11 +1581,11 @@ -
+
GL_CONSTANT - + GL_SRC_COLOR - + @@ -1594,10 +1594,10 @@ -
- +
+ GL_ONE_MINUS_SRC_COLOR - + @@ -1610,10 +1610,10 @@ -
- +
+ GL_SRC_ALPHA - + @@ -1622,10 +1622,10 @@ -
- +
+ GL_ONE_MINUS_SRC_ALPHA - + @@ -1638,11 +1638,11 @@ -
+
GL_PRIMARY_COLOR - + GL_SRC_COLOR - + @@ -1651,10 +1651,10 @@ -
- +
+ GL_ONE_MINUS_SRC_COLOR - + @@ -1667,10 +1667,10 @@ -
- +
+ GL_SRC_ALPHA - + @@ -1679,10 +1679,10 @@ -
- +
+ GL_ONE_MINUS_SRC_ALPHA - + @@ -1695,11 +1695,11 @@ -
+
GL_PREVIOUS - + GL_SRC_COLOR - + @@ -1708,10 +1708,10 @@ -
- +
+ GL_ONE_MINUS_SRC_COLOR - + @@ -1724,10 +1724,10 @@ -
- +
+ GL_SRC_ALPHA - + @@ -1736,10 +1736,10 @@ -
- +
+ GL_ONE_MINUS_SRC_ALPHA - + @@ -1778,17 +1778,17 @@ Arg2 based upon the alpha sources and operands:

-

+

GL_SRCn_ALPHA - + GL_OPERANDn_ALPHA - + Argument Value -
+
GL_TEXTURE - + GL_SRC_ALPHA - + @@ -1797,10 +1797,10 @@ -
- +
+ GL_ONE_MINUS_SRC_ALPHA - + @@ -1813,11 +1813,11 @@ -
+
GL_TEXTUREn - + GL_SRC_ALPHA - + @@ -1826,10 +1826,10 @@ -
- +
+ GL_ONE_MINUS_SRC_ALPHA - + @@ -1842,11 +1842,11 @@ -
+
GL_CONSTANT - + GL_SRC_ALPHA - + @@ -1855,10 +1855,10 @@ -
- +
+ GL_ONE_MINUS_SRC_ALPHA - + @@ -1871,11 +1871,11 @@ -
+
GL_PRIMARY_COLOR - + GL_SRC_ALPHA - + @@ -1884,10 +1884,10 @@ -
- +
+ GL_ONE_MINUS_SRC_ALPHA - + @@ -1900,11 +1900,11 @@ -
+
GL_PREVIOUS - + GL_SRC_ALPHA - + @@ -1913,10 +1913,10 @@ -
- +
+ GL_ONE_MINUS_SRC_ALPHA - + diff --git a/gl2/glTexParameter.xhtml b/gl2/glTexParameter.xhtml index 606272dd..ed2bc02b 100644 --- a/gl2/glTexParameter.xhtml +++ b/gl2/glTexParameter.xhtml @@ -506,13 +506,13 @@

GL_TEXTURE_COMPARE_FUNC

Specifies the comparison operator used when GL_TEXTURE_COMPARE_MODE is set to GL_COMPARE_R_TO_TEXTURE. Permissible values are: -

+

Texture Comparison Function - + Computed result -
+
GL_LEQUAL - +
@@ -557,9 +557,9 @@
-
+
GL_GEQUAL - +
@@ -604,9 +604,9 @@
-
+
GL_LESS - +
@@ -651,9 +651,9 @@
-
+
GL_GREATER - +
@@ -698,9 +698,9 @@
-
+
GL_EQUAL - +
@@ -745,9 +745,9 @@
-
+
GL_NOTEQUAL - +
@@ -792,9 +792,9 @@
-
+
GL_ALWAYS - +
result @@ -802,9 +802,9 @@ 1.0
-
+
GL_NEVER - +
result diff --git a/gl2/glXSelectEvent.xhtml b/gl2/glXSelectEvent.xhtml index cd9dd331..eed40808 100644 --- a/gl2/glXSelectEvent.xhtml +++ b/gl2/glXSelectEvent.xhtml @@ -16,85 +16,85 @@ GLX_PBUFFER_CLOBBER_MASK event occurs:

typedef struct { -

+

int event_type; - + /* GLX_DAMAGED or GLX_SAVED */ -
+
int draw_type; - + /* GLX_WINDOW or GLX_PBUFFER */ -
+
unsigned long serial; - + /* # of last request processed by server */ -
+
Bool send_event; - + /* true if this came for SendEvent request */ -
+
Display *display; - + /* display the event was read from */ -
+
GLXDrawable drawable; - + /* i.d. of Drawable */ -
+
unsigned int buffer_mask; - + /* mask indicating affected buffers */ -
+
int x, y; - + -
+
int width, height; - + -
+
int count; - + /* if nonzero, at least this many more */

} GLXPbufferClobberEvent; The valid bit masks used in buffer_mask are:

-

+

Bitmask - + Corresponding Buffer -
+
GLX_FRONT_LEFT_BUFFER_BIT - + Front left color buffer -
+
GLX_FRONT_RIGHT_BUFFER_BIT - + Front right color buffer -
+
GLX_BACK_LEFT_BUFFER_BIT - + Back left color buffer -
+
GLX_BACK_RIGHT_BUFFER_BIT - + Back right color buffer -
+
GLX_AUX_BUFFERS_BIT - + Auxiliary buffer -
+
GLX_DEPTH_BUFFER_BIT - + Depth buffer -
+
GLX_STENCIL_BUFFER_BIT - + Stencil buffer -
+
GLX_ACCUM_BUFFER_BIT - + Accumulation buffer

A single X server operation can cause several buffer clobber events to be diff --git a/gl3/glBeginTransformFeedback.xhtml b/gl3/glBeginTransformFeedback.xhtml index c94f7384..7e12c246 100644 --- a/gl3/glBeginTransformFeedback.xhtml +++ b/gl3/glBeginTransformFeedback.xhtml @@ -10,42 +10,42 @@ If no geometry shader is present, while transform feedback is active the mode parameter to glDrawArrays must match those specified in the following table: -

+

Transform Feedback primitiveMode - + Allowed Render Primitive modes -
+
GL_POINTS - + GL_POINTS -
+
GL_LINES - + GL_LINES, GL_LINE_LOOP, GL_LINE_STRIP, GL_LINES_ADJACENCY, GL_LINE_STRIP_ADJACENCY -
+
GL_TRIANGLES - + GL_TRIANGLES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY

If a geometry shader is present, the output primitive type from the geometry shader must match those provided in the following table: -

+

Transform Feedback primitiveMode - + Allowed Geometry Shader Output Primitive Type -
+
GL_POINTS - + points -
+
GL_LINES - + line_strip -
+
GL_TRIANGLES - + triangle_strip

Notes

diff --git a/gl3/glBlendEquation.xhtml b/gl3/glBlendEquation.xhtml index fff79f0c..ccf14af5 100644 --- a/gl3/glBlendEquation.xhtml +++ b/gl3/glBlendEquation.xhtml @@ -117,15 +117,15 @@ . -

+

Mode - + RGB Components - + Alpha Component -
+
GL_FUNC_ADD - +
@@ -198,7 +198,7 @@
-
+
@@ -223,9 +223,9 @@
-
+
GL_FUNC_SUBTRACT - +
@@ -298,7 +298,7 @@
-
+
@@ -323,9 +323,9 @@
-
+
GL_FUNC_REVERSE_SUBTRACT - +
@@ -398,7 +398,7 @@
-
+
@@ -423,9 +423,9 @@
-
+
GL_MIN - +
@@ -495,7 +495,7 @@
-
+
@@ -519,9 +519,9 @@
-
+
GL_MAX - +
@@ -591,7 +591,7 @@
-
+
diff --git a/gl3/glBlendEquationSeparate.xhtml b/gl3/glBlendEquationSeparate.xhtml index 692f31dd..ad494320 100644 --- a/gl3/glBlendEquationSeparate.xhtml +++ b/gl3/glBlendEquationSeparate.xhtml @@ -121,15 +121,15 @@ . -

+

Mode - + RGB Components - + Alpha Component -
+
GL_FUNC_ADD - +
@@ -202,7 +202,7 @@
-
+
@@ -227,9 +227,9 @@
-
+
GL_FUNC_SUBTRACT - +
@@ -302,7 +302,7 @@
-
+
@@ -327,9 +327,9 @@
-
+
GL_FUNC_REVERSE_SUBTRACT - +
@@ -402,7 +402,7 @@
-
+
@@ -427,9 +427,9 @@
-
+
GL_MIN - +
@@ -499,7 +499,7 @@
-
+
@@ -523,9 +523,9 @@
-
+
GL_MAX - +
@@ -595,7 +595,7 @@
-
+
diff --git a/gl3/glBlendFunc.xhtml b/gl3/glBlendFunc.xhtml index c435d54b..2993c8e5 100644 --- a/gl3/glBlendFunc.xhtml +++ b/gl3/glBlendFunc.xhtml @@ -260,9 +260,9 @@ .

-

+

Parameter - + @@ -280,9 +280,9 @@ -
+
GL_ZERO - + @@ -292,9 +292,9 @@ 0 -
+
GL_ONE - + @@ -304,9 +304,9 @@ 1 -
+
GL_SRC_COLOR - + @@ -344,9 +344,9 @@ -
+
GL_ONE_MINUS_SRC_COLOR - + @@ -393,9 +393,9 @@ -
+
GL_DST_COLOR - + @@ -433,9 +433,9 @@ -
+
GL_ONE_MINUS_DST_COLOR - + @@ -482,9 +482,9 @@ -
+
GL_SRC_ALPHA - + @@ -522,9 +522,9 @@ -
+
GL_ONE_MINUS_SRC_ALPHA - + @@ -571,9 +571,9 @@ -
+
GL_DST_ALPHA - + @@ -611,9 +611,9 @@ -
+
GL_ONE_MINUS_DST_ALPHA - + @@ -660,9 +660,9 @@ -
+
GL_CONSTANT_COLOR - + @@ -680,9 +680,9 @@ -
+
GL_ONE_MINUS_CONSTANT_COLOR - + @@ -709,9 +709,9 @@ -
+
GL_CONSTANT_ALPHA - + @@ -729,9 +729,9 @@ -
+
GL_ONE_MINUS_CONSTANT_ALPHA - + @@ -758,9 +758,9 @@ -
+
GL_SRC_ALPHA_SATURATE - + @@ -770,9 +770,9 @@ 1 -
+
GL_SRC1_COLOR - + @@ -810,9 +810,9 @@ -
+
GL_ONE_MINUS_SRC1_COLOR - + @@ -859,9 +859,9 @@ -
+
GL_SRC1_ALPHA - + @@ -899,9 +899,9 @@ -
+
GL_ONE_MINUS_SRC1_ALPHA - + diff --git a/gl3/glBlendFuncSeparate.xhtml b/gl3/glBlendFuncSeparate.xhtml index 7d381c10..1226f0f2 100644 --- a/gl3/glBlendFuncSeparate.xhtml +++ b/gl3/glBlendFuncSeparate.xhtml @@ -214,15 +214,15 @@ .

-

+

Parameter - + RGB Factor - + Alpha Factor -
+
GL_ZERO - + @@ -231,14 +231,14 @@ 0 - + 0 -
+
GL_ONE - + @@ -247,14 +247,14 @@ 1 - + 1 -
+
GL_SRC_COLOR - + @@ -284,7 +284,7 @@ - + @@ -296,9 +296,9 @@ -
+
GL_ONE_MINUS_SRC_COLOR - + @@ -337,7 +337,7 @@ - + @@ -353,9 +353,9 @@ -
+
GL_DST_COLOR - + @@ -385,7 +385,7 @@ - + @@ -397,9 +397,9 @@ -
+
GL_ONE_MINUS_DST_COLOR - + @@ -437,7 +437,7 @@ - + @@ -453,9 +453,9 @@ -
+
GL_SRC_ALPHA - + @@ -485,7 +485,7 @@ - + @@ -497,9 +497,9 @@ -
+
GL_ONE_MINUS_SRC_ALPHA - + @@ -537,7 +537,7 @@ - + @@ -553,9 +553,9 @@ -
+
GL_DST_ALPHA - + @@ -585,7 +585,7 @@ - + @@ -597,9 +597,9 @@ -
+
GL_ONE_MINUS_DST_ALPHA - + @@ -637,7 +637,7 @@ - + @@ -653,9 +653,9 @@ -
+
GL_CONSTANT_COLOR - + @@ -670,16 +670,16 @@ - + A c -
+
GL_ONE_MINUS_CONSTANT_COLOR - + @@ -702,7 +702,7 @@ - + @@ -713,9 +713,9 @@ -
+
GL_CONSTANT_ALPHA - + @@ -730,16 +730,16 @@ - + A c -
+
GL_ONE_MINUS_CONSTANT_ALPHA - + @@ -762,7 +762,7 @@ - + @@ -773,9 +773,9 @@ -
+
GL_SRC_ALPHA_SATURATE - + @@ -784,14 +784,14 @@ i - + 1 -
+
GL_SRC1_COLOR - + @@ -821,7 +821,7 @@ - + @@ -833,9 +833,9 @@ -
+
GL_ONE_MINUS_SRC_COLOR - + @@ -874,7 +874,7 @@ - + @@ -890,9 +890,9 @@ -
+
GL_SRC1_ALPHA - + @@ -922,7 +922,7 @@ - + @@ -934,9 +934,9 @@ -
+
GL_ONE_MINUS_SRC_ALPHA - + @@ -974,7 +974,7 @@ - + diff --git a/gl3/glGetActiveUniform.xhtml b/gl3/glGetActiveUniform.xhtml index 474f47b2..51e5e6f0 100644 --- a/gl3/glGetActiveUniform.xhtml +++ b/gl3/glGetActiveUniform.xhtml @@ -57,253 +57,253 @@ 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. -

+

Returned Symbolic Contant - + Shader Uniform Type -
+
GL_FLOAT - + float -
+
GL_FLOAT_VEC2 - + vec2 -
+
GL_FLOAT_VEC3 - + vec3 -
+
GL_FLOAT_VEC4 - + vec4 -
+
GL_INT - + int -
+
GL_INT_VEC2 - + ivec2 -
+
GL_INT_VEC3 - + ivec3 -
+
GL_INT_VEC4 - + ivec4 -
+
GL_UNSIGNED_INT - + unsigned int -
+
GL_UNSIGNED_INT_VEC2 - + uvec2 -
+
GL_UNSIGNED_INT_VEC3 - + uvec3 -
+
GL_UNSIGNED_INT_VEC4 - + uvec4 -
+
GL_BOOL - + bool -
+
GL_BOOL_VEC2 - + bvec2 -
+
GL_BOOL_VEC3 - + bvec3 -
+
GL_BOOL_VEC4 - + bvec4 -
+
GL_FLOAT_MAT2 - + mat2 -
+
GL_FLOAT_MAT3 - + mat3 -
+
GL_FLOAT_MAT4 - + mat4 -
+
GL_FLOAT_MAT2x3 - + mat2x3 -
+
GL_FLOAT_MAT2x4 - + mat2x4 -
+
GL_FLOAT_MAT3x2 - + mat3x2 -
+
GL_FLOAT_MAT3x4 - + mat3x4 -
+
GL_FLOAT_MAT4x2 - + mat4x2 -
+
GL_FLOAT_MAT4x3 - + mat4x3 -
+
GL_SAMPLER_1D - + sampler1D -
+
GL_SAMPLER_2D - + sampler2D -
+
GL_SAMPLER_3D - + sampler3D -
+
GL_SAMPLER_CUBE - + samplerCube -
+
GL_SAMPLER_1D_SHADOW - + sampler1DShadow -
+
GL_SAMPLER_2D_SHADOW - + sampler2DShadow -
+
GL_SAMPLER_1D_ARRAY - + sampler1DArray -
+
GL_SAMPLER_2D_ARRAY - + sampler2DArray -
+
GL_SAMPLER_1D_ARRAY_SHADOW - + sampler1DArrayShadow -
+
GL_SAMPLER_2D_ARRAY_SHADOW - + sampler2DArrayShadow -
+
GL_SAMPLER_2D_MULTISAMPLE - + sampler2DMS -
+
GL_SAMPLER_2D_MULTISAMPLE_ARRAY - + sampler2DMSArray -
+
GL_SAMPLER_CUBE_SHADOW - + samplerCubeShadow -
+
GL_SAMPLER_BUFFER - + samplerBuffer -
+
GL_SAMPLER_2D_RECT - + sampler2DRect -
+
GL_SAMPLER_2D_RECT_SHADOW - + sampler2DRectShadow -
+
GL_INT_SAMPLER_1D - + isampler1D -
+
GL_INT_SAMPLER_2D - + isampler2D -
+
GL_INT_SAMPLER_3D - + isampler3D -
+
GL_INT_SAMPLER_CUBE - + isamplerCube -
+
GL_INT_SAMPLER_1D_ARRAY - + isampler1DArray -
+
GL_INT_SAMPLER_2D_ARRAY - + isampler2DArray -
+
GL_INT_SAMPLER_2D_MULTISAMPLE - + isampler2DMS -
+
GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY - + isampler2DMSArray -
+
GL_INT_SAMPLER_BUFFER - + isamplerBuffer -
+
GL_INT_SAMPLER_2D_RECT - + isampler2DRect -
+
GL_UNSIGNED_INT_SAMPLER_1D - + usampler1D -
+
GL_UNSIGNED_INT_SAMPLER_2D - + usampler2D -
+
GL_UNSIGNED_INT_SAMPLER_3D - + usampler3D -
+
GL_UNSIGNED_INT_SAMPLER_CUBE - + usamplerCube -
+
GL_UNSIGNED_INT_SAMPLER_1D_ARRAY - + usampler2DArray -
+
GL_UNSIGNED_INT_SAMPLER_2D_ARRAY - + usampler2DArray -
+
GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE - + usampler2DMS -
+
GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY - + usampler2DMSArray -
+
GL_UNSIGNED_INT_SAMPLER_BUFFER - + usamplerBuffer -
+
GL_UNSIGNED_INT_SAMPLER_2D_RECT - + usampler2DRect

If one or more elements of an array are active, the name diff --git a/gl3/glGetActiveUniformsiv.xhtml b/gl3/glGetActiveUniformsiv.xhtml index deb4a4de..d9107095 100644 --- a/gl3/glGetActiveUniformsiv.xhtml +++ b/gl3/glGetActiveUniformsiv.xhtml @@ -26,253 +26,253 @@ the types of uniforms specified by the corresponding array of uniformIndices is returned. The returned types can be any of the values from the following table: -

+

Returned Symbolic Contant - + Shader Uniform Type -
+
GL_FLOAT - + float -
+
GL_FLOAT_VEC2 - + vec2 -
+
GL_FLOAT_VEC3 - + vec3 -
+
GL_FLOAT_VEC4 - + vec4 -
+
GL_INT - + int -
+
GL_INT_VEC2 - + ivec2 -
+
GL_INT_VEC3 - + ivec3 -
+
GL_INT_VEC4 - + ivec4 -
+
GL_UNSIGNED_INT - + unsigned int -
+
GL_UNSIGNED_INT_VEC2 - + uvec2 -
+
GL_UNSIGNED_INT_VEC3 - + uvec3 -
+
GL_UNSIGNED_INT_VEC4 - + uvec4 -
+
GL_BOOL - + bool -
+
GL_BOOL_VEC2 - + bvec2 -
+
GL_BOOL_VEC3 - + bvec3 -
+
GL_BOOL_VEC4 - + bvec4 -
+
GL_FLOAT_MAT2 - + mat2 -
+
GL_FLOAT_MAT3 - + mat3 -
+
GL_FLOAT_MAT4 - + mat4 -
+
GL_FLOAT_MAT2x3 - + mat2x3 -
+
GL_FLOAT_MAT2x4 - + mat2x4 -
+
GL_FLOAT_MAT3x2 - + mat3x2 -
+
GL_FLOAT_MAT3x4 - + mat3x4 -
+
GL_FLOAT_MAT4x2 - + mat4x2 -
+
GL_FLOAT_MAT4x3 - + mat4x3 -
+
GL_SAMPLER_1D - + sampler1D -
+
GL_SAMPLER_2D - + sampler2D -
+
GL_SAMPLER_3D - + sampler3D -
+
GL_SAMPLER_CUBE - + samplerCube -
+
GL_SAMPLER_1D_SHADOW - + sampler1DShadow -
+
GL_SAMPLER_2D_SHADOW - + sampler2DShadow -
+
GL_SAMPLER_1D_ARRAY - + sampler1DArray -
+
GL_SAMPLER_2D_ARRAY - + sampler2DArray -
+
GL_SAMPLER_1D_ARRAY_SHADOW - + sampler1DArrayShadow -
+
GL_SAMPLER_2D_ARRAY_SHADOW - + sampler2DArrayShadow -
+
GL_SAMPLER_2D_MULTISAMPLE - + sampler2DMS -
+
GL_SAMPLER_2D_MULTISAMPLE_ARRAY - + sampler2DMSArray -
+
GL_SAMPLER_CUBE_SHADOW - + samplerCubeShadow -
+
GL_SAMPLER_BUFFER - + samplerBuffer -
+
GL_SAMPLER_2D_RECT - + sampler2DRect -
+
GL_SAMPLER_2D_RECT_SHADOW - + sampler2DRectShadow -
+
GL_INT_SAMPLER_1D - + isampler1D -
+
GL_INT_SAMPLER_2D - + isampler2D -
+
GL_INT_SAMPLER_3D - + isampler3D -
+
GL_INT_SAMPLER_CUBE - + isamplerCube -
+
GL_INT_SAMPLER_1D_ARRAY - + isampler1DArray -
+
GL_INT_SAMPLER_2D_ARRAY - + isampler2DArray -
+
GL_INT_SAMPLER_2D_MULTISAMPLE - + isampler2DMS -
+
GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY - + isampler2DMSArray -
+
GL_INT_SAMPLER_BUFFER - + isamplerBuffer -
+
GL_INT_SAMPLER_2D_RECT - + isampler2DRect -
+
GL_UNSIGNED_INT_SAMPLER_1D - + usampler1D -
+
GL_UNSIGNED_INT_SAMPLER_2D - + usampler2D -
+
GL_UNSIGNED_INT_SAMPLER_3D - + usampler3D -
+
GL_UNSIGNED_INT_SAMPLER_CUBE - + usamplerCube -
+
GL_UNSIGNED_INT_SAMPLER_1D_ARRAY - + usampler2DArray -
+
GL_UNSIGNED_INT_SAMPLER_2D_ARRAY - + usampler2DArray -
+
GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE - + usampler2DMS -
+
GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY - + usampler2DMSArray -
+
GL_UNSIGNED_INT_SAMPLER_BUFFER - + usamplerBuffer -
+
GL_UNSIGNED_INT_SAMPLER_2D_RECT - + usampler2DRect

diff --git a/gl3/glIsEnabled.xhtml b/gl3/glIsEnabled.xhtml index b64ffc91..086083b0 100644 --- a/gl3/glIsEnabled.xhtml +++ b/gl3/glIsEnabled.xhtml @@ -12,101 +12,101 @@

The following capabilities are accepted for cap:

-

+

Constant - + See -
+
GL_BLEND - + glBlendFunc, glLogicOp -
+
GL_CLIP_DISTANCEi - + glEnable -
+
GL_COLOR_LOGIC_OP - + glLogicOp -
+
GL_CULL_FACE - + glCullFace -
+
GL_DEPTH_CLAMP - + glEnable -
+
GL_DEPTH_TEST - + glDepthFunc, glDepthRange -
+
GL_DITHER - + glEnable -
+
GL_FRAMEBUFFER_SRGB - + glEnable -
+
GL_LINE_SMOOTH - + glLineWidth -
+
GL_MULTISAMPLE - + glSampleCoverage -
+
GL_POLYGON_SMOOTH - + glPolygonMode -
+
GL_POLYGON_OFFSET_FILL - + glPolygonOffset -
+
GL_POLYGON_OFFSET_LINE - + glPolygonOffset -
+
GL_POLYGON_OFFSET_POINT - + glPolygonOffset -
+
GL_PROGRAM_POINT_SIZE - + glEnable -
+
GL_PRIMITIVE_RESTART - + glEnable, glPrimitiveRestartIndex -
+
GL_SAMPLE_ALPHA_TO_COVERAGE - + glSampleCoverage -
+
GL_SAMPLE_ALPHA_TO_ONE - + glSampleCoverage -
+
GL_SAMPLE_COVERAGE - + glSampleCoverage -
+
GL_SAMPLE_MASK - + glEnable -
+
GL_SCISSOR_TEST - + glScissor -
+
GL_STENCIL_TEST - + glStencilFunc, glStencilOp -
+
GL_TEXTURE_CUBE_MAP_SEAMLESS - + glEnable

Notes

diff --git a/gl3/glLogicOp.xhtml b/gl3/glLogicOp.xhtml index 0811f74b..b2c00e83 100644 --- a/gl3/glLogicOp.xhtml +++ b/gl3/glLogicOp.xhtml @@ -28,73 +28,73 @@ using the symbolic constant GL_COLOR_LOGIC_OP. The initial value is disabled.

-

+

Opcode - + Resulting Operation -
+
GL_CLEAR - + 0 -
+
GL_SET - + 1 -
+
GL_COPY - + s -
+
GL_COPY_INVERTED - + ~s -
+
GL_NOOP - + d -
+
GL_INVERT - + ~d -
+
GL_AND - + s & d -
+
GL_NAND - + ~(s & d) -
+
GL_OR - + s | d -
+
GL_NOR - + ~(s | d) -
+
GL_XOR - + s ^ d -
+
GL_EQUIV - + ~(s ^ d) -
+
GL_AND_REVERSE - + s & ~d -
+
GL_AND_INVERTED - + ~s & d -
+
GL_OR_REVERSE - + s | ~d -
+
GL_OR_INVERTED - + ~s | d

opcode is a symbolic constant chosen from the list above. diff --git a/gl3/glPixelStore.xhtml b/gl3/glPixelStore.xhtml index 78edb463..d663db29 100644 --- a/gl3/glPixelStore.xhtml +++ b/gl3/glPixelStore.xhtml @@ -860,37 +860,37 @@ and range of valid values for each storage parameter that can be set with glPixelStore.

-

+

pname - + Type - + Initial Value - + Valid Range -
+
GL_PACK_SWAP_BYTES - + boolean - + false - + true or false -
+
GL_PACK_LSB_FIRST - + boolean - + false - + true or false -
+
GL_PACK_ROW_LENGTH - + integer - + 0 - + @@ -898,13 +898,13 @@ -
+
GL_PACK_IMAGE_HEIGHT - + integer - + 0 - + @@ -912,13 +912,13 @@ -
+
GL_PACK_SKIP_ROWS - + integer - + 0 - + @@ -926,13 +926,13 @@ -
+
GL_PACK_SKIP_PIXELS - + integer - + 0 - + @@ -940,13 +940,13 @@ -
+
GL_PACK_SKIP_IMAGES - + integer - + 0 - + @@ -954,37 +954,37 @@ -
+
GL_PACK_ALIGNMENT - + integer - + 4 - + 1, 2, 4, or 8 -
+
GL_UNPACK_SWAP_BYTES - + boolean - + false - + true or false -
+
GL_UNPACK_LSB_FIRST - + boolean - + false - + true or false -
+
GL_UNPACK_ROW_LENGTH - + integer - + 0 - + @@ -992,13 +992,13 @@ -
+
GL_UNPACK_IMAGE_HEIGHT - + integer - + 0 - + @@ -1006,13 +1006,13 @@ -
+
GL_UNPACK_SKIP_ROWS - + integer - + 0 - + @@ -1020,13 +1020,13 @@ -
+
GL_UNPACK_SKIP_PIXELS - + integer - + 0 - + @@ -1034,13 +1034,13 @@ -
+
GL_UNPACK_SKIP_IMAGES - + integer - + 0 - + @@ -1048,13 +1048,13 @@ -
+
GL_UNPACK_ALIGNMENT - + integer - + 4 - + 1, 2, 4, or 8

glPixelStoref can be used to set any pixel store parameter. diff --git a/gl3/glProvokingVertex.xhtml b/gl3/glProvokingVertex.xhtml index 7e18df2f..f0647b9c 100644 --- a/gl3/glProvokingVertex.xhtml +++ b/gl3/glProvokingVertex.xhtml @@ -8,82 +8,82 @@ provokeMode must be either GL_FIRST_VERTEX_CONVENTION or GL_LAST_VERTEX_CONVENTION, 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: -

+

Primitive Type of Polygon i - + First Vertex Convention - + Last Vertex Convention -
+
point - + i - + i -
+
independent line - + 2i - 1 - + 2i -
+
line loop - + i - +

i + 1, if i < n

1, if i = n

-
+
line strip - + i - + i + 1 -
+
independent triangle - + 3i - 2 - + 3i -
+
triangle strip - + i - + i + 2 -
+
triangle fan - + i + 1 - + i + 2 -
+
line adjacency - + 4i - 2 - + 4i - 1 -
+
line strip adjacency - + i + 1 - + i + 2 -
+
triangle adjacency - + 6i - 5 - + 6i - 1 -
+
triangle strip adjacency - + 2i - 1 - + 2i + 3

diff --git a/gl3/glReadPixels.xhtml b/gl3/glReadPixels.xhtml index f1a75923..8bb6f789 100644 --- a/gl3/glReadPixels.xhtml +++ b/gl3/glReadPixels.xhtml @@ -152,15 +152,15 @@ (or converted to the client's single-precision floating-point format if it is different from the one used by the GL).

-

+

type - + Index Mask - + Component Conversion -
+
GL_UNSIGNED_BYTE - + @@ -171,7 +171,7 @@ 1 - + @@ -188,9 +188,9 @@ c -
+
GL_BYTE - + @@ -201,7 +201,7 @@ 1 - + @@ -225,9 +225,9 @@ 2 -
+
GL_UNSIGNED_SHORT - + @@ -238,7 +238,7 @@ 1 - + @@ -255,9 +255,9 @@ c -
+
GL_SHORT - + @@ -268,7 +268,7 @@ 1 - + @@ -292,9 +292,9 @@ 2 -
+
GL_UNSIGNED_INT - + @@ -305,7 +305,7 @@ 1 - + @@ -322,9 +322,9 @@ c -
+
GL_INT - + @@ -335,7 +335,7 @@ 1 - + @@ -359,21 +359,21 @@ 2 -
+
GL_HALF_FLOAT - + none - + c -
+
GL_FLOAT - + none - + c -
+
GL_UNSIGNED_BYTE_3_3_2 - + @@ -384,7 +384,7 @@ 1 - + @@ -401,9 +401,9 @@ c -
+
GL_UNSIGNED_BYTE_2_3_3_REV - + @@ -414,7 +414,7 @@ 1 - + @@ -431,9 +431,9 @@ c -
+
GL_UNSIGNED_SHORT_5_6_5 - + @@ -444,7 +444,7 @@ 1 - + @@ -461,9 +461,9 @@ c -
+
GL_UNSIGNED_SHORT_5_6_5_REV - + @@ -474,7 +474,7 @@ 1 - + @@ -491,9 +491,9 @@ c -
+
GL_UNSIGNED_SHORT_4_4_4_4 - + @@ -504,7 +504,7 @@ 1 - + @@ -521,9 +521,9 @@ c -
+
GL_UNSIGNED_SHORT_4_4_4_4_REV - + @@ -534,7 +534,7 @@ 1 - + @@ -551,9 +551,9 @@ c -
+
GL_UNSIGNED_SHORT_5_5_5_1 - + @@ -564,7 +564,7 @@ 1 - + @@ -581,9 +581,9 @@ c -
+
GL_UNSIGNED_SHORT_1_5_5_5_REV - + @@ -594,7 +594,7 @@ 1 - + @@ -611,9 +611,9 @@ c -
+
GL_UNSIGNED_INT_8_8_8_8 - + @@ -624,7 +624,7 @@ 1 - + @@ -641,9 +641,9 @@ c -
+
GL_UNSIGNED_INT_8_8_8_8_REV - + @@ -654,7 +654,7 @@ 1 - + @@ -671,9 +671,9 @@ c -
+
GL_UNSIGNED_INT_10_10_10_2 - + @@ -684,7 +684,7 @@ 1 - + @@ -701,9 +701,9 @@ c -
+
GL_UNSIGNED_INT_2_10_10_10_REV - + @@ -714,7 +714,7 @@ 1 - + @@ -731,9 +731,9 @@ c -
+
GL_UNSIGNED_INT_24_8 - + @@ -744,7 +744,7 @@ 1 - + @@ -761,23 +761,23 @@ c -
+
GL_UNSIGNED_INT_10F_11F_11F_REV - + -- - + Special -
+
GL_UNSIGNED_INT_5_9_9_9_REV - + -- - + Special -
+
GL_FLOAT_32_UNSIGNED_INT_24_8_REV - + none - + c (Depth Only)

Return values are placed in memory as follows. diff --git a/gl3/glSamplerParameter.xhtml b/gl3/glSamplerParameter.xhtml index e411cc42..33e07cdb 100644 --- a/gl3/glSamplerParameter.xhtml +++ b/gl3/glSamplerParameter.xhtml @@ -464,13 +464,13 @@

GL_TEXTURE_COMPARE_FUNC

Specifies the comparison operator used when GL_TEXTURE_COMPARE_MODE is set to GL_COMPARE_REF_TO_TEXTURE. Permissible values are: -

+

Texture Comparison Function - + Computed result -
+
GL_LEQUAL - +
@@ -515,9 +515,9 @@
-
+
GL_GEQUAL - +
@@ -562,9 +562,9 @@
-
+
GL_LESS - +
@@ -609,9 +609,9 @@
-
+
GL_GREATER - +
@@ -656,9 +656,9 @@
-
+
GL_EQUAL - +
@@ -703,9 +703,9 @@
-
+
GL_NOTEQUAL - +
@@ -750,9 +750,9 @@
-
+
GL_ALWAYS - +
result @@ -760,9 +760,9 @@ 1.0
-
+
GL_NEVER - +
result diff --git a/gl3/glTexBuffer.xhtml b/gl3/glTexBuffer.xhtml index 4e8369c7..59f746dd 100644 --- a/gl3/glTexBuffer.xhtml +++ b/gl3/glTexBuffer.xhtml @@ -10,9 +10,9 @@ is zero, any buffer object attached to the buffer texture is detached and no new buffer object is attached. If buffer is non-zero, it must be the name of an existing buffer object. target must be GL_TEXTURE_BUFFER. internalformat specifies the storage format, and must be one of the following sized internal formats: -

     +

     Component -
Sized Internal FormatBase TypeComponentsNorm0123
GL_R8ubyte1YESR001
GL_R16ushort1YESR001
GL_R16Fhalf1NOR001
GL_R32Ffloat1NOR001
GL_R8Ibyte1NOR001
GL_R16Ishort1NOR001
GL_R32Iint1NOR001
GL_R8UIubyte1NOR001
GL_R16UIushort1NOR001
GL_R32UIuint1NOR001
GL_RG8ubyte2YESRG01
GL_RG16ushort2YESRG01
GL_RG16Fhalf2NORG01
GL_RG32Ffloat2NORG01
GL_RG8Ibyte2NORG01
GL_RG16Ishort2NORG01
GL_RG32Iint2NORG01
GL_RG8UIubyte2NORG01
GL_RG16UIushort2NORG01
GL_RG32UIuint2NORG01
GL_RGBA8uint4YESRGBA
GL_RGBA16short4YESRGBA
GL_RGBA16Fhalf4NORGBA
GL_RGBA32Ffloat4NORGBA
GL_RGBA8Ibyte4NORGBA
GL_RGBA16Ishort4NORGBA
GL_RGBA32Iint4NORGBA
GL_RGBA8UIubyte4NORGBA
GL_RGBA16UIushort4NORGBA
GL_RGBA32UIuint4NORGBA

+

Sized Internal FormatBase TypeComponentsNorm0123
GL_R8ubyte1YESR001
GL_R16ushort1YESR001
GL_R16Fhalf1NOR001
GL_R32Ffloat1NOR001
GL_R8Ibyte1NOR001
GL_R16Ishort1NOR001
GL_R32Iint1NOR001
GL_R8UIubyte1NOR001
GL_R16UIushort1NOR001
GL_R32UIuint1NOR001
GL_RG8ubyte2YESRG01
GL_RG16ushort2YESRG01
GL_RG16Fhalf2NORG01
GL_RG32Ffloat2NORG01
GL_RG8Ibyte2NORG01
GL_RG16Ishort2NORG01
GL_RG32Iint2NORG01
GL_RG8UIubyte2NORG01
GL_RG16UIushort2NORG01
GL_RG32UIuint2NORG01
GL_RGBA8uint4YESRGBA
GL_RGBA16short4YESRGBA
GL_RGBA16Fhalf4NORGBA
GL_RGBA32Ffloat4NORGBA
GL_RGBA8Ibyte4NORGBA
GL_RGBA16Ishort4NORGBA
GL_RGBA32Iint4NORGBA
GL_RGBA8UIubyte4NORGBA
GL_RGBA16UIushort4NORGBA
GL_RGBA32UIuint4NORGBA

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 texel array is given by diff --git a/gl3/glTexParameter.xhtml b/gl3/glTexParameter.xhtml index c5c4e520..fd588d32 100644 --- a/gl3/glTexParameter.xhtml +++ b/gl3/glTexParameter.xhtml @@ -113,13 +113,13 @@

GL_TEXTURE_COMPARE_FUNC

Specifies the comparison operator used when GL_TEXTURE_COMPARE_MODE is set to GL_COMPARE_REF_TO_TEXTURE. Permissible values are: -

+

Texture Comparison Function - + Computed result -
+
GL_LEQUAL - +
@@ -164,9 +164,9 @@
-
+
GL_GEQUAL - +
@@ -211,9 +211,9 @@
-
+
GL_LESS - +
@@ -258,9 +258,9 @@
-
+
GL_GREATER - +
@@ -305,9 +305,9 @@
-
+
GL_EQUAL - +
@@ -352,9 +352,9 @@
-
+
GL_NOTEQUAL - +
@@ -399,9 +399,9 @@
-
+
GL_ALWAYS - +
result @@ -409,9 +409,9 @@ 1.0
-
+
GL_NEVER - +
result diff --git a/html/copy/style.css b/html/copy/style.css index 196a5b3a..607e5834 100644 --- a/html/copy/style.css +++ b/html/copy/style.css @@ -301,6 +301,10 @@ a { display: none; } +.center { + text-align: center; +} + #command_title { margin-top: 10px; margin-bottom: 30px;