Class SoShaderParameterMatrixArray

All Implemented Interfaces:
SafeDisposable

public class SoShaderParameterMatrixArray extends SoUniformShaderParameter
Uniform shader parameter node storing an array of 4x4 matrices. This node allows the application to provide a uniform parameter of type array of 4x4 matrices 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 by programs witten using the ARB_ language.

File format/default:

ShaderParameterMatrixArray {

    name ""
    identifier 0
    value 1 0 0 0
    0 1 0 0
    0 0 1 0
    0 0 0 1
    shaderType VERTEX
}

See Also:
  • Field Details

    • value

      public final SoMFMatrix value
      Specifies the parameter's value.
  • Constructor Details

    • SoShaderParameterMatrixArray

      public SoShaderParameterMatrixArray()
      Constructor.