HP b2600 Reference Manual page 441

Opengl 1.1 reference
Hide thumbs Also See for b2600:
Table of Contents

Advertisement

color components using the GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G,
GL_PIXEL_MAP_I_TO_B, and GL_PIXEL_MAP_I_TO_A tables, and clamped to the
range [0,1].
GL_RED
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 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] (see glPixelTransfer).
GL_GREEN
Each element is a single green component. The GL converts it to floating point and
assembles it into an RGBA element by attaching 0 for red and blue, and 1 for alpha.
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] (see glPixelTransfer).
GL_BLUE
Each element is a single blue component. The GL converts it to floating point and
assembles it into an RGBA element by attaching 0 for red and green, and 1 for alpha.
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] (see glPixelTransfer).
GL_ALPHA
Each element is a single alpha component. The GL converts it to floating point and
assembles it into an RGBA element by attaching 0 for red, green, and blue. 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] (see glPixelTransfer).
GL_RGB
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 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] (see glPixelTransfer).
GL_RGBA
Each element contains all four components. 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] (see glPixelTransfer).
GL_LUMINANCE
Each element is a single luminance value. The GL converts it to floating point, then
assembles it into an RGBA element by replicating the luminance value three times for
red, green, and blue and attaching 1 for alpha. 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] (see glPixelTransfer).
GL_LUMINANCE_ALPHA
Each element is a luminance/alpha pair. The GL converts it to floating point, then
assembles it into an RGBA element by replicating the luminance value three times for
red, green, and blue. 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] (see
glPixelTransfer).
Chapter 18
T
glTexImage2D
441

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents