Class RenderState.ProgramLocal

    • Constructor Detail

      • ProgramLocal

        public ProgramLocal()
    • Method Detail

      • getRenderStateId

        public final int getRenderStateId()
      • update

        public final boolean update​(GL2ES2 gl,
                                    RenderState rs,
                                    boolean updateLocation,
                                    int renderModes,
                                    boolean pass1,
                                    boolean throwOnError)

        Since RenderState data is being used in multiple ShaderPrograms the data must always be written.

        Parameters:
        gl -
        updateLocation -
        renderModes -
        throwOnError - TODO
        Returns:
        true if no error occurred, i.e. all locations found, otherwise false.