Class SoShaderParameter1f

All Implemented Interfaces:
SafeDisposable

public class SoShaderParameter1f extends SoUniformShaderParameter
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:

ShaderParameter1f {

    name ""
    identifier 0
    value 0
    shaderType VERTEX
}

See Also:
  • Field Details

    • value

      public final SoSFFloat value
      Specifies the parameter's value. Default is zero.
  • Constructor Details

    • SoShaderParameter1f

      public SoShaderParameter1f()
      Constructor.