Class SoShaderParameterArray2f

All Implemented Interfaces:
SafeDisposable

public class SoShaderParameterArray2f extends SoUniformShaderParameter
Uniform shader parameter node storing an array of two-dimensional (float) vectors. This node allows the application to provide a uniform parameter of type array of two-dimensional vectors of floats 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.

NOTE: This parameter is not supported with programs written using the ARB_ language.

File format/default:

ShaderParameterArray2f {

    name ""
    identifier 0
    value 0 0
    shaderType VERTEX
}

See Also:
  • Field Details

    • value

      public final SoMFVec2f value
      Specifies the parameter's value. Default is one value (0,0).
  • Constructor Details

    • SoShaderParameterArray2f

      public SoShaderParameterArray2f()
      Constructor.