Class GL11

    • Method Detail

      • glEnable

        public static void glEnable​(int target)
        Enables the specified OpenGL state.
        Parameters:
        target - the OpenGL state to enable
        See Also:
        Reference Page
      • glDisable

        public static void glDisable​(int target)
        Disables the specified OpenGL state.
        Parameters:
        target - the OpenGL state to disable
        See Also:
        Reference Page
      • glAccum

        public static void glAccum​(int op,
                                   float value)
        Each portion of a pixel in the accumulation buffer consists of four values: one for each of R, G, B, and A. The accumulation buffer is controlled exclusively through the use of this method (except for clearing it).
        Parameters:
        op - a symbolic constant indicating an accumulation buffer operation
        value - a floating-point value to be used in that operation. One of:
        ACCUMLOADRETURNMULTADD
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glAlphaFunc

        public static void glAlphaFunc​(int func,
                                       float ref)
        The alpha test discards a fragment conditionally based on the outcome of a comparison between the incoming fragment’s alpha value and a constant value. The comparison is enabled or disabled with the generic Enable and Disable commands using the symbolic constant ALPHA_TEST. When disabled, it is as if the comparison always passes. The test is controlled with this method.
        Parameters:
        func - a symbolic constant indicating the alpha test function. One of:
        NEVERALWAYSLESSLEQUALEQUALGEQUALGREATERNOTEQUAL
        ref - a reference value clamped to the range [0, 1]. When performing the alpha test, the GL will convert the reference value to the same representation as the fragment's alpha value (floating-point or fixed-point).
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglAreTexturesResident

        public static boolean nglAreTexturesResident​(int n,
                                                     long textures,
                                                     long residences)
        Unsafe version of: AreTexturesResident
        Parameters:
        n - the number of texture objects in textures
      • glAreTexturesResident

        public static boolean glAreTexturesResident​(java.nio.IntBuffer textures,
                                                    java.nio.ByteBuffer residences)
        Returns TRUE if all of the texture objects named in textures are resident, or if the implementation does not distinguish a working set. If at least one of the texture objects named in textures is not resident, then FALSE is returned, and the residence of each texture object is returned in residences. Otherwise the contents of residences are not changed.
        Parameters:
        textures - an array of texture objects
        residences - returns the residences of each texture object
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glAreTexturesResident

        public static boolean glAreTexturesResident​(int texture,
                                                    java.nio.ByteBuffer residences)
        Returns TRUE if all of the texture objects named in textures are resident, or if the implementation does not distinguish a working set. If at least one of the texture objects named in textures is not resident, then FALSE is returned, and the residence of each texture object is returned in residences. Otherwise the contents of residences are not changed.
        Parameters:
        residences - returns the residences of each texture object
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glArrayElement

        public static void glArrayElement​(int i)
        Transfers the ith element of every enabled, non-instanced array, and the first element of every enabled, instanced array to the GL.
        Parameters:
        i - the element to transfer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglBitmap

        public static void nglBitmap​(int w,
                                     int h,
                                     float xOrig,
                                     float yOrig,
                                     float xInc,
                                     float yInc,
                                     long data)
        Unsafe version of: Bitmap
      • glBitmap

        public static void glBitmap​(int w,
                                    int h,
                                    float xOrig,
                                    float yOrig,
                                    float xInc,
                                    float yInc,
                                    @Nullable
                                    java.nio.ByteBuffer data)
        
        public static void glBitmap​(int w,
                                    int h,
                                    float xOrig,
                                    float yOrig,
                                    float xInc,
                                    float yInc,
                                    @Nullable
                                    long data)
        
        Sents a bitmap to the GL. Bitmaps are rectangles of zeros and ones specifying a particular pattern of fragments to be produced. Each of these fragments has the same associated data. These data are those associated with the current raster position.
        Parameters:
        w - the bitmap width
        h - the bitmap width
        xOrig - the bitmap origin x coordinate
        yOrig - the bitmap origin y coordinate
        xInc - the x increment added to the raster position
        yInc - the y increment added to the raster position
        data - the buffer containing the bitmap data.
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glCallList

        public static void glCallList​(int list)
        Executes a display list. Causes the commands saved in the display list to be executed, in order, just as if they were issued without using a display list.
        Parameters:
        list - the index of the display list to be called
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glCallLists

        public static void glCallLists​(int type,
                                       java.nio.ByteBuffer lists)
        Provides an efficient means for executing a number of display lists.
        Parameters:
        type - the data type of each element in lists. One of:
        BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTFLOAT2_BYTES3_BYTES4_BYTES
        lists - an array of offsets. Each offset is added to the display list base to obtain the display list number.
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glCallLists

        public static void glCallLists​(java.nio.ByteBuffer lists)
        
        public static void glCallLists​(java.nio.ShortBuffer lists)
        
        public static void glCallLists​(java.nio.IntBuffer lists)
        
        Provides an efficient means for executing a number of display lists.
        Parameters:
        lists - an array of offsets. Each offset is added to the display list base to obtain the display list number.
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glClear

        public static void glClear​(int mask)
        Sets portions of every pixel in a particular buffer to the same value. The value to which each buffer is cleared depends on the setting of the clear value for that buffer.
        Parameters:
        mask - Zero or the bitwise OR of one or more values indicating which buffers are to be cleared. One or more of:
        COLOR_BUFFER_BITDEPTH_BUFFER_BITSTENCIL_BUFFER_BIT
        See Also:
        Reference Page
      • glClearAccum

        public static void glClearAccum​(float red,
                                        float green,
                                        float blue,
                                        float alpha)
        Sets the clear values for the accumulation buffer. These values are clamped to the range [-1,1] when they are specified.
        Parameters:
        red - the value to which to clear the R values of the accumulation buffer
        green - the value to which to clear the G values of the accumulation buffer
        blue - the value to which to clear the B values of the accumulation buffer
        alpha - the value to which to clear the A values of the accumulation buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glClearColor

        public static void glClearColor​(float red,
                                        float green,
                                        float blue,
                                        float alpha)
        Sets the clear value for fixed-point and floating-point color buffers in RGBA mode. The specified components are stored as floating-point values.
        Parameters:
        red - the value to which to clear the R channel of the color buffer
        green - the value to which to clear the G channel of the color buffer
        blue - the value to which to clear the B channel of the color buffer
        alpha - the value to which to clear the A channel of the color buffer
        See Also:
        Reference Page
      • glClearDepth

        public static void glClearDepth​(double depth)
        Sets the depth value used when clearing the depth buffer. When clearing a fixedpoint depth buffer, depth is clamped to the range [0,1] and converted to fixed-point. No conversion is applied when clearing a floating-point depth buffer.
        Parameters:
        depth - the value to which to clear the depth buffer
        See Also:
        Reference Page
      • glClearIndex

        public static void glClearIndex​(float index)
        sets the clear color index. index is converted to a fixed-point value with unspecified precision to the left of the binary point; the integer part of this value is then masked with 2m – 1, where m is the number of bits in a color index value stored in the framebuffer.
        Parameters:
        index - the value to which to clear the color buffer in color index mode
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glClearStencil

        public static void glClearStencil​(int s)
        Sets the value to which to clear the stencil buffer. s is masked to the number of bitplanes in the stencil buffer.
        Parameters:
        s - the value to which to clear the stencil buffer
        See Also:
        Reference Page
      • nglClipPlane

        public static void nglClipPlane​(int plane,
                                        long equation)
        Unsafe version of: ClipPlane
      • glClipPlane

        public static void glClipPlane​(int plane,
                                       java.nio.DoubleBuffer equation)
        Specifies a client-defined clip plane.

        The value of the first argument, plane, is a symbolic constant, CLIP_PLANEi, where i is an integer between 0 and n – 1, indicating one of n client-defined clip planes. equation is an array of four double-precision floating-point values. These are the coefficients of a plane equation in object coordinates: p1, p2, p3, and p4 (in that order).

        Parameters:
        plane - the clip plane to define
        equation - the clip plane coefficients
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glColor3b

        public static void glColor3b​(byte red,
                                     byte green,
                                     byte blue)
        Sets the R, G, and B components of the current color. The alpha component is set to 1.0.
        Parameters:
        red - the red component of the current color
        green - the green component of the current color
        blue - the blue component of the current color
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glColor3s

        public static void glColor3s​(short red,
                                     short green,
                                     short blue)
        Short version of Color3b
        Parameters:
        red - the red component of the current color
        green - the green component of the current color
        blue - the blue component of the current color
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glColor3i

        public static void glColor3i​(int red,
                                     int green,
                                     int blue)
        Integer version of Color3b
        Parameters:
        red - the red component of the current color
        green - the green component of the current color
        blue - the blue component of the current color
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glColor3f

        public static void glColor3f​(float red,
                                     float green,
                                     float blue)
        Float version of Color3b
        Parameters:
        red - the red component of the current color
        green - the green component of the current color
        blue - the blue component of the current color
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glColor3d

        public static void glColor3d​(double red,
                                     double green,
                                     double blue)
        Double version of Color3b
        Parameters:
        red - the red component of the current color
        green - the green component of the current color
        blue - the blue component of the current color
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glColor3ub

        public static void glColor3ub​(byte red,
                                      byte green,
                                      byte blue)
        Unsigned version of Color3b
        Parameters:
        red - the red component of the current color
        green - the green component of the current color
        blue - the blue component of the current color
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glColor3us

        public static void glColor3us​(short red,
                                      short green,
                                      short blue)
        Unsigned short version of Color3b
        Parameters:
        red - the red component of the current color
        green - the green component of the current color
        blue - the blue component of the current color
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glColor3ui

        public static void glColor3ui​(int red,
                                      int green,
                                      int blue)
        Unsigned int version of Color3b
        Parameters:
        red - the red component of the current color
        green - the green component of the current color
        blue - the blue component of the current color
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglColor3bv

        public static void nglColor3bv​(long v)
        Unsafe version of: Color3bv
      • glColor3bv

        public static void glColor3bv​(java.nio.ByteBuffer v)
        Byte pointer version of Color3b.
        Parameters:
        v - the color buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglColor3sv

        public static void nglColor3sv​(long v)
        Unsafe version of: Color3sv
      • glColor3sv

        public static void glColor3sv​(java.nio.ShortBuffer v)
        Pointer version of Color3s.
        Parameters:
        v - the color buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglColor3iv

        public static void nglColor3iv​(long v)
        Unsafe version of: Color3iv
      • glColor3iv

        public static void glColor3iv​(java.nio.IntBuffer v)
        Pointer version of Color3i.
        Parameters:
        v - the color buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglColor3fv

        public static void nglColor3fv​(long v)
        Unsafe version of: Color3fv
      • glColor3fv

        public static void glColor3fv​(java.nio.FloatBuffer v)
        Pointer version of Color3f.
        Parameters:
        v - the color buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglColor3dv

        public static void nglColor3dv​(long v)
        Unsafe version of: Color3dv
      • glColor3dv

        public static void glColor3dv​(java.nio.DoubleBuffer v)
        Pointer version of Color3d.
        Parameters:
        v - the color buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglColor3ubv

        public static void nglColor3ubv​(long v)
        Unsafe version of: Color3ubv
      • glColor3ubv

        public static void glColor3ubv​(java.nio.ByteBuffer v)
        Pointer version of Color3ub.
        Parameters:
        v - the color buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglColor3usv

        public static void nglColor3usv​(long v)
        Unsafe version of: Color3usv
      • glColor3usv

        public static void glColor3usv​(java.nio.ShortBuffer v)
        Pointer version of Color3us.
        Parameters:
        v - the color buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglColor3uiv

        public static void nglColor3uiv​(long v)
        Unsafe version of: Color3uiv
      • glColor3uiv

        public static void glColor3uiv​(java.nio.IntBuffer v)
        Pointer version of Color3ui.
        Parameters:
        v - the color buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glColor4b

        public static void glColor4b​(byte red,
                                     byte green,
                                     byte blue,
                                     byte alpha)
        Sets the current color.
        Parameters:
        red - the red component of the current color
        green - the green component of the current color
        blue - the blue component of the current color
        alpha - the alpha component of the current color
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glColor4s

        public static void glColor4s​(short red,
                                     short green,
                                     short blue,
                                     short alpha)
        Short version of Color4b
        Parameters:
        red - the red component of the current color
        green - the green component of the current color
        blue - the blue component of the current color
        alpha - the alpha component of the current color
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glColor4i

        public static void glColor4i​(int red,
                                     int green,
                                     int blue,
                                     int alpha)
        Integer version of Color4b
        Parameters:
        red - the red component of the current color
        green - the green component of the current color
        blue - the blue component of the current color
        alpha - the alpha component of the current color
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glColor4f

        public static void glColor4f​(float red,
                                     float green,
                                     float blue,
                                     float alpha)
        Float version of Color4b
        Parameters:
        red - the red component of the current color
        green - the green component of the current color
        blue - the blue component of the current color
        alpha - the alpha component of the current color
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glColor4d

        public static void glColor4d​(double red,
                                     double green,
                                     double blue,
                                     double alpha)
        Double version of Color4b
        Parameters:
        red - the red component of the current color
        green - the green component of the current color
        blue - the blue component of the current color
        alpha - the alpha component of the current color
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glColor4ub

        public static void glColor4ub​(byte red,
                                      byte green,
                                      byte blue,
                                      byte alpha)
        Unsigned version of Color4b
        Parameters:
        red - the red component of the current color
        green - the green component of the current color
        blue - the blue component of the current color
        alpha - the alpha component of the current color
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glColor4us

        public static void glColor4us​(short red,
                                      short green,
                                      short blue,
                                      short alpha)
        Unsigned short version of Color4b
        Parameters:
        red - the red component of the current color
        green - the green component of the current color
        blue - the blue component of the current color
        alpha - the alpha component of the current color
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glColor4ui

        public static void glColor4ui​(int red,
                                      int green,
                                      int blue,
                                      int alpha)
        Unsigned int version of Color4b
        Parameters:
        red - the red component of the current color
        green - the green component of the current color
        blue - the blue component of the current color
        alpha - the alpha component of the current color
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglColor4bv

        public static void nglColor4bv​(long v)
        Unsafe version of: Color4bv
      • glColor4bv

        public static void glColor4bv​(java.nio.ByteBuffer v)
        Pointer version of Color4b.
        Parameters:
        v - the color buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglColor4sv

        public static void nglColor4sv​(long v)
        Unsafe version of: Color4sv
      • glColor4sv

        public static void glColor4sv​(java.nio.ShortBuffer v)
        Pointer version of Color4s.
        Parameters:
        v - the color buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglColor4iv

        public static void nglColor4iv​(long v)
        Unsafe version of: Color4iv
      • glColor4iv

        public static void glColor4iv​(java.nio.IntBuffer v)
        Pointer version of Color4i.
        Parameters:
        v - the color buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglColor4fv

        public static void nglColor4fv​(long v)
        Unsafe version of: Color4fv
      • glColor4fv

        public static void glColor4fv​(java.nio.FloatBuffer v)
        Pointer version of Color4f.
        Parameters:
        v - the color buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglColor4dv

        public static void nglColor4dv​(long v)
        Unsafe version of: Color4dv
      • glColor4dv

        public static void glColor4dv​(java.nio.DoubleBuffer v)
        Pointer version of Color4d.
        Parameters:
        v - the color buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglColor4ubv

        public static void nglColor4ubv​(long v)
        Unsafe version of: Color4ubv
      • glColor4ubv

        public static void glColor4ubv​(java.nio.ByteBuffer v)
        Pointer version of Color4ub.
        Parameters:
        v - the color buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglColor4usv

        public static void nglColor4usv​(long v)
        Unsafe version of: Color4usv
      • glColor4usv

        public static void glColor4usv​(java.nio.ShortBuffer v)
        Pointer version of Color4us.
        Parameters:
        v - the color buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglColor4uiv

        public static void nglColor4uiv​(long v)
        Unsafe version of: Color4uiv
      • glColor4uiv

        public static void glColor4uiv​(java.nio.IntBuffer v)
        Pointer version of Color4ui.
        Parameters:
        v - the color buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glColorMask

        public static void glColorMask​(boolean red,
                                       boolean green,
                                       boolean blue,
                                       boolean alpha)
        Masks the writing of R, G, B and A values to all draw buffers. In the initial state, all color values are enabled for writing for all draw buffers.
        Parameters:
        red - whether R values are written or not
        green - whether G values are written or not
        blue - whether B values are written or not
        alpha - whether A values are written or not
        See Also:
        Reference Page
      • glColorMaterial

        public static void glColorMaterial​(int face,
                                           int mode)
        It is possible to attach one or more material properties to the current color, so that they continuously track its component values. This behavior is enabled and disabled by calling Enable or Disable with the symbolic value COLOR_MATERIAL. This function controls which of these modes is selected.
        Parameters:
        face - specifies which material face is affected by the current color. One of:
        FRONTBACKFRONT_AND_BACK
        mode - specifies which material property or properties track the current color. One of:
        EMISSIONAMBIENTDIFFUSESPECULARAMBIENT_AND_DIFFUSE
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglColorPointer

        public static void nglColorPointer​(int size,
                                           int type,
                                           int stride,
                                           long pointer)
        Unsafe version of: ColorPointer
      • glColorPointer

        public static void glColorPointer​(int size,
                                          int type,
                                          int stride,
                                          java.nio.ByteBuffer pointer)
        
        public static void glColorPointer​(int size,
                                          int type,
                                          int stride,
                                          long pointer)
        
        public static void glColorPointer​(int size,
                                          int type,
                                          int stride,
                                          java.nio.ShortBuffer pointer)
        
        public static void glColorPointer​(int size,
                                          int type,
                                          int stride,
                                          java.nio.IntBuffer pointer)
        
        public static void glColorPointer​(int size,
                                          int type,
                                          int stride,
                                          java.nio.FloatBuffer pointer)
        
        Specifies the location and organization of a color array.
        Parameters:
        size - the number of values per vertex that are stored in the array, as well as their component ordering. One of:
        34BGRA
        type - the data type of the values stored in the array. One of:
        BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOAT
        FLOATDOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REV
        stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentially
        pointer - the color array data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glCopyPixels

        public static void glCopyPixels​(int x,
                                        int y,
                                        int width,
                                        int height,
                                        int type)
        Transfers a rectangle of pixel values from one region of the read framebuffer to another in the draw framebuffer
        Parameters:
        x - the left framebuffer pixel coordinate
        y - the lower framebuffer pixel coordinate
        width - the rectangle width
        height - the rectangle height
        type - Indicates the type of values to be transfered. One of:
        COLORSTENCILDEPTHDEPTH_STENCIL
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glCullFace

        public static void glCullFace​(int mode)
        Specifies which polygon faces are culled if CULL_FACE is enabled. Front-facing polygons are rasterized if either culling is disabled or the CullFace mode is BACK while back-facing polygons are rasterized only if either culling is disabled or the CullFace mode is FRONT. The initial setting of the CullFace mode is BACK. Initially, culling is disabled.
        Parameters:
        mode - the CullFace mode. One of:
        FRONTBACKFRONT_AND_BACK
        See Also:
        Reference Page
      • glDeleteLists

        public static void glDeleteLists​(int list,
                                         int range)
        Deletes a contiguous group of display lists. All information about the display lists is lost, and the indices become unused. Indices to which no display list corresponds are ignored. If range is zero, nothing happens.
        Parameters:
        list - the index of the first display list to be deleted
        range - the number of display lists to be deleted
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glDepthMask

        public static void glDepthMask​(boolean flag)
        Masks the writing of depth values to the depth buffer. In the initial state, the depth buffer is enabled for writing.
        Parameters:
        flag - whether depth values are written or not.
        See Also:
        Reference Page
      • glDepthRange

        public static void glDepthRange​(double zNear,
                                        double zFar)
        Sets the depth range for all viewports to the same values.
        Parameters:
        zNear - the near depth range
        zFar - the far depth range
        See Also:
        Reference Page
      • glDrawArrays

        public static void glDrawArrays​(int mode,
                                        int first,
                                        int count)
        Constructs a sequence of geometric primitives by successively transferring elements for count vertices. Elements first through first + count – 1 of each enabled non-instanced array are transferred to the GL.

        If an array corresponding to an attribute required by a vertex shader is not enabled, then the corresponding element is taken from the current attribute state. If an array is enabled, the corresponding current vertex attribute value is unaffected by the execution of this function.

        Parameters:
        mode - the kind of primitives being constructed
        first - the first vertex to transfer to the GL
        count - the number of vertices after first to transfer to the GL
        See Also:
        Reference Page
      • nglDrawElements

        public static void nglDrawElements​(int mode,
                                           int count,
                                           int type,
                                           long indices)
        Unsafe version of: DrawElements
        Parameters:
        count - the number of vertices to transfer to the GL
        type - indicates the type of index values in indices. One of:
        UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
      • glDrawElements

        public static void glDrawElements​(int mode,
                                          java.nio.ByteBuffer indices)
        
        public static void glDrawElements​(int mode,
                                          java.nio.ShortBuffer indices)
        
        public static void glDrawElements​(int mode,
                                          java.nio.IntBuffer indices)
        
        Constructs a sequence of geometric primitives by successively transferring elements for count vertices to the GL. The ith element transferred by DrawElements will be taken from element indices[i] (if no element array buffer is bound), or from the element whose index is stored in the currently bound element array buffer at offset indices + i.
        Parameters:
        mode - the kind of primitives being constructed. One of:
        POINTSLINE_STRIPLINE_LOOPLINESTRIANGLE_STRIPTRIANGLE_FAN
        TRIANGLESLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHES
        indices - the index values
        See Also:
        Reference Page
      • nglDrawPixels

        public static void nglDrawPixels​(int width,
                                         int height,
                                         int format,
                                         int type,
                                         long pixels)
        Unsafe version of: DrawPixels
      • glEdgeFlag

        public static void glEdgeFlag​(boolean flag)
        Each edge of each polygon primitive generated is flagged as either boundary or non-boundary. These classifications are used during polygon rasterization; some modes affect the interpretation of polygon boundary edges. By default, all edges are boundary edges, but the flagging of polygons, separate triangles, or separate quadrilaterals may be altered by calling this function.

        When a primitive of type POLYGON, TRIANGLES, or QUADS is drawn, each vertex transferred begins an edge. If the edge flag bit is TRUE, then each specified vertex begins an edge that is flagged as boundary. If the bit is FALSE, then induced edges are flagged as non-boundary.

        Parameters:
        flag - the edge flag bit
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglEdgeFlagv

        public static void nglEdgeFlagv​(long flag)
        Unsafe version of: EdgeFlagv
      • glEdgeFlagv

        public static void glEdgeFlagv​(java.nio.ByteBuffer flag)
        Pointer version of EdgeFlag.
        Parameters:
        flag - the edge flag buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglEdgeFlagPointer

        public static void nglEdgeFlagPointer​(int stride,
                                              long pointer)
        Unsafe version of: EdgeFlagPointer
      • glEdgeFlagPointer

        public static void glEdgeFlagPointer​(int stride,
                                             java.nio.ByteBuffer pointer)
        
        public static void glEdgeFlagPointer​(int stride,
                                             long pointer)
        
        Specifies the location and organization of an edge flag array.
        Parameters:
        stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentially
        pointer - the edge flag array data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glEnd

        public static void glEnd()
        Ends the definition of vertex attributes of a sequence of primitives to be transferred to the GL.
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glEvalCoord1f

        public static void glEvalCoord1f​(float u)
        Causes evaluation of the enabled one-dimensional evaluator maps.
        Parameters:
        u - the domain coordinate u
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglEvalCoord1fv

        public static void nglEvalCoord1fv​(long u)
        Unsafe version of: EvalCoord1fv
      • glEvalCoord1fv

        public static void glEvalCoord1fv​(java.nio.FloatBuffer u)
        Pointer version of EvalCoord1f.
        Parameters:
        u - the domain coordinate buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glEvalCoord1d

        public static void glEvalCoord1d​(double u)
        Double version of EvalCoord1f.
        Parameters:
        u - the domain coordinate u
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglEvalCoord1dv

        public static void nglEvalCoord1dv​(long u)
        Unsafe version of: EvalCoord1dv
      • glEvalCoord1dv

        public static void glEvalCoord1dv​(java.nio.DoubleBuffer u)
        Pointer version of EvalCoord1d.
        Parameters:
        u - the domain coordinate buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glEvalCoord2f

        public static void glEvalCoord2f​(float u,
                                         float v)
        Causes evaluation of the enabled two-dimensional evaluator maps.
        Parameters:
        u - the domain coordinate u
        v - the domain coordinate v
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglEvalCoord2fv

        public static void nglEvalCoord2fv​(long u)
        Unsafe version of: EvalCoord2fv
      • glEvalCoord2fv

        public static void glEvalCoord2fv​(java.nio.FloatBuffer u)
        Pointer version of EvalCoord2f.
        Parameters:
        u - the domain coordinate buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glEvalCoord2d

        public static void glEvalCoord2d​(double u,
                                         double v)
        Double version of EvalCoord2f.
        Parameters:
        u - the domain coordinate u
        v - the domain coordinate v
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglEvalCoord2dv

        public static void nglEvalCoord2dv​(long u)
        Unsafe version of: EvalCoord2dv
      • glEvalCoord2dv

        public static void glEvalCoord2dv​(java.nio.DoubleBuffer u)
        Pointer version of EvalCoord2d.
        Parameters:
        u - the domain coordinate buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glEvalMesh1

        public static void glEvalMesh1​(int mode,
                                       int i1,
                                       int i2)
        Carries out an evaluation on a subset of the one-dimensional map grid.
        Parameters:
        mode - the mesh type. One of:
        POINTLINE
        i1 - the start index
        i2 - the end index
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glEvalMesh2

        public static void glEvalMesh2​(int mode,
                                       int i1,
                                       int i2,
                                       int j1,
                                       int j2)
        Carries out an evaluation on a rectangular subset of the two-dimensional map grid.
        Parameters:
        mode - the mesh type. One of:
        FILLLINEPOINT
        i1 - the u-dimension start index
        i2 - the u-dimension end index
        j1 - the v-dimension start index
        j2 - the v-dimension end index
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glEvalPoint1

        public static void glEvalPoint1​(int i)
        Carries out an evalutation of a single point on the one-dimensional map grid.
        Parameters:
        i - the grid index
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glEvalPoint2

        public static void glEvalPoint2​(int i,
                                        int j)
        Carries out an evalutation of a single point on the two-dimensional map grid.
        Parameters:
        i - the u-dimension grid index
        j - the v-dimension grid index
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglFeedbackBuffer

        public static void nglFeedbackBuffer​(int size,
                                             int type,
                                             long buffer)
        Unsafe version of: FeedbackBuffer
        Parameters:
        size - the maximum number of values that can be written to buffer
      • glFeedbackBuffer

        public static void glFeedbackBuffer​(int type,
                                            java.nio.FloatBuffer buffer)
        Returns information about primitives when the GL is in feedback mode.
        Parameters:
        type - the type of information to feed back for each vertex. One of:
        2D3D3D_COLOR3D_COLOR_TEXTURE4D_COLOR_TEXTURE
        buffer - an array of floating-point values into which feedback information will be placed
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glFinish

        public static void glFinish()
        Forces all previously issued GL commands to complete. Finish does not return until all effects from such commands on GL client and server state and the framebuffer are fully realized.
        See Also:
        Reference Page
      • glFlush

        public static void glFlush()
        Causes all previously issued GL commands to complete in finite time (although such commands may still be executing when Flush returns).
        See Also:
        Reference Page
      • nglFogiv

        public static void nglFogiv​(int pname,
                                    long params)
        Unsafe version of: Fogiv
      • glFogiv

        public static void glFogiv​(int pname,
                                   java.nio.IntBuffer params)
        Pointer version of Fogi.
        Parameters:
        pname - the fog parameter. One of:
        FOG_MODEFOG_COORD_SRC
        params - the fog parameter buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glFogf

        public static void glFogf​(int pname,
                                  float param)
        Sets the float value of a fog parameter.
        Parameters:
        pname - the fog parameter. One of:
        FOG_DENSITYFOG_STARTFOG_END
        param - the fog parameter value
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglFogfv

        public static void nglFogfv​(int pname,
                                    long params)
        Unsafe version of: Fogfv
      • glFogfv

        public static void glFogfv​(int pname,
                                   java.nio.FloatBuffer params)
        Pointer version of Fogf.
        Parameters:
        pname - the fog parameter. One of:
        FOG_DENSITYFOG_STARTFOG_END
        params - the fog parameter buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glFrontFace

        public static void glFrontFace​(int dir)
        The first step of polygon rasterization is to determine if the polygon is back-facing or front-facing. This determination is made based on the sign of the (clipped or unclipped) polygon's area computed in window coordinates. The interpretation of the sign of this value is controlled with this function. In the initial state, the front face direction is set to CCW.
        Parameters:
        dir - the front face direction. One of:
        CCWCW
        See Also:
        Reference Page
      • glGenLists

        public static int glGenLists​(int s)
        Returns an integer n such that the indices n,..., n + s - 1 are previously unused (i.e. there are s previously unused display list indices starting at n). GenLists also has the effect of creating an empty display list for each of the indices n,..., n + s - 1, so that these indices all become used. GenLists returns zero if there is no group of s contiguous previously unused display list indices, or if s = 0.
        Parameters:
        s - the number of display lists to create
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglGenTextures

        public static void nglGenTextures​(int n,
                                          long textures)
        Unsafe version of: GenTextures
        Parameters:
        n - the number of textures to create
      • glGenTextures

        public static void glGenTextures​(java.nio.IntBuffer textures)
        Returns n previously unused texture names in textures. These names are marked as used, for the purposes of GenTextures only, but they acquire texture state and a dimensionality only when they are first bound, just as if they were unused.
        Parameters:
        textures - a scalar or buffer in which to place the returned texture names
        See Also:
        Reference Page
      • glGenTextures

        public static int glGenTextures()
        Returns n previously unused texture names in textures. These names are marked as used, for the purposes of GenTextures only, but they acquire texture state and a dimensionality only when they are first bound, just as if they were unused.
        See Also:
        Reference Page
      • nglDeleteTextures

        public static void nglDeleteTextures​(int n,
                                             long textures)
        Unsafe version of: DeleteTextures
        Parameters:
        n - the number of texture names in the textures parameter
      • glDeleteTextures

        public static void glDeleteTextures​(java.nio.IntBuffer textures)
        Deletes texture objects. After a texture object is deleted, it has no contents or dimensionality, and its name is again unused. If a texture that is currently bound to any of the target bindings of BindTexture is deleted, it is as though BindTexture had been executed with the same target and texture zero. Additionally, special care must be taken when deleting a texture if any of the images of the texture are attached to a framebuffer object.

        Unused names in textures that have been marked as used for the purposes of GenTextures are marked as unused again. Unused names in textures are silently ignored, as is the name zero.

        Parameters:
        textures - contains n names of texture objects to be deleted
        See Also:
        Reference Page
      • glDeleteTextures

        public static void glDeleteTextures​(int texture)
        Deletes texture objects. After a texture object is deleted, it has no contents or dimensionality, and its name is again unused. If a texture that is currently bound to any of the target bindings of BindTexture is deleted, it is as though BindTexture had been executed with the same target and texture zero. Additionally, special care must be taken when deleting a texture if any of the images of the texture are attached to a framebuffer object.

        Unused names in textures that have been marked as used for the purposes of GenTextures are marked as unused again. Unused names in textures are silently ignored, as is the name zero.

        See Also:
        Reference Page
      • nglGetClipPlane

        public static void nglGetClipPlane​(int plane,
                                           long equation)
        Unsafe version of: GetClipPlane
      • glGetClipPlane

        public static void glGetClipPlane​(int plane,
                                          java.nio.DoubleBuffer equation)
        Returns four double-precision values in equation; these are the coefficients of the plane equation of plane in eye coordinates (these coordinates are those that were computed when the plane was specified).
        Parameters:
        plane - the clip plane
        equation - a buffer in which to place the returned values
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglGetBooleanv

        public static void nglGetBooleanv​(int pname,
                                          long params)
        Unsafe version of: GetBooleanv
      • glGetBooleanv

        public static void glGetBooleanv​(int pname,
                                         java.nio.ByteBuffer params)
        Returns the current boolean value of the specified state variable.

        LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values, LWJGL will not validate if params has enough space to store that array. Doing so would introduce significant overhead, as the OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.

        Parameters:
        pname - the state variable
        params - a scalar or buffer in which to place the returned data
        See Also:
        Reference Page
      • glGetBoolean

        public static boolean glGetBoolean​(int pname)
        Returns the current boolean value of the specified state variable.

        LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values, LWJGL will not validate if params has enough space to store that array. Doing so would introduce significant overhead, as the OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.

        Parameters:
        pname - the state variable
        See Also:
        Reference Page
      • nglGetFloatv

        public static void nglGetFloatv​(int pname,
                                        long params)
        Unsafe version of: GetFloatv
      • glGetFloatv

        public static void glGetFloatv​(int pname,
                                       java.nio.FloatBuffer params)
        Returns the current float value of the specified state variable.

        LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values, LWJGL will not validate if params has enough space to store that array. Doing so would introduce significant overhead, as the OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.

        Parameters:
        pname - the state variable
        params - a scalar or buffer in which to place the returned data
        See Also:
        Reference Page
      • glGetFloat

        public static float glGetFloat​(int pname)
        Returns the current float value of the specified state variable.

        LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values, LWJGL will not validate if params has enough space to store that array. Doing so would introduce significant overhead, as the OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.

        Parameters:
        pname - the state variable
        See Also:
        Reference Page
      • nglGetIntegerv

        public static void nglGetIntegerv​(int pname,
                                          long params)
        Unsafe version of: GetIntegerv
      • glGetIntegerv

        public static void glGetIntegerv​(int pname,
                                         java.nio.IntBuffer params)
        Returns the current integer value of the specified state variable.

        LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values, LWJGL will not validate if params has enough space to store that array. Doing so would introduce significant overhead, as the OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.

        Parameters:
        pname - the state variable
        params - a scalar or buffer in which to place the returned data
        See Also:
        Reference Page
      • glGetInteger

        public static int glGetInteger​(int pname)
        Returns the current integer value of the specified state variable.

        LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values, LWJGL will not validate if params has enough space to store that array. Doing so would introduce significant overhead, as the OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.

        Parameters:
        pname - the state variable
        See Also:
        Reference Page
      • nglGetDoublev

        public static void nglGetDoublev​(int pname,
                                         long params)
        Unsafe version of: GetDoublev
      • glGetDoublev

        public static void glGetDoublev​(int pname,
                                        java.nio.DoubleBuffer params)
        Returns the current double value of the specified state variable.

        LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values, LWJGL will not validate if params has enough space to store that array. Doing so would introduce significant overhead, as the OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.

        Parameters:
        pname - the state variable
        params - a scalar or buffer in which to place the returned data
        See Also:
        Reference Page
      • glGetDouble

        public static double glGetDouble​(int pname)
        Returns the current double value of the specified state variable.

        LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values, LWJGL will not validate if params has enough space to store that array. Doing so would introduce significant overhead, as the OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.

        Parameters:
        pname - the state variable
        See Also:
        Reference Page
      • glGetError

        public static int glGetError()
        Returns error information. Each detectable error is assigned a numeric code. When an error is detected, a flag is set and the code is recorded. Further errors, if they occur, do not affect this recorded code. When GetError is called, the code is returned and the flag is cleared, so that a further error will again record its code. If a call to GetError returns NO_ERROR, then there has been no detectable error since the last call to GetError (or since the GL was initialized).
        See Also:
        Reference Page
      • nglGetLightiv

        public static void nglGetLightiv​(int light,
                                         int pname,
                                         long data)
        Unsafe version of: GetLightiv
      • nglGetLightfv

        public static void nglGetLightfv​(int light,
                                         int pname,
                                         long data)
        Unsafe version of: GetLightfv
      • glGetLightfv

        public static void glGetLightfv​(int light,
                                        int pname,
                                        java.nio.FloatBuffer data)
        Float version of GetLightiv.
        Parameters:
        light - the light for which to return information
        pname - the light parameter to query
        data - a scalar or buffer in which to place the returned data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glGetLightf

        public static float glGetLightf​(int light,
                                        int pname)
        Float version of GetLightiv.
        Parameters:
        light - the light for which to return information
        pname - the light parameter to query
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglGetMapiv

        public static void nglGetMapiv​(int target,
                                       int query,
                                       long data)
        Unsafe version of: GetMapiv
      • nglGetMapfv

        public static void nglGetMapfv​(int target,
                                       int query,
                                       long data)
        Unsafe version of: GetMapfv
      • glGetMapfv

        public static void glGetMapfv​(int target,
                                      int query,
                                      java.nio.FloatBuffer data)
        Float version of GetMapiv.
        Parameters:
        target - the evaluator map
        query - the information to query
        data - a scalar or buffer in which to place the returned data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glGetMapf

        public static float glGetMapf​(int target,
                                      int query)
        Float version of GetMapiv.
        Parameters:
        target - the evaluator map
        query - the information to query
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglGetMapdv

        public static void nglGetMapdv​(int target,
                                       int query,
                                       long data)
        Unsafe version of: GetMapdv
      • glGetMapdv

        public static void glGetMapdv​(int target,
                                      int query,
                                      java.nio.DoubleBuffer data)
        Double version of GetMapiv.
        Parameters:
        target - the evaluator map
        query - the information to query
        data - a scalar or buffer in which to place the returned data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glGetMapd

        public static double glGetMapd​(int target,
                                       int query)
        Double version of GetMapiv.
        Parameters:
        target - the evaluator map
        query - the information to query
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglGetMaterialiv

        public static void nglGetMaterialiv​(int face,
                                            int pname,
                                            long data)
        Unsafe version of: GetMaterialiv
      • glGetMaterialiv

        public static void glGetMaterialiv​(int face,
                                           int pname,
                                           java.nio.IntBuffer data)
        Returns integer information about material property pname for face in data.
        Parameters:
        face - the material face for which to return information. One of:
        FRONTBACK
        pname - the information to query. One of:
        AMBIENTDIFFUSESPECULAREMISSIONSHININESS
        data - a scalar or buffer in which to place the returned data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglGetMaterialfv

        public static void nglGetMaterialfv​(int face,
                                            int pname,
                                            long data)
        Unsafe version of: GetMaterialfv
      • glGetMaterialfv

        public static void glGetMaterialfv​(int face,
                                           int pname,
                                           java.nio.FloatBuffer data)
        Float version of GetMaterialiv.
        Parameters:
        face - the material face for which to return information
        pname - the information to query
        data - a scalar or buffer in which to place the returned data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglGetPixelMapfv

        public static void nglGetPixelMapfv​(int map,
                                            long data)
        Unsafe version of: GetPixelMapfv
      • nglGetPixelMapusv

        public static void nglGetPixelMapusv​(int map,
                                             long data)
        Unsafe version of: GetPixelMapusv
      • glGetPixelMapusv

        public static void glGetPixelMapusv​(int map,
                                            java.nio.ShortBuffer data)
        
        public static void glGetPixelMapusv​(int map,
                                            long data)
        
        Unsigned short version of GetPixelMapfv.
        Parameters:
        map - the pixel map parameter to query
        data - a buffer in which to place the returned data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglGetPixelMapuiv

        public static void nglGetPixelMapuiv​(int map,
                                             long data)
        Unsafe version of: GetPixelMapuiv
      • glGetPixelMapuiv

        public static void glGetPixelMapuiv​(int map,
                                            java.nio.IntBuffer data)
        
        public static void glGetPixelMapuiv​(int map,
                                            long data)
        
        Unsigned integer version of GetPixelMapfv.
        Parameters:
        map - the pixel map parameter to query
        data - a buffer in which to place the returned data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglGetPointerv

        public static void nglGetPointerv​(int pname,
                                          long params)
        Unsafe version of: GetPointerv
      • nglGetPolygonStipple

        public static void nglGetPolygonStipple​(long pattern)
        Unsafe version of: GetPolygonStipple
      • glGetPolygonStipple

        public static void glGetPolygonStipple​(java.nio.ByteBuffer pattern)
        
        public static void glGetPolygonStipple​(long pattern)
        
        Obtains the polygon stipple.
        Parameters:
        pattern - a buffer in which to place the returned data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglGetString

        public static long nglGetString​(int name)
        Unsafe version of: GetString
      • nglGetTexEnviv

        public static void nglGetTexEnviv​(int env,
                                          int pname,
                                          long data)
        Unsafe version of: GetTexEnviv
      • nglGetTexEnvfv

        public static void nglGetTexEnvfv​(int env,
                                          int pname,
                                          long data)
        Unsafe version of: GetTexEnvfv
      • glGetTexEnvfv

        public static void glGetTexEnvfv​(int env,
                                         int pname,
                                         java.nio.FloatBuffer data)
        Float version of GetTexEnviv.
        Parameters:
        env - the texture environment to query
        pname - the parameter to query
        data - a scalar or buffer in which to place the returned data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glGetTexEnvf

        public static float glGetTexEnvf​(int env,
                                         int pname)
        Float version of GetTexEnviv.
        Parameters:
        env - the texture environment to query
        pname - the parameter to query
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglGetTexGeniv

        public static void nglGetTexGeniv​(int coord,
                                          int pname,
                                          long data)
        Unsafe version of: GetTexGeniv
      • glGetTexGeniv

        public static void glGetTexGeniv​(int coord,
                                         int pname,
                                         java.nio.IntBuffer data)
        Returns integer information about pname for coord in data.
        Parameters:
        coord - the coord to query. One of:
        STRQ
        pname - the parameter to query. One of:
        EYE_PLANEOBJECT_PLANETEXTURE_GEN_MODE
        data - a scalar or buffer in which to place the returned data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glGetTexGeni

        public static int glGetTexGeni​(int coord,
                                       int pname)
        Returns integer information about pname for coord in data.
        Parameters:
        coord - the coord to query. One of:
        STRQ
        pname - the parameter to query. One of:
        EYE_PLANEOBJECT_PLANETEXTURE_GEN_MODE
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglGetTexGenfv

        public static void nglGetTexGenfv​(int coord,
                                          int pname,
                                          long data)
        Unsafe version of: GetTexGenfv
      • glGetTexGenfv

        public static void glGetTexGenfv​(int coord,
                                         int pname,
                                         java.nio.FloatBuffer data)
        Float version of GetTexGeniv.
        Parameters:
        coord - the coord to query
        pname - the parameter to query
        data - a scalar or buffer in which to place the returned data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glGetTexGenf

        public static float glGetTexGenf​(int coord,
                                         int pname)
        Float version of GetTexGeniv.
        Parameters:
        coord - the coord to query
        pname - the parameter to query
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglGetTexGendv

        public static void nglGetTexGendv​(int coord,
                                          int pname,
                                          long data)
        Unsafe version of: GetTexGendv
      • glGetTexGendv

        public static void glGetTexGendv​(int coord,
                                         int pname,
                                         java.nio.DoubleBuffer data)
        Double version of GetTexGeniv.
        Parameters:
        coord - the coord to query
        pname - the parameter to query
        data - a scalar or buffer in which to place the returned data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glGetTexGend

        public static double glGetTexGend​(int coord,
                                          int pname)
        Double version of GetTexGeniv.
        Parameters:
        coord - the coord to query
        pname - the parameter to query
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglGetTexImage

        public static void nglGetTexImage​(int tex,
                                          int level,
                                          int format,
                                          int type,
                                          long pixels)
        Unsafe version of: GetTexImage
      • nglGetTexLevelParameteriv

        public static void nglGetTexLevelParameteriv​(int target,
                                                     int level,
                                                     int pname,
                                                     long params)
        Unsafe version of: GetTexLevelParameteriv
      • nglGetTexLevelParameterfv

        public static void nglGetTexLevelParameterfv​(int target,
                                                     int level,
                                                     int pname,
                                                     long params)
        Unsafe version of: GetTexLevelParameterfv
      • glGetTexLevelParameterfv

        public static void glGetTexLevelParameterfv​(int target,
                                                    int level,
                                                    int pname,
                                                    java.nio.FloatBuffer params)
        Float version of GetTexLevelParameteriv.
        Parameters:
        target - the texture image target
        level - the level-of-detail number
        pname - the parameter to query
        params - a scalar or buffer in which to place the returned data
        See Also:
        Reference Page
      • glGetTexLevelParameterf

        public static float glGetTexLevelParameterf​(int target,
                                                    int level,
                                                    int pname)
        Float version of GetTexLevelParameteriv.
        Parameters:
        target - the texture image target
        level - the level-of-detail number
        pname - the parameter to query
        See Also:
        Reference Page
      • nglGetTexParameteriv

        public static void nglGetTexParameteriv​(int target,
                                                int pname,
                                                long params)
        Unsafe version of: GetTexParameteriv
      • nglGetTexParameterfv

        public static void nglGetTexParameterfv​(int target,
                                                int pname,
                                                long params)
        Unsafe version of: GetTexParameterfv
      • glGetTexParameterfv

        public static void glGetTexParameterfv​(int target,
                                               int pname,
                                               java.nio.FloatBuffer params)
        Float version of GetTexParameteriv.
        Parameters:
        target - the texture target
        pname - the parameter to query
        params - a scalar or buffer in which to place the returned data
        See Also:
        Reference Page
      • glGetTexParameterf

        public static float glGetTexParameterf​(int target,
                                               int pname)
        Float version of GetTexParameteriv.
        Parameters:
        target - the texture target
        pname - the parameter to query
        See Also:
        Reference Page
      • glIndexi

        public static void glIndexi​(int index)
        Updates the current (single-valued) color index.
        Parameters:
        index - the value to which the current color index should be set
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glIndexub

        public static void glIndexub​(byte index)
        Unsigned byte version of Indexi.
        Parameters:
        index - the value to which the current color index should be set
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glIndexs

        public static void glIndexs​(short index)
        Short version of Indexi.
        Parameters:
        index - the value to which the current color index should be set
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glIndexf

        public static void glIndexf​(float index)
        Float version of Indexi.
        Parameters:
        index - the value to which the current color index should be set
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glIndexd

        public static void glIndexd​(double index)
        Double version of Indexi.
        Parameters:
        index - the value to which the current color index should be set
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglIndexiv

        public static void nglIndexiv​(long index)
        Unsafe version of: Indexiv
      • glIndexiv

        public static void glIndexiv​(java.nio.IntBuffer index)
        Pointer version of Indexi
        Parameters:
        index - the value to which the current color index should be set
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglIndexubv

        public static void nglIndexubv​(long index)
        Unsafe version of: Indexubv
      • glIndexubv

        public static void glIndexubv​(java.nio.ByteBuffer index)
        Pointer version of Indexub.
        Parameters:
        index - the value to which the current color index should be set
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglIndexsv

        public static void nglIndexsv​(long index)
        Unsafe version of: Indexsv
      • glIndexsv

        public static void glIndexsv​(java.nio.ShortBuffer index)
        Pointer version of Indexs.
        Parameters:
        index - the value to which the current color index should be set
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglIndexfv

        public static void nglIndexfv​(long index)
        Unsafe version of: Indexfv
      • glIndexfv

        public static void glIndexfv​(java.nio.FloatBuffer index)
        Pointer version of Indexf.
        Parameters:
        index - the value to which the current color index should be set
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglIndexdv

        public static void nglIndexdv​(long index)
        Unsafe version of: Indexdv
      • glIndexdv

        public static void glIndexdv​(java.nio.DoubleBuffer index)
        Pointer version of Indexd.
        Parameters:
        index - the value to which the current color index should be set
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glIndexMask

        public static void glIndexMask​(int mask)
        The least significant n bits of mask, where n is the number of bits in a color index buffer, specify a mask. Where a 1 appears in this mask, the corresponding bit in the color index buffer (or buffers) is written; where a 0 appears, the bit is not written. This mask applies only in color index mode.
        Parameters:
        mask - the color index mask value
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglIndexPointer

        public static void nglIndexPointer​(int type,
                                           int stride,
                                           long pointer)
        Unsafe version of: IndexPointer
        Parameters:
        type - the data type of the values stored in the array. One of:
        UNSIGNED_BYTESHORTINTFLOATDOUBLE
      • glIndexPointer

        public static void glIndexPointer​(int type,
                                          int stride,
                                          java.nio.ByteBuffer pointer)
        
        public static void glIndexPointer​(int type,
                                          int stride,
                                          long pointer)
        
        Specifies the location and organization of a color index array.
        Parameters:
        type - the data type of the values stored in the array. One of:
        UNSIGNED_BYTESHORTINTFLOATDOUBLE
        stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentially
        pointer - the color index array data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glIndexPointer

        public static void glIndexPointer​(int stride,
                                          java.nio.ByteBuffer pointer)
        
        public static void glIndexPointer​(int stride,
                                          java.nio.ShortBuffer pointer)
        
        public static void glIndexPointer​(int stride,
                                          java.nio.IntBuffer pointer)
        
        Specifies the location and organization of a color index array.
        Parameters:
        stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentially
        pointer - the color index array data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glInitNames

        public static void glInitNames()
        Clears the selection name stack.
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglInterleavedArrays

        public static void nglInterleavedArrays​(int format,
                                                int stride,
                                                long pointer)
        Unsafe version of: InterleavedArrays
      • glInterleavedArrays

        public static void glInterleavedArrays​(int format,
                                               int stride,
                                               java.nio.ByteBuffer pointer)
        
        public static void glInterleavedArrays​(int format,
                                               int stride,
                                               long pointer)
        
        public static void glInterleavedArrays​(int format,
                                               int stride,
                                               java.nio.ShortBuffer pointer)
        
        public static void glInterleavedArrays​(int format,
                                               int stride,
                                               java.nio.IntBuffer pointer)
        
        public static void glInterleavedArrays​(int format,
                                               int stride,
                                               java.nio.FloatBuffer pointer)
        
        public static void glInterleavedArrays​(int format,
                                               int stride,
                                               java.nio.DoubleBuffer pointer)
        
        Efficiently initializes the six vertex arrays and their enables to one of 14 configurations.
        Parameters:
        format - the interleaved array format. One of:
        V2FV3FC4UB_V2FC4UB_V3FC3F_V3FN3F_V3FC4F_N3F_V3FT2F_V3F
        T4F_V4FT2F_C4UB_V3FT2F_C3F_V3FT2F_N3F_V3FT2F_C4F_N3F_V3FT4F_C4F_N3F_V4F
        stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentially
        pointer - the vertex array data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glIsEnabled

        public static boolean glIsEnabled​(int cap)
        Determines if cap is currently enabled (as with Enable) or disabled.
        Parameters:
        cap - the enable state to query
        See Also:
        Reference Page
      • glIsList

        public static boolean glIsList​(int list)
        Returns true if the list is the index of some display list.
        Parameters:
        list - the list index to query
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glIsTexture

        public static boolean glIsTexture​(int texture)
        Returns true if texture is the name of a texture object.
        Parameters:
        texture - the texture name to query
        See Also:
        Reference Page
      • glLightModelf

        public static void glLightModelf​(int pname,
                                         float param)
        Float version of LightModeli.
        Parameters:
        pname - the lighting model parameter to set
        param - the parameter value
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglLightModeliv

        public static void nglLightModeliv​(int pname,
                                           long params)
        Unsafe version of: LightModeliv
      • glLightModeliv

        public static void glLightModeliv​(int pname,
                                          java.nio.IntBuffer params)
        Pointer version of LightModeli.
        Parameters:
        pname - the lighting model parameter to set
        params - the parameter value
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglLightModelfv

        public static void nglLightModelfv​(int pname,
                                           long params)
        Unsafe version of: LightModelfv
      • glLightModelfv

        public static void glLightModelfv​(int pname,
                                          java.nio.FloatBuffer params)
        Pointer version of LightModelf.
        Parameters:
        pname - the lighting model parameter to set
        params - the parameter value
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glLightf

        public static void glLightf​(int light,
                                    int pname,
                                    float param)
        Float version of Lighti.
        Parameters:
        light - the light for which to set the parameter
        pname - the parameter to set
        param - the parameter value
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglLightiv

        public static void nglLightiv​(int light,
                                      int pname,
                                      long params)
        Unsafe version of: Lightiv
      • glLightiv

        public static void glLightiv​(int light,
                                     int pname,
                                     java.nio.IntBuffer params)
        Pointer version of Lighti.
        Parameters:
        light - the light for which to set the parameter
        pname - the parameter to set
        params - the parameter value
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglLightfv

        public static void nglLightfv​(int light,
                                      int pname,
                                      long params)
        Unsafe version of: Lightfv
      • glLightfv

        public static void glLightfv​(int light,
                                     int pname,
                                     java.nio.FloatBuffer params)
        Pointer version of Lightf.
        Parameters:
        light - the light for which to set the parameter
        pname - the parameter to set
        params - the parameter value
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glLineStipple

        public static void glLineStipple​(int factor,
                                         short pattern)
        Defines a line stipple. It determines those fragments that are to be drawn when the line is rasterized. Line stippling may be enabled or disabled using Enable or Disable with the constant LINE_STIPPLE. When disabled, it is as if the line stipple has its default value.
        Parameters:
        factor - a count that is used to modify the effective line stipple by causing each bit in pattern to be used factor times. factor is clamped to the range [1, 256].
        pattern - an unsigned short integer whose 16 bits define the stipple pattern
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glLineWidth

        public static void glLineWidth​(float width)
        Sets the width of rasterized line segments. The default width is 1.0.
        Parameters:
        width - the line width
        See Also:
        Reference Page
      • glListBase

        public static void glListBase​(int base)
        Sets the display list base.
        Parameters:
        base - the display list base offset
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglLoadMatrixf

        public static void nglLoadMatrixf​(long m)
        Unsafe version of: LoadMatrixf
      • glLoadMatrixf

        public static void glLoadMatrixf​(java.nio.FloatBuffer m)
        Sets the current matrix to a 4 × 4 matrix in column-major order.

        The matrix is stored as 16 consecutive values, i.e. as:

        a1a5a9a13
        a2a6a10a14
        a3a7a11a15
        a4a8a12a16

        This differs from the standard row-major ordering for matrix elements. If the standard ordering is used, all of the subsequent transformation equations are transposed, and the columns representing vectors become rows.

        Parameters:
        m - the matrix data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglLoadMatrixd

        public static void nglLoadMatrixd​(long m)
        Unsafe version of: LoadMatrixd
      • glLoadMatrixd

        public static void glLoadMatrixd​(java.nio.DoubleBuffer m)
        Double version of LoadMatrixf.
        Parameters:
        m - the matrix data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glLoadIdentity

        public static void glLoadIdentity()
        Sets the current matrix to the identity matrix.

        Calling this function is equivalent to calling LoadMatrixf with the following matrix:

        1000
        0100
        0010
        0001
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glLoadName

        public static void glLoadName​(int name)
        Replaces the value on the top of the selection stack with name.
        Parameters:
        name - the name to load
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglMap1f

        public static void nglMap1f​(int target,
                                    float u1,
                                    float u2,
                                    int stride,
                                    int order,
                                    long points)
        Unsafe version of: Map1f
      • glMap1f

        public static void glMap1f​(int target,
                                   float u1,
                                   float u2,
                                   int stride,
                                   int order,
                                   java.nio.FloatBuffer points)
        Defines a polynomial or rational polynomial mapping to produce vertex, normal, texture coordinates and colors. The values so produced are sent on to further stages of the GL as if they had been provided directly by the client.
        Parameters:
        target - the evaluator target. One of:
        MAP1_VERTEX_3MAP1_VERTEX_4MAP1_COLOR_4MAP1_NORMALMAP1_TEXTURE_COORD_1
        MAP1_TEXTURE_COORD_2MAP1_TEXTURE_COORD_3MAP1_TEXTURE_COORD_4
        u1 - the first endpoint of the pre-image of the map
        u2 - the second endpoint of the pre-image of the map
        stride - the number of values in each block of storage
        order - the polynomial order
        points - a set of order blocks of storage containing control points
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglMap1d

        public static void nglMap1d​(int target,
                                    double u1,
                                    double u2,
                                    int stride,
                                    int order,
                                    long points)
        Unsafe version of: Map1d
      • glMap1d

        public static void glMap1d​(int target,
                                   double u1,
                                   double u2,
                                   int stride,
                                   int order,
                                   java.nio.DoubleBuffer points)
        Double version of Map1f.
        Parameters:
        target - the evaluator target
        u1 - the first endpoint of the pre-image of the map
        u2 - the second endpoint of the pre-image of the map
        stride - the number of values in each block of storage
        order - the polynomial order
        points - a set of order blocks of storage containing control points
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglMap2f

        public static void nglMap2f​(int target,
                                    float u1,
                                    float u2,
                                    int ustride,
                                    int uorder,
                                    float v1,
                                    float v2,
                                    int vstride,
                                    int vorder,
                                    long points)
        Unsafe version of: Map2f
      • glMap2f

        public static void glMap2f​(int target,
                                   float u1,
                                   float u2,
                                   int ustride,
                                   int uorder,
                                   float v1,
                                   float v2,
                                   int vstride,
                                   int vorder,
                                   java.nio.FloatBuffer points)
        Bivariate version of Map1f.
        Parameters:
        target - the evaluator target
        u1 - the first u-dimension endpoint of the pre-image rectangle of the map
        u2 - the second u-dimension endpoint of the pre-image rectangle of the map
        ustride - the number of values in the u-dimension in each block of storage
        uorder - the polynomial order in the u-dimension
        v1 - the first v-dimension endpoint of the pre-image rectangle of the map
        v2 - the second v-dimension endpoint of the pre-image rectangle of the map
        vstride - the number of values in the v-dimension in each block of storage
        vorder - the polynomial order in the v-dimension
        points - a set of uorder × vorder blocks of storage containing control points
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglMap2d

        public static void nglMap2d​(int target,
                                    double u1,
                                    double u2,
                                    int ustride,
                                    int uorder,
                                    double v1,
                                    double v2,
                                    int vstride,
                                    int vorder,
                                    long points)
        Unsafe version of: Map2d
      • glMap2d

        public static void glMap2d​(int target,
                                   double u1,
                                   double u2,
                                   int ustride,
                                   int uorder,
                                   double v1,
                                   double v2,
                                   int vstride,
                                   int vorder,
                                   java.nio.DoubleBuffer points)
        Double version of Map2f.
        Parameters:
        target - the evaluator target
        u1 - the first u-dimension endpoint of the pre-image rectangle of the map
        u2 - the second u-dimension endpoint of the pre-image rectangle of the map
        ustride - the number of values in the u-dimension in each block of storage
        uorder - the polynomial order in the u-dimension
        v1 - the first v-dimension endpoint of the pre-image rectangle of the map
        v2 - the second v-dimension endpoint of the pre-image rectangle of the map
        vstride - the number of values in the v-dimension in each block of storage
        vorder - the polynomial order in the v-dimension
        points - a set of uorder × vorder blocks of storage containing control points
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glMapGrid1f

        public static void glMapGrid1f​(int n,
                                       float u1,
                                       float u2)
        Defines a one-dimensional grid in the map evaluator domain.
        Parameters:
        n - the number of partitions of the interval
        u1 - the first interval endpoint
        u2 - the second interval endpoint
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glMapGrid1d

        public static void glMapGrid1d​(int n,
                                       double u1,
                                       double u2)
        Double version of MapGrid1f.
        Parameters:
        n - the number of partitions of the interval
        u1 - the first interval endpoint
        u2 - the second interval endpoint
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glMapGrid2f

        public static void glMapGrid2f​(int un,
                                       float u1,
                                       float u2,
                                       int vn,
                                       float v1,
                                       float v2)
        Defines a two-dimensional grid in the map evaluator domain.
        Parameters:
        un - the number of partitions of the interval in the u-dimension
        u1 - the first u-dimension interval endpoint
        u2 - the second u-dimension interval endpoint
        vn - the number of partitions of the interval in the v-dimension
        v1 - the first v-dimension interval endpoint
        v2 - the second v-dimension interval endpoint
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glMapGrid2d

        public static void glMapGrid2d​(int un,
                                       double u1,
                                       double u2,
                                       int vn,
                                       double v1,
                                       double v2)
        Double version of MapGrid2f.
        Parameters:
        un - the number of partitions of the interval in the u-dimension
        u1 - the first u-dimension interval endpoint
        u2 - the second u-dimension interval endpoint
        vn - the number of partitions of the interval in the v-dimension
        v1 - the first v-dimension interval endpoint
        v2 - the second v-dimension interval endpoint
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glMateriali

        public static void glMateriali​(int face,
                                       int pname,
                                       int param)
        Sets the integer value of a material parameter.
        Parameters:
        face - the material face for which to set the parameter. One of:
        FRONTBACKFRONT_AND_BACK
        pname - the parameter to set. Must be:
        SHININESS
        param - the parameter value
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glMaterialf

        public static void glMaterialf​(int face,
                                       int pname,
                                       float param)
        Float version of Materiali.
        Parameters:
        face - the material face for which to set the parameter
        pname - the parameter to set
        param - the parameter value
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglMaterialiv

        public static void nglMaterialiv​(int face,
                                         int pname,
                                         long params)
        Unsafe version of: Materialiv
      • glMaterialiv

        public static void glMaterialiv​(int face,
                                        int pname,
                                        java.nio.IntBuffer params)
        Pointer version of Materiali.
        Parameters:
        face - the material face for which to set the parameter
        pname - the parameter to set. One of:
        AMBIENTDIFFUSEAMBIENT_AND_DIFFUSESPECULAREMISSION
        params - the parameter value
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglMaterialfv

        public static void nglMaterialfv​(int face,
                                         int pname,
                                         long params)
        Unsafe version of: Materialfv
      • glMaterialfv

        public static void glMaterialfv​(int face,
                                        int pname,
                                        java.nio.FloatBuffer params)
        Pointer version of Materialf.
        Parameters:
        face - the material face for which to set the parameter
        pname - the parameter to set
        params - the parameter value
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glMatrixMode

        public static void glMatrixMode​(int mode)
        Set the current matrix mode.
        Parameters:
        mode - the matrix mode. One of:
        MODELVIEWPROJECTIONTEXTURECOLOR
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglMultMatrixf

        public static void nglMultMatrixf​(long m)
        Unsafe version of: MultMatrixf
      • glMultMatrixf

        public static void glMultMatrixf​(java.nio.FloatBuffer m)
        Multiplies the current matrix with a 4 × 4 matrix in column-major order. See LoadMatrixf for details.
        Parameters:
        m - the matrix data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglMultMatrixd

        public static void nglMultMatrixd​(long m)
        Unsafe version of: MultMatrixd
      • glMultMatrixd

        public static void glMultMatrixd​(java.nio.DoubleBuffer m)
        Double version of MultMatrixf.
        Parameters:
        m - the matrix data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glFrustum

        public static void glFrustum​(double l,
                                     double r,
                                     double b,
                                     double t,
                                     double n,
                                     double f)
        Manipulates the current matrix with a matrix that produces perspective projection, in such a way that the coordinates (lb – n)T and (rt – n)T specify the points on the near clipping plane that are mapped to the lower left and upper right corners of the window, respectively (assuming that the eye is located at (0 0 0)T). f gives the distance from the eye to the far clipping plane.

        Calling this function is equivalent to calling MultMatrixf with the following matrix:

        2n / (r - l)0(r + l) / (r - l)0
        02n / (t - b)(t + b) / (t - b)0
        00- (f + n) / (f - n)- (2fn) / (f - n)
        00-10
        Parameters:
        l - the left frustum plane
        r - the right frustum plane
        b - the bottom frustum plane
        t - the top frustum plane
        n - the near frustum plane
        f - the far frustum plane
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glNewList

        public static void glNewList​(int n,
                                     int mode)
        Begins the definition of a display list.
        Parameters:
        n - a positive integer to which the display list that follows is assigned
        mode - a symbolic constant that controls the behavior of the GL during display list creation. One of:
        COMPILECOMPILE_AND_EXECUTE
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glEndList

        public static void glEndList()
        Ends the definition of GL commands to be placed in a display list. It is only when EndList occurs that the specified display list is actually associated with the index indicated with NewList.
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glNormal3f

        public static void glNormal3f​(float nx,
                                      float ny,
                                      float nz)
        Sets the current normal.
        Parameters:
        nx - the x coordinate of the current normal
        ny - the y coordinate of the current normal
        nz - the z coordinate of the current normal
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glNormal3b

        public static void glNormal3b​(byte nx,
                                      byte ny,
                                      byte nz)
        Byte version of Normal3f.
        Parameters:
        nx - the x coordinate of the current normal
        ny - the y coordinate of the current normal
        nz - the z coordinate of the current normal
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glNormal3s

        public static void glNormal3s​(short nx,
                                      short ny,
                                      short nz)
        Short version of Normal3f.
        Parameters:
        nx - the x coordinate of the current normal
        ny - the y coordinate of the current normal
        nz - the z coordinate of the current normal
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glNormal3i

        public static void glNormal3i​(int nx,
                                      int ny,
                                      int nz)
        Integer version of Normal3f.
        Parameters:
        nx - the x coordinate of the current normal
        ny - the y coordinate of the current normal
        nz - the z coordinate of the current normal
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glNormal3d

        public static void glNormal3d​(double nx,
                                      double ny,
                                      double nz)
        Double version of Normal3f.
        Parameters:
        nx - the x coordinate of the current normal
        ny - the y coordinate of the current normal
        nz - the z coordinate of the current normal
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglNormal3fv

        public static void nglNormal3fv​(long v)
        Unsafe version of: Normal3fv
      • glNormal3fv

        public static void glNormal3fv​(java.nio.FloatBuffer v)
        Pointer version of Normal3f.
        Parameters:
        v - the normal buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglNormal3bv

        public static void nglNormal3bv​(long v)
        Unsafe version of: Normal3bv
      • glNormal3bv

        public static void glNormal3bv​(java.nio.ByteBuffer v)
        Pointer version of Normal3b.
        Parameters:
        v - the normal buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglNormal3sv

        public static void nglNormal3sv​(long v)
        Unsafe version of: Normal3sv
      • glNormal3sv

        public static void glNormal3sv​(java.nio.ShortBuffer v)
        Pointer version of Normal3s.
        Parameters:
        v - the normal buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglNormal3iv

        public static void nglNormal3iv​(long v)
        Unsafe version of: Normal3iv
      • glNormal3iv

        public static void glNormal3iv​(java.nio.IntBuffer v)
        Pointer version of Normal3i.
        Parameters:
        v - the normal buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglNormal3dv

        public static void nglNormal3dv​(long v)
        Unsafe version of: Normal3dv
      • glNormal3dv

        public static void glNormal3dv​(java.nio.DoubleBuffer v)
        Pointer version of Normal3d.
        Parameters:
        v - the normal buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglNormalPointer

        public static void nglNormalPointer​(int type,
                                            int stride,
                                            long pointer)
        Unsafe version of: NormalPointer
      • glNormalPointer

        public static void glNormalPointer​(int type,
                                           int stride,
                                           java.nio.ByteBuffer pointer)
        
        public static void glNormalPointer​(int type,
                                           int stride,
                                           long pointer)
        
        public static void glNormalPointer​(int type,
                                           int stride,
                                           java.nio.ShortBuffer pointer)
        
        public static void glNormalPointer​(int type,
                                           int stride,
                                           java.nio.IntBuffer pointer)
        
        public static void glNormalPointer​(int type,
                                           int stride,
                                           java.nio.FloatBuffer pointer)
        
        Specifies the location and organization of a normal array.
        Parameters:
        type - the data type of the values stored in the array. One of:
        BYTESHORTINTHALF_FLOATFLOATDOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REV
        stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentially
        pointer - the normal array data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glOrtho

        public static void glOrtho​(double l,
                                   double r,
                                   double b,
                                   double t,
                                   double n,
                                   double f)
        Manipulates the current matrix with a matrix that produces parallel projection, in such a way that the coordinates (lb – n)T and (rt – n)T specify the points on the near clipping plane that are mapped to the lower left and upper right corners of the window, respectively (assuming that the eye is located at (0 0 0)T). f gives the distance from the eye to the far clipping plane.

        Calling this function is equivalent to calling MultMatrixf with the following matrix:

        2 / (r - l)00- (r + l) / (r - l)
        02 / (t - b)0- (t + b) / (t - b)
        00- 2 / (f - n)- (f + n) / (f - n)
        0001
        Parameters:
        l - the left frustum plane
        r - the right frustum plane
        b - the bottom frustum plane
        t - the top frustum plane
        n - the near frustum plane
        f - the far frustum plane
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glPassThrough

        public static void glPassThrough​(float token)
        Inserts a marker when the GL is in feeback mode. token is returned as if it were a primitive; it is indicated with its own unique identifying value. The ordering of any PassThrough commands with respect to primitive specification is maintained by feedback. PassThrough may not occur between Begin and End.
        Parameters:
        token - the marker value to insert
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglPixelMapfv

        public static void nglPixelMapfv​(int map,
                                         int size,
                                         long values)
        Unsafe version of: PixelMapfv
        Parameters:
        size - the map size
      • nglPixelMapusv

        public static void nglPixelMapusv​(int map,
                                          int size,
                                          long values)
        Unsafe version of: PixelMapusv
        Parameters:
        size - the map size
      • glPixelMapusv

        public static void glPixelMapusv​(int map,
                                         int size,
                                         long values)
        Unsigned short version of PixelMapfv.
        Parameters:
        map - the map to set
        size - the map size
        values - the map values
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glPixelMapusv

        public static void glPixelMapusv​(int map,
                                         java.nio.ShortBuffer values)
        Unsigned short version of PixelMapfv.
        Parameters:
        map - the map to set
        values - the map values
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglPixelMapuiv

        public static void nglPixelMapuiv​(int map,
                                          int size,
                                          long values)
        Unsafe version of: PixelMapuiv
        Parameters:
        size - the map size
      • glPixelMapuiv

        public static void glPixelMapuiv​(int map,
                                         int size,
                                         long values)
        Unsigned integer version of PixelMapfv.
        Parameters:
        map - the map to set
        size - the map size
        values - the map values
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glPixelMapuiv

        public static void glPixelMapuiv​(int map,
                                         java.nio.IntBuffer values)
        Unsigned integer version of PixelMapfv.
        Parameters:
        map - the map to set
        values - the map values
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glPixelStoref

        public static void glPixelStoref​(int pname,
                                         float param)
        Float version of PixelStorei.
        Parameters:
        pname - the pixel store parameter to set
        param - the parameter value
        See Also:
        Reference Page
      • glPixelTransferf

        public static void glPixelTransferf​(int pname,
                                            float param)
        Float version of PixelTransferi.
        Parameters:
        pname - the pixel transfer parameter to set
        param - the parameter value
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glPixelZoom

        public static void glPixelZoom​(float xfactor,
                                       float yfactor)
        Controls the conversion of a group of fragments.

        Let (xrp, yrp) be the current raster position. If a particular group is the nth in a row and belongs to the mth row, consider the region in window coordinates bounded by the rectangle with corners

        (xrp + zxn, yrp + zym) and (xrp + zx(n + 1), yrp + zy(m + 1))

        (either zx or zy may be negative). A fragment representing group (n, m) is produced for each framebuffer pixel inside, or on the bottom or left boundary, of this rectangle.

        Parameters:
        xfactor - the zx factor
        yfactor - the zy factor
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glPointSize

        public static void glPointSize​(float size)
        Controls the rasterization of points if no vertex, tessellation control, tessellation evaluation, or geometry shader is active. The default point size is 1.0.
        Parameters:
        size - the request size of a point
        See Also:
        Reference Page
      • glPolygonMode

        public static void glPolygonMode​(int face,
                                         int mode)
        Controls the interpretation of polygons for rasterization.

        FILL is the default mode of polygon rasterization. Note that these modes affect only the final rasterization of polygons: in particular, a polygon's vertices are lit, and the polygon is clipped and possibly culled before these modes are applied. Polygon antialiasing applies only to the FILL state of PolygonMode. For POINT or LINE, point antialiasing or line segment antialiasing, respectively, apply.

        Parameters:
        face - the face for which to set the rasterizing method. One of:
        FRONTBACKFRONT_AND_BACK
        mode - the rasterization mode. One of:
        POINTLINEFILL
        See Also:
        Reference Page
      • glPolygonOffset

        public static void glPolygonOffset​(float factor,
                                           float units)
        The depth values of all fragments generated by the rasterization of a polygon may be offset by a single value that is computed for that polygon. This function determines that value.

        factor scales the maximum depth slope of the polygon, and units scales an implementation-dependent constant that relates to the usable resolution of the depth buffer. The resulting values are summed to produce the polygon offset value.

        Parameters:
        factor - the maximum depth slope factor
        units - the constant scale
        See Also:
        Reference Page
      • nglPolygonStipple

        public static void nglPolygonStipple​(long pattern)
        Unsafe version of: PolygonStipple
      • glPolygonStipple

        public static void glPolygonStipple​(java.nio.ByteBuffer pattern)
        
        public static void glPolygonStipple​(long pattern)
        
        Defines a polygon stipple. It works much the same way as LineStipple, masking out certain fragments produced by rasterization so that they are not sent to the next stage of the GL. This is the case regardless of the state of polygon antialiasing.

        If xw and yw are the window coordinates of a rasterized polygon fragment, then that fragment is sent to the next stage of the GL if and only if the bit of the pattern (xw mod 32, yw mod 32) is 1.

        Polygon stippling may be enabled or disabled with Enable or Disable using the constant POLYGON_STIPPLE. When disabled, it is as if the stipple pattern were all ones.

        Parameters:
        pattern - a pointer to memory into which a 32 × 32 pattern is packed
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glPushClientAttrib

        public static void glPushClientAttrib​(int mask)
        Takes a bitwise OR of symbolic constants indicating which groups of state variables to push onto the client attribute stack. Each constant refers to a group of state variables.

        Bits set in mask that do not correspond to an attribute group are ignored. The special mask value CLIENT_ALL_ATTRIB_BITS may be used to push all stackable client state.

        A STACK_OVERFLOW error is generated if PushAttrib is called and the client attribute stack depth is equal to the value of MAX_CLIENT_ATTRIB_STACK_DEPTH.

        Parameters:
        mask - the state variables to push. One or more of:
        CLIENT_VERTEX_ARRAY_BITCLIENT_PIXEL_STORE_BITCLIENT_ALL_ATTRIB_BITS
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glPopAttrib

        public static void glPopAttrib()
        Resets the values of those state variables that were saved with the last PushAttrib. Those not saved remain unchanged.
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glPopClientAttrib

        public static void glPopClientAttrib()
        Resets the values of those state variables that were saved with the last PushClientAttrib. Those not saved remain unchanged.
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glPopMatrix

        public static void glPopMatrix()
        Pops the top entry off the current matrix stack, replacing the current matrix with the matrix that was the second entry in the stack.
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glPopName

        public static void glPopName()
        Pops one name off the top of the selection name stack.
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglPrioritizeTextures

        public static void nglPrioritizeTextures​(int n,
                                                 long textures,
                                                 long priorities)
        Unsafe version of: PrioritizeTextures
        Parameters:
        n - the number of texture object priorities to set
      • glPrioritizeTextures

        public static void glPrioritizeTextures​(java.nio.IntBuffer textures,
                                                java.nio.FloatBuffer priorities)
        Sets the priority of texture objects. Each priority value is clamped to the range [0, 1] before it is assigned. Zero indicates the lowest priority, with the least likelihood of being resident. One indicates the highest priority, with the greatest likelihood of being resident.
        Parameters:
        textures - an array of texture object names
        priorities - an array of texture object priorities
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glPushMatrix

        public static void glPushMatrix()
        Pushes the current matrix stack down by one, duplicating the current matrix in both the top of the stack and the entry below it.
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glPushName

        public static void glPushName​(int name)
        Causes name to be pushed onto the selection name stack.
        Parameters:
        name - the name to push
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glRasterPos2i

        public static void glRasterPos2i​(int x,
                                         int y)
        Sets the two-dimensional current raster position. z is implicitly set to 0 and w implicitly set to 1.

        The coordinates are treated as if they were specified in a Vertex command. If a vertex shader is active, this vertex shader is executed using the x, y, z, and w coordinates as the object coordinates of the vertex. Otherwise, the x, y, z, and w coordinates are transformed by the current model-view and projection matrices. These coordinates, along with current values, are used to generate primary and secondary colors and texture coordinates just as is done for a vertex. The colors and texture coordinates so produced replace the colors and texture coordinates stored in the current raster position's associated data.

        Parameters:
        x - the x raster coordinate
        y - the y raster coordinate
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glRasterPos2s

        public static void glRasterPos2s​(short x,
                                         short y)
        Short version of RasterPos2i.
        Parameters:
        x - the x raster coordinate
        y - the y raster coordinate
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glRasterPos2f

        public static void glRasterPos2f​(float x,
                                         float y)
        Float version of RasterPos2i.
        Parameters:
        x - the x raster coordinate
        y - the y raster coordinate
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glRasterPos2d

        public static void glRasterPos2d​(double x,
                                         double y)
        Double version of RasterPos2i.
        Parameters:
        x - the x raster coordinate
        y - the y raster coordinate
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglRasterPos2iv

        public static void nglRasterPos2iv​(long coords)
        Unsafe version of: RasterPos2iv
      • glRasterPos2iv

        public static void glRasterPos2iv​(java.nio.IntBuffer coords)
        Pointer version of RasterPos2i.
        Parameters:
        coords - the raster position buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglRasterPos2sv

        public static void nglRasterPos2sv​(long coords)
        Unsafe version of: RasterPos2sv
      • glRasterPos2sv

        public static void glRasterPos2sv​(java.nio.ShortBuffer coords)
        Pointer version of RasterPos2s.
        Parameters:
        coords - the raster position buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglRasterPos2fv

        public static void nglRasterPos2fv​(long coords)
        Unsafe version of: RasterPos2fv
      • glRasterPos2fv

        public static void glRasterPos2fv​(java.nio.FloatBuffer coords)
        Pointer version of RasterPos2f.
        Parameters:
        coords - the raster position buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglRasterPos2dv

        public static void nglRasterPos2dv​(long coords)
        Unsafe version of: RasterPos2dv
      • glRasterPos2dv

        public static void glRasterPos2dv​(java.nio.DoubleBuffer coords)
        Pointer version of RasterPos2d.
        Parameters:
        coords - the raster position buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glRasterPos3i

        public static void glRasterPos3i​(int x,
                                         int y,
                                         int z)
        Sets the three-dimensional current raster position. w is implicitly set to 1. See RasterPos2i for more details.
        Parameters:
        x - the x raster coordinate
        y - the y raster coordinate
        z - the z raster coordinate
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glRasterPos3s

        public static void glRasterPos3s​(short x,
                                         short y,
                                         short z)
        Short version of RasterPos3i.
        Parameters:
        x - the x raster coordinate
        y - the y raster coordinate
        z - the z raster coordinate
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glRasterPos3f

        public static void glRasterPos3f​(float x,
                                         float y,
                                         float z)
        Float version of RasterPos3i.
        Parameters:
        x - the x raster coordinate
        y - the y raster coordinate
        z - the z raster coordinate
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glRasterPos3d

        public static void glRasterPos3d​(double x,
                                         double y,
                                         double z)
        Double version of RasterPos3i.
        Parameters:
        x - the x raster coordinate
        y - the y raster coordinate
        z - the z raster coordinate
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglRasterPos3iv

        public static void nglRasterPos3iv​(long coords)
        Unsafe version of: RasterPos3iv
      • glRasterPos3iv

        public static void glRasterPos3iv​(java.nio.IntBuffer coords)
        Pointer version of RasterPos3i.
        Parameters:
        coords - the raster position buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglRasterPos3sv

        public static void nglRasterPos3sv​(long coords)
        Unsafe version of: RasterPos3sv
      • glRasterPos3sv

        public static void glRasterPos3sv​(java.nio.ShortBuffer coords)
        Pointer version of RasterPos3s.
        Parameters:
        coords - the raster position buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglRasterPos3fv

        public static void nglRasterPos3fv​(long coords)
        Unsafe version of: RasterPos3fv
      • glRasterPos3fv

        public static void glRasterPos3fv​(java.nio.FloatBuffer coords)
        Pointer version of RasterPos3f.
        Parameters:
        coords - the raster position buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglRasterPos3dv

        public static void nglRasterPos3dv​(long coords)
        Unsafe version of: RasterPos3dv
      • glRasterPos3dv

        public static void glRasterPos3dv​(java.nio.DoubleBuffer coords)
        Pointer version of RasterPos3d.
        Parameters:
        coords - the raster position buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glRasterPos4i

        public static void glRasterPos4i​(int x,
                                         int y,
                                         int z,
                                         int w)
        Sets the four-dimensional current raster position. See RasterPos2i for more details.
        Parameters:
        x - the x raster coordinate
        y - the y raster coordinate
        z - the z raster coordinate
        w - the w raster coordinate
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glRasterPos4s

        public static void glRasterPos4s​(short x,
                                         short y,
                                         short z,
                                         short w)
        Short version of RasterPos4i.
        Parameters:
        x - the x raster coordinate
        y - the y raster coordinate
        z - the z raster coordinate
        w - the w raster coordinate
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glRasterPos4f

        public static void glRasterPos4f​(float x,
                                         float y,
                                         float z,
                                         float w)
        Float version of RasterPos4i.
        Parameters:
        x - the x raster coordinate
        y - the y raster coordinate
        z - the z raster coordinate
        w - the w raster coordinate
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glRasterPos4d

        public static void glRasterPos4d​(double x,
                                         double y,
                                         double z,
                                         double w)
        Double version of RasterPos4i.
        Parameters:
        x - the x raster coordinate
        y - the y raster coordinate
        z - the z raster coordinate
        w - the w raster coordinate
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglRasterPos4iv

        public static void nglRasterPos4iv​(long coords)
        Unsafe version of: RasterPos4iv
      • glRasterPos4iv

        public static void glRasterPos4iv​(java.nio.IntBuffer coords)
        Pointer version of RasterPos4i.
        Parameters:
        coords - the raster position buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglRasterPos4sv

        public static void nglRasterPos4sv​(long coords)
        Unsafe version of: RasterPos4sv
      • glRasterPos4sv

        public static void glRasterPos4sv​(java.nio.ShortBuffer coords)
        Pointer version of RasterPos4s.
        Parameters:
        coords - the raster position buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglRasterPos4fv

        public static void nglRasterPos4fv​(long coords)
        Unsafe version of: RasterPos4fv
      • glRasterPos4fv

        public static void glRasterPos4fv​(java.nio.FloatBuffer coords)
        Pointer version of RasterPos4f.
        Parameters:
        coords - the raster position buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglRasterPos4dv

        public static void nglRasterPos4dv​(long coords)
        Unsafe version of: RasterPos4dv
      • glRasterPos4dv

        public static void glRasterPos4dv​(java.nio.DoubleBuffer coords)
        Pointer version of RasterPos4d.
        Parameters:
        coords - the raster position buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglReadPixels

        public static void nglReadPixels​(int x,
                                         int y,
                                         int width,
                                         int height,
                                         int format,
                                         int type,
                                         long pixels)
        Unsafe version of: ReadPixels
      • glRecti

        public static void glRecti​(int x1,
                                   int y1,
                                   int x2,
                                   int y2)
        Specifies a rectangle as two corner vertices. The effect of the Rect command

        Rect(x1, y1, x2, y2);

        is exactly the same as the following sequence of commands: Begin(POLYGON); Vertex2(x1, y1); Vertex2(x2, y1); Vertex2(x2, y2); Vertex2(x1, y2); End();

        The appropriate Vertex2 command would be invoked depending on which of the Rect commands is issued.

        Parameters:
        x1 - the x coordinate of the first corner vertex
        y1 - the y coordinate of the first corner vertex
        x2 - the x coordinate of the second corner vertex
        y2 - the y coordinate of the second corner vertex
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glRects

        public static void glRects​(short x1,
                                   short y1,
                                   short x2,
                                   short y2)
        Short version of Recti.
        Parameters:
        x1 - the x coordinate of the first corner vertex
        y1 - the y coordinate of the first corner vertex
        x2 - the x coordinate of the second corner vertex
        y2 - the y coordinate of the second corner vertex
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glRectf

        public static void glRectf​(float x1,
                                   float y1,
                                   float x2,
                                   float y2)
        Float version of Recti.
        Parameters:
        x1 - the x coordinate of the first corner vertex
        y1 - the y coordinate of the first corner vertex
        x2 - the x coordinate of the second corner vertex
        y2 - the y coordinate of the second corner vertex
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glRectd

        public static void glRectd​(double x1,
                                   double y1,
                                   double x2,
                                   double y2)
        Double version of Recti.
        Parameters:
        x1 - the x coordinate of the first corner vertex
        y1 - the y coordinate of the first corner vertex
        x2 - the x coordinate of the second corner vertex
        y2 - the y coordinate of the second corner vertex
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglRectiv

        public static void nglRectiv​(long v1,
                                     long v2)
        Unsafe version of: Rectiv
      • glRectiv

        public static void glRectiv​(java.nio.IntBuffer v1,
                                    java.nio.IntBuffer v2)
        Pointer version of Recti.
        Parameters:
        v1 - the first vertex buffer
        v2 - the second vertex buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglRectsv

        public static void nglRectsv​(long v1,
                                     long v2)
        Unsafe version of: Rectsv
      • glRectsv

        public static void glRectsv​(java.nio.ShortBuffer v1,
                                    java.nio.ShortBuffer v2)
        Pointer version of Rects.
        Parameters:
        v1 - the first vertex buffer
        v2 - the second vertex buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglRectfv

        public static void nglRectfv​(long v1,
                                     long v2)
        Unsafe version of: Rectfv
      • glRectfv

        public static void glRectfv​(java.nio.FloatBuffer v1,
                                    java.nio.FloatBuffer v2)
        Pointer version of Rectf.
        Parameters:
        v1 - the first vertex buffer
        v2 - the second vertex buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglRectdv

        public static void nglRectdv​(long v1,
                                     long v2)
        Unsafe version of: Rectdv
      • glRectdv

        public static void glRectdv​(java.nio.DoubleBuffer v1,
                                    java.nio.DoubleBuffer v2)
        Pointer version of Rectd.
        Parameters:
        v1 - the first vertex buffer
        v2 - the second vertex buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glRenderMode

        public static int glRenderMode​(int mode)
        Sets the current render mode. The default is RENDER.
        Parameters:
        mode - the render mode. One of:
        RENDERSELECTFEEDBACK
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glRotatef

        public static void glRotatef​(float angle,
                                     float x,
                                     float y,
                                     float z)
        Manipulates the current matrix with a rotation matrix.

        angle gives an angle of rotation in degrees; the coordinates of a vector v are given by v = (x y z)T. The computed matrix is a counter-clockwise rotation about the line through the origin with the specified axis when that axis is pointing up (i.e. the right-hand rule determines the sense of the rotation angle). The matrix is thus

        R0
        0
        0
        0001

        Let u = v / ||v|| = (x' y' z')T. If S =

        0-z'y'
        z'0-x'
        -y'x'0

        then R = uuT + cos(angle)(I - uuT) + sin(angle)S

        Parameters:
        angle - the angle of rotation in degrees
        x - the x coordinate of the rotation vector
        y - the y coordinate of the rotation vector
        z - the z coordinate of the rotation vector
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glRotated

        public static void glRotated​(double angle,
                                     double x,
                                     double y,
                                     double z)
        Double version of Rotatef.
        Parameters:
        angle - the angle of rotation in degrees
        x - the x coordinate of the rotation vector
        y - the y coordinate of the rotation vector
        z - the z coordinate of the rotation vector
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glScalef

        public static void glScalef​(float x,
                                    float y,
                                    float z)
        Manipulates the current matrix with a general scaling matrix along the x-, y- and z- axes.

        Calling this function is equivalent to calling MultMatrixf with the following matrix:

        x000
        0y00
        00z0
        0001
        Parameters:
        x - the x-axis scaling factor
        y - the y-axis scaling factor
        z - the z-axis scaling factor
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glScaled

        public static void glScaled​(double x,
                                    double y,
                                    double z)
        Double version of Scalef.
        Parameters:
        x - the x-axis scaling factor
        y - the y-axis scaling factor
        z - the z-axis scaling factor
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glScissor

        public static void glScissor​(int x,
                                     int y,
                                     int width,
                                     int height)
        Defines the scissor rectangle for all viewports. The scissor test is enabled or disabled for all viewports using Enable or Disable with the symbolic constant SCISSOR_TEST. When disabled, it is as if the scissor test always passes. When enabled, if left ≤ xw < left + width and bottom ≤ yw < bottom + height for the scissor rectangle, then the scissor test passes. Otherwise, the test fails and the fragment is discarded.
        Parameters:
        x - the left scissor rectangle coordinate
        y - the bottom scissor rectangle coordinate
        width - the scissor rectangle width
        height - the scissor rectangle height
        See Also:
        Reference Page
      • nglSelectBuffer

        public static void nglSelectBuffer​(int size,
                                           long buffer)
        Unsafe version of: SelectBuffer
        Parameters:
        size - the maximum number of values that can be stored in buffer
      • glSelectBuffer

        public static void glSelectBuffer​(java.nio.IntBuffer buffer)
        Sets the selection array.
        Parameters:
        buffer - an array of unsigned integers to be potentially filled names
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glShadeModel

        public static void glShadeModel​(int mode)
        Sets the current shade mode. The initial value of the shade mode is SMOOTH.

        If mode is SMOOTH, vertex colors are treated individually. If mode is FLAT, flatshading is enabled and colors are taken from the provoking vertex of the primitive. The colors selected are those derived from current values, generated by lighting, or generated by vertex shading, if lighting is disabled, enabled, or a vertex shader is in use, respectively.

        Parameters:
        mode - the shade mode. One of:
        SMOOTHFLAT
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glStencilFunc

        public static void glStencilFunc​(int func,
                                         int ref,
                                         int mask)
        Controls the stencil test.

        ref is an integer reference value that is used in the unsigned stencil comparison. Stencil comparison operations and queries of ref clamp its value to the range [0, 2s – 1], where s is the number of bits in the stencil buffer attached to the draw framebuffer. The s least significant bits of mask are bitwise ANDed with both the reference and the stored stencil value, and the resulting masked values are those that participate in the comparison controlled by func.

        Parameters:
        func - the stencil comparison function. One of:
        NEVERALWAYSLESSLEQUALEQUALGEQUALGREATERNOTEQUAL
        ref - the reference value
        mask - the stencil comparison mask
        See Also:
        Reference Page
      • glStencilMask

        public static void glStencilMask​(int mask)
        Masks the writing of particular bits into the stencil plans.

        The least significant s bits of mask, where s is the number of bits in the stencil buffer, specify an integer mask. Where a 1 appears in this mask, the corresponding bit in the stencil buffer is written; where a 0 appears, the bit is not written.

        Parameters:
        mask - the stencil mask
        See Also:
        Reference Page
      • glStencilOp

        public static void glStencilOp​(int sfail,
                                       int dpfail,
                                       int dppass)
        Indicates what happens to the stored stencil value if this or certain subsequent tests fail or pass.

        The supported actions are KEEP, ZERO, REPLACE, INCR, DECR, INVERT, INCR_WRAP and DECR_WRAP. These correspond to keeping the current value, setting to zero, replacing with the reference value, incrementing with saturation, decrementing with saturation, bitwise inverting it, incrementing without saturation, and decrementing without saturation.

        For purposes of increment and decrement, the stencil bits are considered as an unsigned integer. Incrementing or decrementing with saturation clamps the stencil value at 0 and the maximum representable value. Incrementing or decrementing without saturation will wrap such that incrementing the maximum representable value results in 0, and decrementing 0 results in the maximum representable value.

        Parameters:
        sfail - the action to take if the stencil test fails
        dpfail - the action to take if the depth buffer test fails
        dppass - the action to take if the depth buffer test passes
        See Also:
        Reference Page
      • glTexCoord1f

        public static void glTexCoord1f​(float s)
        Sets the current one-dimensional texture coordinate. t and r are implicitly set to 0 and q to 1.
        Parameters:
        s - the s component of the current texture coordinates
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glTexCoord1s

        public static void glTexCoord1s​(short s)
        Short version of TexCoord1f.
        Parameters:
        s - the s component of the current texture coordinates
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glTexCoord1i

        public static void glTexCoord1i​(int s)
        Integer version of TexCoord1f.
        Parameters:
        s - the s component of the current texture coordinates
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glTexCoord1d

        public static void glTexCoord1d​(double s)
        Double version of TexCoord1f.
        Parameters:
        s - the s component of the current texture coordinates
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexCoord1fv

        public static void nglTexCoord1fv​(long v)
        Unsafe version of: TexCoord1fv
      • glTexCoord1fv

        public static void glTexCoord1fv​(java.nio.FloatBuffer v)
        Pointer version of TexCoord1f.
        Parameters:
        v - the texture coordinate buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexCoord1sv

        public static void nglTexCoord1sv​(long v)
        Unsafe version of: TexCoord1sv
      • glTexCoord1sv

        public static void glTexCoord1sv​(java.nio.ShortBuffer v)
        Pointer version of TexCoord1s.
        Parameters:
        v - the texture coordinate buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexCoord1iv

        public static void nglTexCoord1iv​(long v)
        Unsafe version of: TexCoord1iv
      • glTexCoord1iv

        public static void glTexCoord1iv​(java.nio.IntBuffer v)
        Pointer version of TexCoord1i.
        Parameters:
        v - the texture coordinate buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexCoord1dv

        public static void nglTexCoord1dv​(long v)
        Unsafe version of: TexCoord1dv
      • glTexCoord1dv

        public static void glTexCoord1dv​(java.nio.DoubleBuffer v)
        Pointer version of TexCoord1d.
        Parameters:
        v - the texture coordinate buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glTexCoord2f

        public static void glTexCoord2f​(float s,
                                        float t)
        Sets the current two-dimensional texture coordinate. r is implicitly set to 0 and q to 1.
        Parameters:
        s - the s component of the current texture coordinates
        t - the t component of the current texture coordinates
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glTexCoord2s

        public static void glTexCoord2s​(short s,
                                        short t)
        Short version of TexCoord2f.
        Parameters:
        s - the s component of the current texture coordinates
        t - the t component of the current texture coordinates
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glTexCoord2i

        public static void glTexCoord2i​(int s,
                                        int t)
        Integer version of TexCoord2f.
        Parameters:
        s - the s component of the current texture coordinates
        t - the t component of the current texture coordinates
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glTexCoord2d

        public static void glTexCoord2d​(double s,
                                        double t)
        Double version of TexCoord2f.
        Parameters:
        s - the s component of the current texture coordinates
        t - the t component of the current texture coordinates
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexCoord2fv

        public static void nglTexCoord2fv​(long v)
        Unsafe version of: TexCoord2fv
      • glTexCoord2fv

        public static void glTexCoord2fv​(java.nio.FloatBuffer v)
        Pointer version of TexCoord2f.
        Parameters:
        v - the texture coordinate buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexCoord2sv

        public static void nglTexCoord2sv​(long v)
        Unsafe version of: TexCoord2sv
      • glTexCoord2sv

        public static void glTexCoord2sv​(java.nio.ShortBuffer v)
        Pointer version of TexCoord2s.
        Parameters:
        v - the texture coordinate buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexCoord2iv

        public static void nglTexCoord2iv​(long v)
        Unsafe version of: TexCoord2iv
      • glTexCoord2iv

        public static void glTexCoord2iv​(java.nio.IntBuffer v)
        Pointer version of TexCoord2i.
        Parameters:
        v - the texture coordinate buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexCoord2dv

        public static void nglTexCoord2dv​(long v)
        Unsafe version of: TexCoord2dv
      • glTexCoord2dv

        public static void glTexCoord2dv​(java.nio.DoubleBuffer v)
        Pointer version of TexCoord2d.
        Parameters:
        v - the texture coordinate buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glTexCoord3f

        public static void glTexCoord3f​(float s,
                                        float t,
                                        float r)
        Sets the current three-dimensional texture coordinate. q is implicitly set to 1.
        Parameters:
        s - the s component of the current texture coordinates
        t - the t component of the current texture coordinates
        r - the r component of the current texture coordinates
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glTexCoord3s

        public static void glTexCoord3s​(short s,
                                        short t,
                                        short r)
        Short version of TexCoord3f.
        Parameters:
        s - the s component of the current texture coordinates
        t - the t component of the current texture coordinates
        r - the r component of the current texture coordinates
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glTexCoord3i

        public static void glTexCoord3i​(int s,
                                        int t,
                                        int r)
        Integer version of TexCoord3f.
        Parameters:
        s - the s component of the current texture coordinates
        t - the t component of the current texture coordinates
        r - the r component of the current texture coordinates
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glTexCoord3d

        public static void glTexCoord3d​(double s,
                                        double t,
                                        double r)
        Double version of TexCoord3f.
        Parameters:
        s - the s component of the current texture coordinates
        t - the t component of the current texture coordinates
        r - the r component of the current texture coordinates
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexCoord3fv

        public static void nglTexCoord3fv​(long v)
        Unsafe version of: TexCoord3fv
      • glTexCoord3fv

        public static void glTexCoord3fv​(java.nio.FloatBuffer v)
        Pointer version of TexCoord3f.
        Parameters:
        v - the texture coordinate buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexCoord3sv

        public static void nglTexCoord3sv​(long v)
        Unsafe version of: TexCoord3sv
      • glTexCoord3sv

        public static void glTexCoord3sv​(java.nio.ShortBuffer v)
        Pointer version of TexCoord3s.
        Parameters:
        v - the texture coordinate buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexCoord3iv

        public static void nglTexCoord3iv​(long v)
        Unsafe version of: TexCoord3iv
      • glTexCoord3iv

        public static void glTexCoord3iv​(java.nio.IntBuffer v)
        Pointer version of TexCoord3i.
        Parameters:
        v - the texture coordinate buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexCoord3dv

        public static void nglTexCoord3dv​(long v)
        Unsafe version of: TexCoord3dv
      • glTexCoord3dv

        public static void glTexCoord3dv​(java.nio.DoubleBuffer v)
        Pointer version of TexCoord3d.
        Parameters:
        v - the texture coordinate buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glTexCoord4f

        public static void glTexCoord4f​(float s,
                                        float t,
                                        float r,
                                        float q)
        Sets the current four-dimensional texture coordinate.
        Parameters:
        s - the s component of the current texture coordinates
        t - the t component of the current texture coordinates
        r - the r component of the current texture coordinates
        q - the q component of the current texture coordinates
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glTexCoord4s

        public static void glTexCoord4s​(short s,
                                        short t,
                                        short r,
                                        short q)
        Short version of TexCoord4f.
        Parameters:
        s - the s component of the current texture coordinates
        t - the t component of the current texture coordinates
        r - the r component of the current texture coordinates
        q - the q component of the current texture coordinates
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glTexCoord4i

        public static void glTexCoord4i​(int s,
                                        int t,
                                        int r,
                                        int q)
        Integer version of TexCoord4f.
        Parameters:
        s - the s component of the current texture coordinates
        t - the t component of the current texture coordinates
        r - the r component of the current texture coordinates
        q - the q component of the current texture coordinates
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glTexCoord4d

        public static void glTexCoord4d​(double s,
                                        double t,
                                        double r,
                                        double q)
        Double version of TexCoord4f.
        Parameters:
        s - the s component of the current texture coordinates
        t - the t component of the current texture coordinates
        r - the r component of the current texture coordinates
        q - the q component of the current texture coordinates
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexCoord4fv

        public static void nglTexCoord4fv​(long v)
        Unsafe version of: TexCoord4fv
      • glTexCoord4fv

        public static void glTexCoord4fv​(java.nio.FloatBuffer v)
        Pointer version of TexCoord4f.
        Parameters:
        v - the texture coordinate buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexCoord4sv

        public static void nglTexCoord4sv​(long v)
        Unsafe version of: TexCoord4sv
      • glTexCoord4sv

        public static void glTexCoord4sv​(java.nio.ShortBuffer v)
        Pointer version of TexCoord4s.
        Parameters:
        v - the texture coordinate buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexCoord4iv

        public static void nglTexCoord4iv​(long v)
        Unsafe version of: TexCoord4iv
      • glTexCoord4iv

        public static void glTexCoord4iv​(java.nio.IntBuffer v)
        Pointer version of TexCoord4i.
        Parameters:
        v - the texture coordinate buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexCoord4dv

        public static void nglTexCoord4dv​(long v)
        Unsafe version of: TexCoord4dv
      • glTexCoord4dv

        public static void glTexCoord4dv​(java.nio.DoubleBuffer v)
        Pointer version of TexCoord4d.
        Parameters:
        v - the texture coordinate buffer
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexCoordPointer

        public static void nglTexCoordPointer​(int size,
                                              int type,
                                              int stride,
                                              long pointer)
        Unsafe version of: TexCoordPointer
      • glTexCoordPointer

        public static void glTexCoordPointer​(int size,
                                             int type,
                                             int stride,
                                             java.nio.ByteBuffer pointer)
        
        public static void glTexCoordPointer​(int size,
                                             int type,
                                             int stride,
                                             long pointer)
        
        public static void glTexCoordPointer​(int size,
                                             int type,
                                             int stride,
                                             java.nio.ShortBuffer pointer)
        
        public static void glTexCoordPointer​(int size,
                                             int type,
                                             int stride,
                                             java.nio.IntBuffer pointer)
        
        public static void glTexCoordPointer​(int size,
                                             int type,
                                             int stride,
                                             java.nio.FloatBuffer pointer)
        
        Specifies the location and organization of a texture coordinate array.
        Parameters:
        size - the number of values per vertex that are stored in the array. One of:
        1234
        type - the data type of the values stored in the array. One of:
        SHORTINTHALF_FLOATFLOATDOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REV
        stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentially
        pointer - the texture coordinate array data
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexEnviv

        public static void nglTexEnviv​(int target,
                                       int pname,
                                       long params)
        Unsafe version of: TexEnviv
      • glTexEnviv

        public static void glTexEnviv​(int target,
                                      int pname,
                                      java.nio.IntBuffer params)
        Pointer version of TexEnvi.
        Parameters:
        target - the texture environment target. Must be:
        TEXTURE_ENV
        pname - the parameter to set. Must be:
        TEXTURE_ENV_COLOR
        params - the parameter value
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glTexEnvf

        public static void glTexEnvf​(int target,
                                     int pname,
                                     float param)
        Float version of TexEnvi.
        Parameters:
        target - the texture environment target
        pname - the parameter to set
        param - the parameter value
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexEnvfv

        public static void nglTexEnvfv​(int target,
                                       int pname,
                                       long params)
        Unsafe version of: TexEnvfv
      • glTexEnvfv

        public static void glTexEnvfv​(int target,
                                      int pname,
                                      java.nio.FloatBuffer params)
        Pointer version of TexEnvf.
        Parameters:
        target - the texture environment target. Must be:
        TEXTURE_ENV
        pname - the parameter to set. Must be:
        TEXTURE_ENV_COLOR
        params - the parameter value
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glTexGeni

        public static void glTexGeni​(int coord,
                                     int pname,
                                     int param)
        Sets an integer texture coordinate generation parameter.

        A texture coordinate generation function is enabled or disabled using Enable and Disable with an argument of TEXTURE_GEN_S, TEXTURE_GEN_T, TEXTURE_GEN_R, or TEXTURE_GEN_Q (each indicates the corresponding texture coordinate). When enabled, the specified texture coordinate is computed according to the current EYE_LINEAR, OBJECT_LINEAR or SPHERE_MAP specification, depending on the current setting of TEXTURE_GEN_MODE for that coordinate. When disabled, subsequent vertices will take the indicated texture coordinate from the current texture coordinates.

        The initial state has the texture generation function disabled for all texture coordinates. Initially all texture generation modes are EYE_LINEAR.

        Parameters:
        coord - the coordinate for which to set the parameter. One of:
        STRQ
        pname - the parameter to set. Must be:
        TEXTURE_GEN_MODE
        param - the parameter value. One of:
        OBJECT_LINEAREYE_LINEARSPHERE_MAPREFLECTION_MAPNORMAL_MAP
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexGeniv

        public static void nglTexGeniv​(int coord,
                                       int pname,
                                       long params)
        Unsafe version of: TexGeniv
      • glTexGeniv

        public static void glTexGeniv​(int coord,
                                      int pname,
                                      java.nio.IntBuffer params)
        Pointer version of TexGeni.
        Parameters:
        coord - the coordinate for which to set the parameter
        pname - the parameter to set. One of:
        OBJECT_PLANEEYE_PLANE
        params - the parameter value
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glTexGenf

        public static void glTexGenf​(int coord,
                                     int pname,
                                     float param)
        Float version of TexGeni.
        Parameters:
        coord - the coordinate for which to set the parameter
        pname - the parameter to set
        param - the parameter value
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexGenfv

        public static void nglTexGenfv​(int coord,
                                       int pname,
                                       long params)
        Unsafe version of: TexGenfv
      • glTexGenfv

        public static void glTexGenfv​(int coord,
                                      int pname,
                                      java.nio.FloatBuffer params)
        Pointer version of TexGenf.
        Parameters:
        coord - the coordinate for which to set the parameter
        pname - the parameter to set. One of:
        OBJECT_PLANEEYE_PLANE
        params - the parameter value
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • glTexGend

        public static void glTexGend​(int coord,
                                     int pname,
                                     double param)
        Double version of TexGeni.
        Parameters:
        coord - the coordinate for which to set the parameter
        pname - the parameter to set
        param - the parameter value
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexGendv

        public static void nglTexGendv​(int coord,
                                       int pname,
                                       long params)
        Unsafe version of: TexGendv
      • glTexGendv

        public static void glTexGendv​(int coord,
                                      int pname,
                                      java.nio.DoubleBuffer params)
        Pointer version of TexGend.
        Parameters:
        coord - the coordinate for which to set the parameter
        pname - the parameter to set
        params - the parameter value
        See Also:
        Reference Page - This function is deprecated and unavailable in the Core profile
      • nglTexImage1D

        public static void nglTexImage1D​(int target,
                                         int level,
                                         int internalformat,
                                         int width,
                                         int border,
                                         int format,
                                         int type,
                                         long pixels)
        Unsafe version of: TexImage1D
      • glTexImage1D

        public static void glTexImage1D​(int target,
                                        int level,
                                        int internalformat,
                                        int width,
                                        int border,
                                        int format,
                                        int type,
                                        @Nullable
                                        java.nio.ByteBuffer pixels)
        
        public static void glTexImage1D​(int target,
                                        int level,
                                        int internalformat,
                                        int width,
                                        int border,
                                        int format,
                                        int type,
                                        @Nullable
                                        long pixels)
        
        public static void glTexImage1D​(int target,
                                        int level,
                                        int internalformat,
                                        int width,
                                        int border,
                                        int format,
                                        int type,
                                        @Nullable
                                        java.nio.ShortBuffer pixels)
        
        public static void glTexImage1D​(int target,
                                        int level,
                                        int internalformat,
                                        int width,
                                        int border,
                                        int format,
                                        int type,
                                        @Nullable
                                        java.nio.IntBuffer pixels)
        
        public static void glTexImage1D​(int target,
                                        int level,
                                        int internalformat,
                                        int width,
                                        int border,
                                        int format,
                                        int type,
                                        @Nullable
                                        java.nio.FloatBuffer pixels)
        
        public static void glTexImage1D​(int target,
                                        int level,
                                        int internalformat,
                                        int width,
                                        int border,
                                        int format,
                                        int type,
                                        @Nullable
                                        java.nio.DoubleBuffer pixels)
        
        One-dimensional version of TexImage2D}.
        Parameters:
        target - the texture target. One of:
        TEXTURE_1DPROXY_TEXTURE_1D
        level - the level-of-detail number
        internalformat - the texture internal format
        width - the texture width
        border - the texture border width
        format - the texel data format
        type - the texel data type
        pixels - the texel data
        See Also:
        Reference Page
      • nglTexImage2D

        public static void nglTexImage2D​(int target,
                                         int level,
                                         int internalformat,
                                         int width,
                                         int height,
                                         int border,
                                         int format,
                                         int type,
                                         long pixels)
        Unsafe version of: TexImage2D