Class GLUgl2es1


  • public class GLUgl2es1
    extends GLU
    • Constructor Detail

      • GLUgl2es1

        public GLUgl2es1()
        Instantiates a new OpenGL Utility Library object. A GLU object may be instantiated at any point in the application and is not inherently tied to any particular OpenGL context; however, the GLU object may only be used when an OpenGL context is current on the current thread. Attempts to call most of the methods in the GLU library when no OpenGL context is current will cause an exception to be thrown.

        The returned GLU object is not guaranteed to be thread-safe and should only be used from one thread at a time. Multiple GLU objects may be instantiated to be used from different threads simultaneously.

    • Method Detail

      • gluScaleImage

        public final int gluScaleImage​(int format,
                                       int widthin,
                                       int heightin,
                                       int typein,
                                       Buffer datain,
                                       int widthout,
                                       int heightout,
                                       int typeout,
                                       Buffer dataout)
        Optional, throws GLException if not available in profile
        Overrides:
        gluScaleImage in class GLU
      • gluBuild1DMipmapLevels

        public final int gluBuild1DMipmapLevels​(int target,
                                                int internalFormat,
                                                int width,
                                                int format,
                                                int type,
                                                int userLevel,
                                                int baseLevel,
                                                int maxLevel,
                                                Buffer data)
        Optional, throws GLException if not available in profile
        Overrides:
        gluBuild1DMipmapLevels in class GLU
      • gluBuild1DMipmaps

        public final int gluBuild1DMipmaps​(int target,
                                           int internalFormat,
                                           int width,
                                           int format,
                                           int type,
                                           Buffer data)
        Optional, throws GLException if not available in profile
        Overrides:
        gluBuild1DMipmaps in class GLU
      • gluBuild2DMipmapLevels

        public final int gluBuild2DMipmapLevels​(int target,
                                                int internalFormat,
                                                int width,
                                                int height,
                                                int format,
                                                int type,
                                                int userLevel,
                                                int baseLevel,
                                                int maxLevel,
                                                Buffer data)
        Optional, throws GLException if not available in profile
        Overrides:
        gluBuild2DMipmapLevels in class GLU
      • gluBuild2DMipmaps

        public final int gluBuild2DMipmaps​(int target,
                                           int internalFormat,
                                           int width,
                                           int height,
                                           int format,
                                           int type,
                                           Buffer data)
        Optional, throws GLException if not available in profile
        Overrides:
        gluBuild2DMipmaps in class GLU
      • gluBuild3DMipmapLevels

        public final int gluBuild3DMipmapLevels​(int target,
                                                int internalFormat,
                                                int width,
                                                int height,
                                                int depth,
                                                int format,
                                                int type,
                                                int userLevel,
                                                int baseLevel,
                                                int maxLevel,
                                                Buffer data)
        Optional, throws GLException if not available in profile
        Overrides:
        gluBuild3DMipmapLevels in class GLU
      • gluBuild3DMipmaps

        public final int gluBuild3DMipmaps​(int target,
                                           int internalFormat,
                                           int width,
                                           int height,
                                           int depth,
                                           int format,
                                           int type,
                                           Buffer data)
        Optional, throws GLException if not available in profile
        Overrides:
        gluBuild3DMipmaps in class GLU