RGBcolor man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



RGBcolor(3G)							  RGBcolor(3G)

NAME
     RGBcolor - sets the current color in RGB mode

C SPECIFICATION
     void RGBcolor(red, green, blue)
     short red, green, blue;

PARAMETERS
     red     expects the value indicating the intensity of the red component.

     green   expects the value indicating the intensity of the green
	     component.

     blue    expects the value indicating the intensity of the blue component.

DESCRIPTION
     RGBcolor sets the red, green, and blue color components of the currently
     active GL framebuffer, one of normal, popup, overlay, or underlay as
     specified by drawmode, to the specified values.  Alpha, when supported,
     is set to the maximum value.  The current framebuffer must be in RGB mode
     for the RGBcolor command to be applicable.	 Most drawing commands copy
     the current RGBA color components into the color bitplanes of the current
     framebuffer.  Color components are retained in each draw mode, so when a
     draw mode is re-entered, red, green, blue, and alpha are reset to the
     last values specified in that draw mode.

     Color component values range from 0, specifying no intensity, through
     255, specifying maximum intensity.	 Values that exceed 255 are clamped to
     it.  Values less than 0 are not clamped, and therefore result in
     unpredictable operation.

     It is an error to call RGBcolor while the current framebuffer is in color
     map mode.

     The color components of all framebuffers in RGB mode are set to zero when
     gconfig is called.

SEE ALSO
     c, cpack, drawmode, gRGBcolor, lmcolor, RGBmode

NOTE
     RGBcolor can also be used to modify the current material while lighting
     is active (see lmcolor).

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net