*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/rgbmode (3)              
Title
Content
Arch
Section
 

Contents


RGBmode(3G)							   RGBmode(3G)


NAME    [Toc]    [Back]

     RGBmode - sets a rendering	and display mode that bypasses the color map

C SPECIFICATION    [Toc]    [Back]

     void RGBmode()

PARAMETERS    [Toc]    [Back]

     none

DESCRIPTION    [Toc]    [Back]

     RGBmode instructs the system to treat color as a 4-component entity in
     the currently active drawmode.  Currently RGB mode	is supported only by
     the normal	framebuffer, so	RGBmode	should be called only while in draw
     mode NORMALDRAW.  You must	call gconfig for RGBmode to take effect.

     While in RGB mode,	a framebuffer is configured to store separate color
     values for	red, green, blue, and alpha components.	 Lighting, shading,
     and fog calculations are done in the true,	RGB color space.  Colors and
     writemasks	must be	specified using	RGB-compatible commands	such as	c,
     cpack, and	wmpack.	 The red, green, and blue components stored in the
     framebuffer are used (after correction for	monitor	non-linearity) to
     directly control the color	guns of	the monitor.

     Many advanced rendering features, such as complex lighting	models,
     texture mapping, polygon antialiasing, and	fog, are available only	in RGB
     mode.

SEE ALSO    [Toc]    [Back]

      
      
     c,	cmode, cpack, gammaramp, gconfig, getdisplaymode, getgdesc, wmpack

NOTE    [Toc]    [Back]

     RGBmode is	not supported on all hardware configurations.  The command
     getgdesc can be used to determine how many	bitplanes in the normal
     framebuffer are available for each	color component	in both	single and
     double buffered RGB mode.

     This routine is available only in immediate mode.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
cmode IRIX sets color map mode as the current mode.
doublebuffer IRIX sets the display mode to double buffer mode
rgbcolor IRIX sets the current color in RGB mode
color IRIX sets the color index in the current draw mode
DXmSvnSetTreePosition Tru64 Sets the position of the tree in tree display mode.
glLogicOp Tru64 specify a logical pixel operation for color index rendering
gllogicop IRIX specify a logical pixel operation for color index rendering
SgColorChooserSetStoredColor IRIX A ColorChooser function that sets the color of the ColorChooser's stored color swatch
DXmColorMixSetNewColor Tru64 Sets the new color red, green, and blue values in the color mixing widget.
SgColorChooserSetCurrentColor IRIX A ColorChooser function that sets the selected color of the ColorChooser without changing the stored color
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service