X-Git-Url: https://git.hcoop.net/clinton/guile-figl.git/blobdiff_plain/13027b2dbc5b77e5906584aefc2fc9f16047e471..f37e7e3da00d7a96241aae763b8835eef0fd232c:/upstream-doc/man4/xhtml/glTexImage2D.xml
diff --git a/upstream-doc/man4/xhtml/glTexImage2D.xml b/upstream-doc/man4/xhtml/glTexImage2D.xml
index c9e445a..6729629 100644
--- a/upstream-doc/man4/xhtml/glTexImage2D.xml
+++ b/upstream-doc/man4/xhtml/glTexImage2D.xml
@@ -121,23 +121,33 @@
Each element is a single red component.
The GL converts it to floating point and assembles it into an RGBA element
by attaching 0 for green and blue, and 1 for alpha.
- Each component is clamped to the range [0,1].
+ Each component is then multiplied by the signed scale factor GL_c_SCALE
,
+ added to the signed bias GL_c_BIAS
,
+ and clamped to the range [0,1].
GL_RG
Each element is a red/green double.
The GL converts it to floating point and assembles it into an RGBA element
by attaching 0 for blue, and 1 for alpha.
- Each component is clamped to the range [0,1].
+ Each component is then multiplied by the signed scale factor GL_c_SCALE
,
+ added to the signed bias GL_c_BIAS
,
+ and clamped to the range [0,1].
GL_RGB
GL_BGR
Each element is an RGB triple.
The GL converts it to floating point and assembles it into an RGBA element
by attaching 1 for alpha.
- Each component is clamped to the range [0,1].
+ Each component is then multiplied by the signed scale factor GL_c_SCALE
,
+ added to the signed bias GL_c_BIAS
,
+ and clamped to the range [0,1].
GL_RGBA
GL_BGRA
Each element contains all four components.
- Each component is clamped to the range [0,1].
+ Each component is multiplied by the signed scale factor GL_c_SCALE
,
+ added to the signed bias GL_c_BIAS
,
+ and clamped to the range [0,1].
GL_DEPTH_COMPONENT
Each element is a single depth value.
- The GL converts it to floating point and clamps to the range [0,1].
+ The GL converts it to floating point, multiplies by the signed scale factor
+ GL_DEPTH_SCALE
, adds the signed bias GL_DEPTH_BIAS
,
+ and clamps to the range [0,1].
GL_DEPTH_STENCIL
Each element is a pair of depth and stencil values. The depth component of
the pair is interpreted as in GL_DEPTH_COMPONENT
. The stencil
@@ -155,7 +165,7 @@
internalFormat
may be one of the base internal formats shown in
Table 1, below
-
Table 1. Base Internal Formats
+ Table 1. Base Internal Formats
|
---|