SoShaderParameter1f Class Reference
[Shaders]

VSG extension Uniform shader parameter node storing a float value. More...

#include <Inventor/nodes/SoShaderParameter.h>

Inheritance diagram for SoShaderParameter1f:
SoUniformShaderParameter SoShaderParameter SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoShaderParameter1f ()
virtual bool isEqual (const SoUniformShaderParameter *param) const

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFFloat value

Detailed Description

VSG extension Uniform shader parameter node storing a float value.

This node allows the application to provide a uniform parameter of type float to a shader object, e.g. SoFragmentShader.

Uniform shader parameter nodes are usually added to the shader object's parameter field to affect only that specific shader program, but can also be inserted in the scene graph and affect all subsequent shader programs.

See the base classes SoShaderParameter and SoUniformShaderParameter for details.

FILE FORMAT/DEFAULT

SEE ALSO

SoShaderParameter, SoUniformShaderParameter. SoShaderParameter1i, SoShaderParameter2f, SoShaderParameter2i, SoShaderParameter3f, SoShaderParameter3i, SoShaderParameter4f, SoShaderParameter4i, SoShaderParameterArray1f, SoShaderParameterArray1i, SoShaderParameterArray2f, SoShaderParameterArray2i, SoShaderParameterArray3f, SoShaderParameterArray3i, SoShaderParameterArray4f, SoShaderParameterArray4i, SoShaderParameterMatrix, SoShaderParameterMatrixArray, SoShaderStateMatrixParameter, SoShaderObject, SoShaderProgram.

See related examples:

MedicalDentalCurveUnfolding


Constructor & Destructor Documentation

SoShaderParameter1f::SoShaderParameter1f (  ) 

Constructor.


Member Function Documentation

static SoType SoShaderParameter1f::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoUniformShaderParameter.

virtual SoType SoShaderParameter1f::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoUniformShaderParameter.

virtual bool SoShaderParameter1f::isEqual ( const SoUniformShaderParameter param  )  const [virtual]

Equality operator.


Member Data Documentation

Specifies the parameter's value.

Default is zero.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/