SoShaderParameter1f(3)

NAME
SoShaderParameter1f - The SoShaderParameter1f class is used to define a floating point value as shader parameter.

SYNOPSIS

#include <Inventor/nodes/SoShaderParameter.h>

Inherits SoUniformShaderParameter.

  Public Member Functions
virtual SoType getTypeId (void) const
virtual void updateParameter (SoGLShaderObject *shaderObject)
Updates the shader parameter in the OpenGL state with the content of the value field.

  Static Public Member Functions
static SoType getClassTypeId (void)
static void initClass ()
Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.

  Public Attributes
SoSFFloat value

  Protected Member Functions
virtual const SoFieldData * getFieldData (void) const

  Static Protected Member Functions
static const SoFieldData ** getFieldDataPtr (void)

  Additional Inherited Members

Detailed Description

The SoShaderParameter1f class is used to define a floating point value as shader parameter.

Member Function Documentation

  SoType SoShaderParameter1f::getClassTypeId (void) [static]
This static method returns the SoType object associated with objects of this class.

  SoType SoShaderParameter1f::getTypeId (void) const [virtual]
Returns the type identification of an object derived from a class inheriting SoBase. This is used for runtime type checking and 'downward' casting.

Reimplemented from SoUniformShaderParameter.

  const SoFieldData ** SoShaderParameter1f::getFieldDataPtr (void) [static], [protected]
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
 Returns the SoFieldData class which holds information about fields in this node.

  const SoFieldData * SoShaderParameter1f::getFieldData (void) const [protected], [virtual]
Returns a pointer to the class-wide field data storage object for this instance. If no fields are present, returns NULL.

Reimplemented from SoUniformShaderParameter.

Member Data Documentation

  SoSFFloat SoShaderParameter1f::value
The shader parameter value.

Author

Generated automatically by Doxygen for Coin from the source code.