JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.glu.gl2es1.GLUgl2es1 Class Reference
Inheritance diagram for com.jogamp.opengl.glu.gl2es1.GLUgl2es1:
Collaboration diagram for com.jogamp.opengl.glu.gl2es1.GLUgl2es1:

Public Member Functions

 GLUgl2es1 ()
 Instantiates a new OpenGL Utility Library object. More...
 
final int gluScaleImage (int format, int widthin, int heightin, int typein, java.nio.Buffer datain, int widthout, int heightout, int typeout, java.nio.Buffer dataout)
 Optional, throws GLException if not available in profile. More...
 
final int gluBuild1DMipmapLevels (int target, int internalFormat, int width, int format, int type, int userLevel, int baseLevel, int maxLevel, java.nio.Buffer data)
 Optional, throws GLException if not available in profile. More...
 
final int gluBuild1DMipmaps (int target, int internalFormat, int width, int format, int type, java.nio.Buffer data)
 Optional, throws GLException if not available in profile. More...
 
final int gluBuild2DMipmapLevels (int target, int internalFormat, int width, int height, int format, int type, int userLevel, int baseLevel, int maxLevel, java.nio.Buffer data)
 Optional, throws GLException if not available in profile. More...
 
final int gluBuild2DMipmaps (int target, int internalFormat, int width, int height, int format, int type, java.nio.Buffer data)
 Optional, throws GLException if not available in profile. More...
 
final int gluBuild3DMipmapLevels (int target, int internalFormat, int width, int height, int depth, int format, int type, int userLevel, int baseLevel, int maxLevel, java.nio.Buffer data)
 Optional, throws GLException if not available in profile. More...
 
final int gluBuild3DMipmaps (int target, int internalFormat, int width, int height, int depth, int format, int type, java.nio.Buffer data)
 Optional, throws GLException if not available in profile. More...
 
- Public Member Functions inherited from com.jogamp.opengl.glu.GLU
boolean isFunctionAvailable (String gluFunctionName)
 Returns true if the specified GLU core- or extension-function can be successfully used through this GLU instance. More...
 
 GLU ()
 
final String gluErrorString (int errorCode)
 
final boolean gluCheckExtension (java.lang.String extName, java.lang.String extString)
 
final String gluGetString (int name)
 
final void gluCylinder (GLUquadric quad, double base, double top, double height, int slices, int stacks)
 Option (throws GLException if not available in profile). More...
 
final void gluDeleteQuadric (GLUquadric quad)
 Option (throws GLException if not available in profile). More...
 
final void gluDisk (GLUquadric quad, double inner, double outer, int slices, int loops)
 Option (throws GLException if not available in profile). More...
 
final GLUquadric gluNewQuadric ()
 Option (throws GLException if not available in profile). More...
 
final GLUquadric gluNewQuadric (boolean useGLSL, ShaderState st)
 
final GLUquadric gluNewQuadric (boolean useGLSL, int shaderProgram)
 
final void gluPartialDisk (GLUquadric quad, double inner, double outer, int slices, int loops, double start, double sweep)
 Option (throws GLException if not available in profile). More...
 
final void gluQuadricDrawStyle (GLUquadric quad, int draw)
 Option (throws GLException if not available in profile). More...
 
final void gluQuadricNormals (GLUquadric quad, int normal)
 Option (throws GLException if not available in profile). More...
 
final void gluQuadricOrientation (GLUquadric quad, int orientation)
 Option (throws GLException if not available in profile). More...
 
final void gluQuadricTexture (GLUquadric quad, boolean texture)
 Option (throws GLException if not available in profile). More...
 
final void gluSphere (GLUquadric quad, double radius, int slices, int stacks)
 Option (throws GLException if not available in profile). More...
 
void gluOrtho2D (float left, float right, float bottom, float top)
 
void gluPerspective (float fovy, float aspect, float zNear, float zFar)
 
void gluLookAt (float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ)
 
boolean gluProject (float objX, float objY, float objZ, float[] model, int model_offset, float[] proj, int proj_offset, int[] view, int view_offset, float[] winPos, int winPos_offset)
 Interface to C language function:
GLint gluProject(GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * winX, GLdouble * winY, GLdouble * winZ); More...
 
boolean gluProject (float objX, float objY, float objZ, java.nio.FloatBuffer model, java.nio.FloatBuffer proj, java.nio.IntBuffer view, java.nio.FloatBuffer winPos)
 Interface to C language function:
GLint gluProject(GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * winX, GLdouble * winY, GLdouble * winZ); More...
 
boolean gluUnProject (float winX, float winY, float winZ, float[] model, int model_offset, float[] proj, int proj_offset, int[] view, int view_offset, float[] objPos, int objPos_offset)
 Interface to C language function:
GLint gluUnProject(GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * objX, GLdouble * objY, GLdouble * objZ); More...
 
boolean gluUnProject (float winX, float winY, float winZ, java.nio.FloatBuffer model, java.nio.FloatBuffer proj, java.nio.IntBuffer view, java.nio.FloatBuffer objPos)
 Interface to C language function:
GLint gluUnProject(GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * objX, GLdouble * objY, GLdouble * objZ); More...
 
boolean gluUnProject4 (float winX, float winY, float winZ, float clipW, float[] model, int model_offset, float[] proj, int proj_offset, int[] view, int view_offset, float nearVal, float farVal, float[] objPos, int objPos_offset)
 Interface to C language function:
GLint gluUnProject4(GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble nearVal, GLdouble farVal, GLdouble * objX, GLdouble * objY, GLdouble * objZ, GLdouble * objW); More...
 
boolean gluUnProject4 (float winX, float winY, float winZ, float clipW, java.nio.FloatBuffer model, java.nio.FloatBuffer proj, java.nio.IntBuffer view, float nearVal, float farVal, java.nio.FloatBuffer objPos)
 Interface to C language function:
GLint gluUnProject4(GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble nearVal, GLdouble farVal, GLdouble * objX, GLdouble * objY, GLdouble * objZ, GLdouble * objW); More...
 
void gluPickMatrix (float x, float y, float delX, float delY, int[] viewport, int viewport_offset)
 
void gluPickMatrix (float x, float y, float delX, float delY, java.nio.IntBuffer viewport)
 
void gluOrtho2D (double left, double right, double bottom, double top)
 
void gluPerspective (double fovy, double aspect, double zNear, double zFar)
 
void gluLookAt (double eyeX, double eyeY, double eyeZ, double centerX, double centerY, double centerZ, double upX, double upY, double upZ)
 
boolean gluProject (double objX, double objY, double objZ, double[] model, int model_offset, double[] proj, int proj_offset, int[] view, int view_offset, double[] winPos, int winPos_offset)
 Interface to C language function:
GLint gluProject(GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * winX, GLdouble * winY, GLdouble * winZ); More...
 
boolean gluUnProject (double winX, double winY, double winZ, double[] model, int model_offset, double[] proj, int proj_offset, int[] view, int view_offset, double[] objPos, int objPos_offset)
 Interface to C language function:
GLint gluUnProject(GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble * objX, GLdouble * objY, GLdouble * objZ); More...
 
boolean gluUnProject4 (double winX, double winY, double winZ, double clipW, double[] model, int model_offset, double[] proj, int proj_offset, int[] view, int view_offset, double nearVal, double farVal, double[] objPos, int objPos_offset)
 Interface to C language function:
GLint gluUnProject4(GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, const GLdouble * model, const GLdouble * proj, const GLint * view, GLdouble nearVal, GLdouble farVal, GLdouble * objX, GLdouble * objY, GLdouble * objZ, GLdouble * objW); More...
 
void gluPickMatrix (double x, double y, double delX, double delY, int[] viewport, int viewport_offset)
 
void gluPickMatrix (double x, double y, double delX, double delY, IntBuffer viewport)
 
int gluScaleImage (int format, int widthin, int heightin, int typein, java.nio.Buffer datain, int widthout, int heightout, int typeout, java.nio.Buffer dataout)
 Optional, throws GLException if not available in profile. More...
 
int gluBuild1DMipmapLevels (int target, int internalFormat, int width, int format, int type, int userLevel, int baseLevel, int maxLevel, java.nio.Buffer data)
 Optional, throws GLException if not available in profile. More...
 
int gluBuild1DMipmaps (int target, int internalFormat, int width, int format, int type, java.nio.Buffer data)
 Optional, throws GLException if not available in profile. More...
 
int gluBuild2DMipmapLevels (int target, int internalFormat, int width, int height, int format, int type, int userLevel, int baseLevel, int maxLevel, java.nio.Buffer data)
 Optional, throws GLException if not available in profile. More...
 
int gluBuild2DMipmaps (int target, int internalFormat, int width, int height, int format, int type, java.nio.Buffer data)
 Optional, throws GLException if not available in profile. More...
 
int gluBuild3DMipmapLevels (int target, int internalFormat, int width, int height, int depth, int format, int type, int userLevel, int baseLevel, int maxLevel, java.nio.Buffer data)
 Optional, throws GLException if not available in profile. More...
 
int gluBuild3DMipmaps (int target, int internalFormat, int width, int height, int depth, int format, int type, java.nio.Buffer data)
 Optional, throws GLException if not available in profile. More...
 

Static Public Member Functions

static final GL2ES1 getCurrentGL2ES1 () throws GLException
 
- Static Public Member Functions inherited from com.jogamp.opengl.glu.GLU
static final GLU createGLU () throws GLException
 Instantiates a GLU implementation object in respect to the given GL profile of this thread current GL. More...
 
static final GLU createGLU (GL gl) throws GLException
 Instantiates a GLU implementation object in respect to the given GL profile of the given GL. More...
 
static final GL getCurrentGL () throws GLException
 
static final GLUtessellator gluNewTess ()
 
static final void gluDeleteTess (GLUtessellator tessellator)
 
static final void gluTessProperty (GLUtessellator tessellator, int which, double value)
 
static final void gluGetTessProperty (GLUtessellator tessellator, int which, double[] value, int value_offset)
 
static final void gluTessNormal (GLUtessellator tessellator, double x, double y, double z)
 
static final void gluTessCallback (GLUtessellator tessellator, int which, GLUtessellatorCallback aCallback)
 
static final void gluTessVertex (GLUtessellator tessellator, double[] coords, int coords_offset, Object data)
 
static final void gluTessBeginPolygon (GLUtessellator tessellator, Object data)
 
static final void gluTessBeginContour (GLUtessellator tessellator)
 
static final void gluTessEndContour (GLUtessellator tessellator)
 
static final void gluTessEndPolygon (GLUtessellator tessellator)
 
static final void gluBeginPolygon (GLUtessellator tessellator)
 
static final void gluNextContour (GLUtessellator tessellator, int type)
 
static final void gluEndPolygon (GLUtessellator tessellator)
 

Static Protected Member Functions

static final void validateMipmap ()
 
- Static Protected Member Functions inherited from com.jogamp.opengl.glu.GLU
static final void validateGLUtessellatorImpl ()
 
static final void validateGLUquadricImpl ()
 Optional, throws GLException if not available in profile. More...
 

Static Protected Attributes

static boolean availableMipmap = false
 
static boolean checkedMipmap = false
 
- Static Protected Attributes inherited from com.jogamp.opengl.glu.GLU
static boolean availableGLUtessellatorImpl = false
 
static boolean checkedGLUtessellatorImpl = false
 
static boolean availableGLUquadricImpl = false
 
static boolean checkedGLUquadricImpl = false
 
static volatile Object syncObject = new Object()
 

Additional Inherited Members

- Static Public Attributes inherited from com.jogamp.opengl.glu.GLU
static final int GLU_FALSE = 0
 
static final int GLU_TRUE = 1
 
static final int GLU_VERSION = 100800
 
static final int GLU_EXTENSIONS = 100801
 
static final String versionString = "1.3"
 
static final String extensionString
 
static final int GLU_INVALID_ENUM = 100900
 
static final int GLU_INVALID_VALUE = 100901
 
static final int GLU_OUT_OF_MEMORY = 100902
 
static final int GLU_INVALID_OPERATION = 100904
 
static final int GLU_POINT = 100010
 
static final int GLU_LINE = 100011
 
static final int GLU_FILL = 100012
 
static final int GLU_SILHOUETTE = 100013
 
static final int GLU_SMOOTH = 100000
 
static final int GLU_FLAT = 100001
 
static final int GLU_NONE = 100002
 
static final int GLU_OUTSIDE = 100020
 
static final int GLU_INSIDE = 100021
 
static final int GLU_ERROR = 100103
 
static final int GLU_TESS_BEGIN = 100100
 
static final int GLU_BEGIN = 100100
 
static final int GLU_TESS_VERTEX = 100101
 
static final int GLU_VERTEX = 100101
 
static final int GLU_TESS_END = 100102
 
static final int GLU_END = 100102
 
static final int GLU_TESS_ERROR = 100103
 
static final int GLU_TESS_EDGE_FLAG = 100104
 
static final int GLU_EDGE_FLAG = 100104
 
static final int GLU_TESS_COMBINE = 100105
 
static final int GLU_TESS_BEGIN_DATA = 100106
 
static final int GLU_TESS_VERTEX_DATA = 100107
 
static final int GLU_TESS_END_DATA = 100108
 
static final int GLU_TESS_ERROR_DATA = 100109
 
static final int GLU_TESS_EDGE_FLAG_DATA = 100110
 
static final int GLU_TESS_COMBINE_DATA = 100111
 
static final int GLU_CW = 100120
 
static final int GLU_CCW = 100121
 
static final int GLU_INTERIOR = 100122
 
static final int GLU_EXTERIOR = 100123
 
static final int GLU_UNKNOWN = 100124
 
static final int GLU_TESS_WINDING_RULE = 100140
 
static final int GLU_TESS_BOUNDARY_ONLY = 100141
 
static final int GLU_TESS_TOLERANCE = 100142
 
static final int GLU_TESS_AVOID_DEGENERATE_TRIANGLES = 100149
 
static final int GLU_TESS_ERROR1 = 100151
 
static final int GLU_TESS_ERROR2 = 100152
 
static final int GLU_TESS_ERROR3 = 100153
 
static final int GLU_TESS_ERROR4 = 100154
 
static final int GLU_TESS_ERROR5 = 100155
 
static final int GLU_TESS_ERROR6 = 100156
 
static final int GLU_TESS_ERROR7 = 100157
 
static final int GLU_TESS_ERROR8 = 100158
 
static final int GLU_TESS_MISSING_BEGIN_POLYGON = 100151
 
static final int GLU_TESS_MISSING_BEGIN_CONTOUR = 100152
 
static final int GLU_TESS_MISSING_END_POLYGON = 100153
 
static final int GLU_TESS_MISSING_END_CONTOUR = 100154
 
static final int GLU_TESS_COORD_TOO_LARGE = 100155
 
static final int GLU_TESS_NEED_COMBINE_CALLBACK = 100156
 
static final int GLU_TESS_WINDING_ODD = 100130
 
static final int GLU_TESS_WINDING_NONZERO = 100131
 
static final int GLU_TESS_WINDING_POSITIVE = 100132
 
static final int GLU_TESS_WINDING_NEGATIVE = 100133
 
static final int GLU_TESS_WINDING_ABS_GEQ_TWO = 100134
 
static final double GLU_TESS_MAX_COORD = 1.0e150
 

Detailed Description

Definition at line 27 of file GLUgl2es1.java.

Constructor & Destructor Documentation

◆ GLUgl2es1()

com.jogamp.opengl.glu.gl2es1.GLUgl2es1.GLUgl2es1 ( )

Instantiates a new OpenGL Utility Library object.

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

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

Definition at line 67 of file GLUgl2es1.java.

Member Function Documentation

◆ getCurrentGL2ES1()

static final GL2ES1 com.jogamp.opengl.glu.gl2es1.GLUgl2es1.getCurrentGL2ES1 ( ) throws GLException
static

Definition at line 76 of file GLUgl2es1.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gluBuild1DMipmapLevels()

final int com.jogamp.opengl.glu.gl2es1.GLUgl2es1.gluBuild1DMipmapLevels ( int  target,
int  internalFormat,
int  width,
int  format,
int  type,
int  userLevel,
int  baseLevel,
int  maxLevel,
java.nio.Buffer  data 
)

Optional, throws GLException if not available in profile.

Reimplemented from com.jogamp.opengl.glu.GLU.

Definition at line 187 of file GLUgl2es1.java.

Here is the call graph for this function:

◆ gluBuild1DMipmaps()

final int com.jogamp.opengl.glu.gl2es1.GLUgl2es1.gluBuild1DMipmaps ( int  target,
int  internalFormat,
int  width,
int  format,
int  type,
java.nio.Buffer  data 
)

Optional, throws GLException if not available in profile.

Reimplemented from com.jogamp.opengl.glu.GLU.

Definition at line 200 of file GLUgl2es1.java.

Here is the call graph for this function:

◆ gluBuild2DMipmapLevels()

final int com.jogamp.opengl.glu.gl2es1.GLUgl2es1.gluBuild2DMipmapLevels ( int  target,
int  internalFormat,
int  width,
int  height,
int  format,
int  type,
int  userLevel,
int  baseLevel,
int  maxLevel,
java.nio.Buffer  data 
)

Optional, throws GLException if not available in profile.

Reimplemented from com.jogamp.opengl.glu.GLU.

Definition at line 212 of file GLUgl2es1.java.

Here is the call graph for this function:

◆ gluBuild2DMipmaps()

final int com.jogamp.opengl.glu.gl2es1.GLUgl2es1.gluBuild2DMipmaps ( int  target,
int  internalFormat,
int  width,
int  height,
int  format,
int  type,
java.nio.Buffer  data 
)

Optional, throws GLException if not available in profile.

Reimplemented from com.jogamp.opengl.glu.GLU.

Definition at line 225 of file GLUgl2es1.java.

Here is the call graph for this function:

◆ gluBuild3DMipmapLevels()

final int com.jogamp.opengl.glu.gl2es1.GLUgl2es1.gluBuild3DMipmapLevels ( int  target,
int  internalFormat,
int  width,
int  height,
int  depth,
int  format,
int  type,
int  userLevel,
int  baseLevel,
int  maxLevel,
java.nio.Buffer  data 
)

Optional, throws GLException if not available in profile.

Reimplemented from com.jogamp.opengl.glu.GLU.

Definition at line 237 of file GLUgl2es1.java.

Here is the call graph for this function:

◆ gluBuild3DMipmaps()

final int com.jogamp.opengl.glu.gl2es1.GLUgl2es1.gluBuild3DMipmaps ( int  target,
int  internalFormat,
int  width,
int  height,
int  depth,
int  format,
int  type,
java.nio.Buffer  data 
)

Optional, throws GLException if not available in profile.

Reimplemented from com.jogamp.opengl.glu.GLU.

Definition at line 249 of file GLUgl2es1.java.

Here is the call graph for this function:

◆ gluScaleImage()

final int com.jogamp.opengl.glu.gl2es1.GLUgl2es1.gluScaleImage ( int  format,
int  widthin,
int  heightin,
int  typein,
java.nio.Buffer  datain,
int  widthout,
int  heightout,
int  typeout,
java.nio.Buffer  dataout 
)

Optional, throws GLException if not available in profile.

Reimplemented from com.jogamp.opengl.glu.GLU.

Definition at line 146 of file GLUgl2es1.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ validateMipmap()

static final void com.jogamp.opengl.glu.gl2es1.GLUgl2es1.validateMipmap ( )
staticprotected

Definition at line 116 of file GLUgl2es1.java.

Here is the caller graph for this function:

Member Data Documentation

◆ availableMipmap

boolean com.jogamp.opengl.glu.gl2es1.GLUgl2es1.availableMipmap = false
staticprotected

Definition at line 113 of file GLUgl2es1.java.

◆ checkedMipmap

boolean com.jogamp.opengl.glu.gl2es1.GLUgl2es1.checkedMipmap = false
staticprotected

Definition at line 114 of file GLUgl2es1.java.


The documentation for this class was generated from the following file: