Man Linux: Main Page and Category List

NAME

       SoFragmentShader -

       The SoFragmentShader class is used for setting up fragment shader
       programs.

       See Shaders in Coin  for more information on how to set up a scene
       graph with shaders.

SYNOPSIS

       #include <Inventor/nodes/SoFragmentShader.h>

       Inherits SoShaderObject.

   Public Member Functions
       SoFragmentShader (void)
       virtual ~SoFragmentShader ()

   Static Public Member Functions
       static void initClass (void)
       static SbBool isSupported (SourceType sourceType)

Detailed Description

       The SoFragmentShader class is used for setting up fragment shader
       programs.

       See Shaders in Coin  for more information on how to set up a scene
       graph with shaders.

       FILE FORMAT/DEFAULTS:

           FragmentShader {
             isActive TRUE
             sourceType FILENAME
             sourceProgram ’’
             parameter []
           }

       See also:
           SoShaderObject

           SoShaderProgram

       Since:
           Coin 2.5

Constructor & Destructor Documentation

   SoFragmentShader::SoFragmentShader (void) Constructor.
   SoFragmentShader::~SoFragmentShader () [virtual] Destructor.

Member Function Documentation

   void SoFragmentShader::initClass (void) [static] Sets up initialization for
       data common to all instances of this class, like submitting necessary
       information to the Coin type system.
       Reimplemented from SoShaderObject.

   SbBool SoFragmentShader::isSupported (SourceType sourceType) [static]
       Returns a boolean indicating whether the requested source type is
       supported by the OpenGL driver or not.
       Beware: To get a correct answer, a valid OpenGL context must be
       available.

Author

       Generated automatically by Doxygen for Coin from the source code.