fglFragmentColorMaterialSGIX man page on IRIX

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



fglFragmentColorMaterial(3G)   OpenGL Reference	  fglFragmentColorMaterial(3G)

NAME
     fglFragmentColorMaterialSGIX - cause a fragment material color to track
     the current fragment color

FORTRAN SPECIFICATION
     SUBROUTINE fglFragmentColorMaterialSGIX( INTEGER*4 face,
					      INTEGER*4 mode )

PARAMETERS
     face  Specifies whether front, back, or both front and back fragment
	   material parameters should track the current fragment color.
	   Accepted values are GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK.  The
	   initial value is GL_FRONT_AND_BACK.

     mode  Specifies which of several fragment material parameters track the
	   current fragment color.  Accepted values are GL_EMISSION,
	   GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, and GL_AMBIENT_AND_DIFFUSE.
	   The initial value is GL_AMBIENT_AND_DIFFUSE.

DESCRIPTION
     fglFragmentColorMaterial specifies which fragment material parameters
     track the current fragment color.	When GL_FRAGMENT_COLOR_MATERIAL_SGIX
     is enabled, the material parameter or parameters specified by mode, of
     the material or materials specified by face, track the evaluated fragment
     color at each vertex.

     To enable and disable GL_FRAGMENT_COLOR_MATERIAL_SGIX, call fglEnable and
     fglDisable with argument GL_FRAGMENT_COLOR_MATERIAL_SGIX.
     GL_FRAGMENT_COLOR_MATERIAL_SGIX is initially disabled.

NOTES
     If GL_FRAGMENT_COLOR_MATERIAL_SGIX is enabled the specified fragment
     material parameters used in fragment lighting calculations will track the
     fragment color calculated by the regular OpenGL Color and Lighting
     operations.  Other parameters will use values specified by the most
     recent call to fglFragmentMaterial at the time of the provoking vertex.

     Note that the color used is the result after applying all regular OpenGL
     Lighting calculations, not simply the color supplied in the most recent
     call to fglColor.

ERRORS
     GL_INVALID_ENUM is generated if face or mode is not an accepted value.

     GL_INVALID_OPERATION is generated if fglFragmentColorMaterial is executed
     between the execution of fglBegin and the corresponding execution of
     fglEnd.

									Page 1

fglFragmentColorMaterial(3G)   OpenGL Reference	  fglFragmentColorMaterial(3G)

ASSOCIATED GETS
     fglIsEnabled with argument GL_FRAGMENT_COLOR_MATERIAL_SGIX
     fglGet with argument GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX
     fglGet with argument GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX

MACHINE DEPENDENCIES
     The SGIX_fragment_lighting extension is supported only on Octane2 VPro
     systems.

SEE ALSO
     fglColor, fglEnable, fglFragmentLight, fglFragmentLightModel,
     fglFragmentMaterial

									Page 2

[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