Class Texture3D

    • Method Detail

      • setMin

        public void setMin​(Number min)
      • setMax

        public void setMax​(Number max)
      • bind

        public void bind​(com.jogamp.opengl.GL gl)
                  throws com.jogamp.opengl.GLException
        Throws:
        com.jogamp.opengl.GLException
      • setTextureData

        public void setTextureData​(com.jogamp.opengl.GL gl,
                                   Buffer buffer,
                                   int[] shape)
        Parameters:
        gl -
        buffer - texture data
        shape - the dimensions of 3d texture.
      • draw

        public void draw​(IPainter painter)
        Description copied from class: Drawable
        Call OpenGL2 routines for rendering the object.
        Specified by:
        draw in interface IGLRenderer
        Specified by:
        draw in class Drawable
      • dispose

        public void dispose()
        Description copied from class: Drawable
        Performs all required operation to cleanup the Drawable.
        Overrides:
        dispose in class Drawable