Class EquirectTopoProgram


  • public class EquirectTopoProgram
    extends Object
    • Field Detail

      • vertShader_GLSL

        public static final String vertShader_GLSL
      • radiansFragShader_GLSL

        public static final String radiansFragShader_GLSL
      • degreesFragShader_GLSL

        public static final String degreesFragShader_GLSL
    • Method Detail

      • fragShader_GLSL

        public static String fragShader_GLSL​(boolean xyInDegrees)
      • handles

        public EquirectTopoProgram.Handles handles​(com.jogamp.opengl.GL2ES2 gl)
        Returns the raw GL handles for the shader program, uniforms, and attributes. Compiles and links the program, if necessary.
      • dispose

        public void dispose​(GlimpseContext context)
        Deletes the program, and resets this object to the way it was before #begin(GL3) was first called.

        This object can be safely reused after being disposed, but in most cases there is no significant advantage to doing so.