Class SoShaderParameter1i

All Implemented Interfaces:
SafeDisposable

public class SoShaderParameter1i extends SoUniformShaderParameter
Uniform shader parameter node storing an integer. This node allows the application to provide a uniform parameter of type integer 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:

ShaderParameter1i {

    name ""
    identifier 0
    value 0
    shaderType VERTEX
}

See Also:
  • Field Details

    • value

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

    • SoShaderParameter1i

      public SoShaderParameter1i()
      Constructor.