Class Shaderable

    • Constructor Detail

      • Shaderable

        public Shaderable()
    • Method Detail

      • init

        public void init​(IPainter painter,
                         com.jogamp.opengl.GL2 gl,
                         int width,
                         int height)
        Specified by:
        init in interface IShaderable
      • display

        public void display​(IPainter painter,
                            com.jogamp.opengl.GL2 gl,
                            com.jogamp.opengl.glu.GLU glu)
        Specified by:
        display in interface IShaderable
      • reshape

        public void reshape​(IPainter painter,
                            com.jogamp.opengl.GL2 gl,
                            int width,
                            int height)
        Specified by:
        reshape in interface IShaderable
      • loadProgram

        protected void loadProgram​(com.jogamp.opengl.GL2 gl)
      • destroyProgram

        protected void destroyProgram​(com.jogamp.opengl.GL2 gl)
      • executeProgram

        protected void executeProgram​(IPainter painter,
                                      com.jogamp.opengl.GL2 gl)
      • renderTasks

        protected void renderTasks​(IPainter painter,
                                   com.jogamp.opengl.GL2 gl)