Package nub.core

Class MatrixHandler


  • public class MatrixHandler
    extends Object
    The matrix handler specifies (and implements) various matrix operations needed by the Graph to properly perform its geometry transformations.

    To emit the transform() matrix to a shader override the _setUniforms() signal, which is fired automatically by the handler every time one of its matrices change state. See also projection(), view() and model().

    To bind a Graph object to a third party renderer (i.e., that renderer provides its own matrix handling: matrix transformations, shader uniforms transfers, etc), refer to the bind(Matrix, Matrix) documentation.