Class SoShaderParameterMatrix3

All Implemented Interfaces:
SafeDisposable

public class SoShaderParameterMatrix3 extends SoUniformShaderParameter
Uniform shader parameter node storing a 3x3 matrix. This node allows the application to provide a uniform parameter of type 3x3 matrix 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.

File format/default:

ShaderParameterMatrix3 {

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

See Also:
  • Field Details

    • value

      public final SoSFMatrix3 value
      Specifies the parameter's value. Default is identity matrix.
  • Constructor Details

    • SoShaderParameterMatrix3

      public SoShaderParameterMatrix3()
      Constructor.