Java Doc for GL11.java in  » 6.0-JDK-Modules » j2me » javax » microedition » khronos » opengles » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » j2me » javax.microedition.khronos.opengles 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.microedition.khronos.opengles.GL11

All known Subclasses:   com.sun.jsr239.GL11Impl,
GL11
public interface GL11 extends GL10(Code)
The GL11 interface contains the Java(TM) programming language bindings for OpenGL(R) ES 1.1 core functionality.

The OES_matrix_get, OES_point_sprite and OES_point_size_array core extensions are defined as part of this interface.

Methods that are also present in OpenGL ES 1.0 are included in this interface by inheritance, but are not separately documented. Instead, the documentation from the GL10 interface specifies the functional differences between 1.0 and 1.1.

See the GL interface for a description of how to obtain an instance of this interface.



Field Summary
 intGL_ACTIVE_TEXTURE
     OpenGL ES 1.1 constant.
 intGL_ADD_SIGNED
     OpenGL ES 1.1 constant.
 intGL_ALPHA_SCALE
     OpenGL ES 1.1 constant.
 intGL_ALPHA_TEST_FUNC
     OpenGL ES 1.1 constant.
 intGL_ALPHA_TEST_REF
     OpenGL ES 1.1 constant.
 intGL_ARRAY_BUFFER
     OpenGL ES 1.1 constant.
 intGL_ARRAY_BUFFER_BINDING
     OpenGL ES 1.1 constant.
 intGL_BLEND_DST
     OpenGL ES 1.1 constant.
 intGL_BLEND_SRC
     OpenGL ES 1.1 constant.
 intGL_BUFFER_ACCESS
     OpenGL ES 1.1 constant.
 intGL_BUFFER_SIZE
     OpenGL ES 1.1 constant.
 intGL_BUFFER_USAGE
     OpenGL ES 1.1 constant.
 intGL_CLIENT_ACTIVE_TEXTURE
     OpenGL ES 1.1 constant.
 intGL_CLIP_PLANE0
     OpenGL ES 1.1 constant.
 intGL_CLIP_PLANE1
     OpenGL ES 1.1 constant.
 intGL_CLIP_PLANE2
     OpenGL ES 1.1 constant.
 intGL_CLIP_PLANE3
     OpenGL ES 1.1 constant.
 intGL_CLIP_PLANE4
     OpenGL ES 1.1 constant.
 intGL_CLIP_PLANE5
     OpenGL ES 1.1 constant.
 intGL_COLOR_ARRAY_BUFFER_BINDING
     OpenGL ES 1.1 constant.
 intGL_COLOR_ARRAY_POINTER
     OpenGL ES 1.1 constant.
 intGL_COLOR_ARRAY_SIZE
     OpenGL ES 1.1 constant.
 intGL_COLOR_ARRAY_STRIDE
     OpenGL ES 1.1 constant.
 intGL_COLOR_ARRAY_TYPE
     OpenGL ES 1.1 constant.
 intGL_COLOR_CLEAR_VALUE
     OpenGL ES 1.1 constant.
 intGL_COLOR_WRITEMASK
     OpenGL ES 1.1 constant.
 intGL_COMBINE
     OpenGL ES 1.1 constant.
 intGL_COMBINE_ALPHA
     OpenGL ES 1.1 constant.
 intGL_COMBINE_RGB
     OpenGL ES 1.1 constant.
 intGL_CONSTANT
     OpenGL ES 1.1 constant.
 intGL_COORD_REPLACE_OES
     Constant for use with glTexEnv (OES_point_sprite extension).
 intGL_CULL_FACE_MODE
     OpenGL ES 1.1 constant.
 intGL_CURRENT_COLOR
     OpenGL ES 1.1 constant.
 intGL_CURRENT_NORMAL
     OpenGL ES 1.1 constant.
 intGL_CURRENT_TEXTURE_COORDS
     OpenGL ES 1.1 constant.
 intGL_DEPTH_CLEAR_VALUE
     OpenGL ES 1.1 constant.
 intGL_DEPTH_FUNC
     OpenGL ES 1.1 constant.
 intGL_DEPTH_RANGE
     OpenGL ES 1.1 constant.
 intGL_DEPTH_WRITEMASK
     OpenGL ES 1.1 constant.
 intGL_DOT3_RGB
     OpenGL ES 1.1 constant.
 intGL_DOT3_RGBA
     OpenGL ES 1.1 constant.
 intGL_DYNAMIC_DRAW
     OpenGL ES 1.1 constant.
 intGL_ELEMENT_ARRAY_BUFFER
     OpenGL ES 1.1 constant.
 intGL_ELEMENT_ARRAY_BUFFER_BINDING
     OpenGL ES 1.1 constant.
 intGL_FRONT_FACE
     OpenGL ES 1.1 constant.
 intGL_GENERATE_MIPMAP
     OpenGL ES 1.1 constant.
 intGL_GENERATE_MIPMAP_HINT
     OpenGL ES 1.1 constant.
 intGL_INTERPOLATE
     OpenGL ES 1.1 constant.
 intGL_LINE_WIDTH
     OpenGL ES 1.1 constant.
 intGL_LOGIC_OP_MODE
     OpenGL ES 1.1 constant.
 intGL_MATRIX_MODE
     OpenGL ES 1.1 constant.
 intGL_MAX_CLIP_PLANES
     OpenGL ES 1.1 constant.
 intGL_MODELVIEW_MATRIX
     OpenGL ES 1.1 constant.
 intGL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES
     Constant for use with glGet (OES_matrix_get extension).
 intGL_MODELVIEW_STACK_DEPTH
     OpenGL ES 1.1 constant.
 intGL_NORMAL_ARRAY_BUFFER_BINDING
     OpenGL ES 1.1 constant.
 intGL_NORMAL_ARRAY_POINTER
     OpenGL ES 1.1 constant.
 intGL_NORMAL_ARRAY_STRIDE
     OpenGL ES 1.1 constant.
 intGL_NORMAL_ARRAY_TYPE
     OpenGL ES 1.1 constant.
 intGL_OPERAND0_ALPHA
     OpenGL ES 1.1 constant.
 intGL_OPERAND0_RGB
     OpenGL ES 1.1 constant.
 intGL_OPERAND1_ALPHA
     OpenGL ES 1.1 constant.
 intGL_OPERAND1_RGB
     OpenGL ES 1.1 constant.
 intGL_OPERAND2_ALPHA
     OpenGL ES 1.1 constant.
 intGL_OPERAND2_RGB
     OpenGL ES 1.1 constant.
 intGL_POINT_DISTANCE_ATTENUATION
     OpenGL ES 1.1 constant.
 intGL_POINT_FADE_THRESHOLD_SIZE
     OpenGL ES 1.1 constant.
 intGL_POINT_SIZE
     OpenGL ES 1.1 constant.
 intGL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES
     Constant for use with glGet (OES_point_size_array extension).
 intGL_POINT_SIZE_ARRAY_OES
     Constant for use with glEnableClientState and glDisableClientState (OES_point_size_array extension).
 intGL_POINT_SIZE_ARRAY_POINTER_OES
     Constant for use with glGetPointer (OES_point_size_array extension).
 intGL_POINT_SIZE_ARRAY_STRIDE_OES
     Constant for use with glGet (OES_point_size_array extension).
 intGL_POINT_SIZE_ARRAY_TYPE_OES
     Constant for use with glGet (OES_point_size_array extension).
 intGL_POINT_SIZE_MAX
     OpenGL ES 1.1 constant.
 intGL_POINT_SIZE_MIN
     OpenGL ES 1.1 constant.
 intGL_POINT_SPRITE_OES
     Constant for use with glTexEnv and glEnable (OES_point_sprite extension).
 intGL_POLYGON_OFFSET_FACTOR
     OpenGL ES 1.1 constant.
 intGL_POLYGON_OFFSET_UNITS
     OpenGL ES 1.1 constant.
 intGL_PREVIOUS
     OpenGL ES 1.1 constant.
 intGL_PRIMARY_COLOR
     OpenGL ES 1.1 constant.
 intGL_PROJECTION_MATRIX
     OpenGL ES 1.1 constant.
 intGL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES
     Constant for use with glGet (OES_matrix_get extension).
 intGL_PROJECTION_STACK_DEPTH
     OpenGL ES 1.1 constant.
 intGL_RGB_SCALE
     OpenGL ES 1.1 constant.
 intGL_SAMPLES
     OpenGL ES 1.1 constant.
 intGL_SAMPLE_BUFFERS
     OpenGL ES 1.1 constant.
 intGL_SAMPLE_COVERAGE_INVERT
     OpenGL ES 1.1 constant.
 intGL_SAMPLE_COVERAGE_VALUE
     OpenGL ES 1.1 constant.
 intGL_SCISSOR_BOX
     OpenGL ES 1.1 constant.
 intGL_SHADE_MODEL
     OpenGL ES 1.1 constant.
 intGL_SRC0_ALPHA
     OpenGL ES 1.1 constant.
 intGL_SRC0_RGB
     OpenGL ES 1.1 constant.
 intGL_SRC1_ALPHA
     OpenGL ES 1.1 constant.
 intGL_SRC1_RGB
     OpenGL ES 1.1 constant.
 intGL_SRC2_ALPHA
     OpenGL ES 1.1 constant.
 intGL_SRC2_RGB
     OpenGL ES 1.1 constant.
 intGL_STATIC_DRAW
     OpenGL ES 1.1 constant.
 intGL_STENCIL_CLEAR_VALUE
     OpenGL ES 1.1 constant.
 intGL_STENCIL_FAIL
     OpenGL ES 1.1 constant.
 intGL_STENCIL_FUNC
     OpenGL ES 1.1 constant.
 intGL_STENCIL_PASS_DEPTH_FAIL
     OpenGL ES 1.1 constant.
 intGL_STENCIL_PASS_DEPTH_PASS
     OpenGL ES 1.1 constant.
 intGL_STENCIL_REF
     OpenGL ES 1.1 constant.
 intGL_STENCIL_VALUE_MASK
     OpenGL ES 1.1 constant.
 intGL_STENCIL_WRITEMASK
     OpenGL ES 1.1 constant.
 intGL_SUBTRACT
     OpenGL ES 1.1 constant.
 intGL_TEXTURE_BINDING_2D
     OpenGL ES 1.1 constant.
 intGL_TEXTURE_COORD_ARRAY_BUFFER_BINDING
     OpenGL ES 1.1 constant.
 intGL_TEXTURE_COORD_ARRAY_POINTER
     OpenGL ES 1.1 constant.
 intGL_TEXTURE_COORD_ARRAY_SIZE
     OpenGL ES 1.1 constant.
 intGL_TEXTURE_COORD_ARRAY_STRIDE
     OpenGL ES 1.1 constant.
 intGL_TEXTURE_COORD_ARRAY_TYPE
     OpenGL ES 1.1 constant.
 intGL_TEXTURE_MATRIX
     OpenGL ES 1.1 constant.
 intGL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES
     Constant for use with glGet (OES_matrix_get extension).
 intGL_TEXTURE_STACK_DEPTH
     OpenGL ES 1.1 constant.
 intGL_VERTEX_ARRAY_BUFFER_BINDING
     OpenGL ES 1.1 constant.
 intGL_VERTEX_ARRAY_POINTER
     OpenGL ES 1.1 constant.
 intGL_VERTEX_ARRAY_SIZE
     OpenGL ES 1.1 constant.
 intGL_VERTEX_ARRAY_STRIDE
     OpenGL ES 1.1 constant.
 intGL_VERTEX_ARRAY_TYPE
     OpenGL ES 1.1 constant.
 intGL_VIEWPORT
     OpenGL ES 1.1 constant.
 intGL_WRITE_ONLY
     OpenGL ES 1.1 constant.


Method Summary
 voidglBindBuffer(int target, int buffer)
     Bind a named buffer to a target.

glBindBuffer lets you create or use a named buffer.

 voidglBufferData(int target, int size, Buffer data, int usage)
     Creates and initializes the data store of a buffer object. glBufferData lets you create and initialize the data store of a buffer object.

If data is non-null, then the source data is copied to the buffer object’s data store.

 voidglBufferSubData(int target, int offset, int size, Buffer data)
     Modifies some or all of the data contained in a buffer object's data store.

glBufferSubData lets you modify some or all of the data contained in a buffer object's data store.

Errors

GL_INVALID_ENUM is generated if target is not one of the allowable values.

GL_INVALID_VALUE is generated if offset or size is less than zero, or if offset + size is greater than the value of GL_BUFFER_SIZE.
Parameters:
  target - Specifies the buffer object target.

 voidglClipPlanef(int plane, float[] equation, int offset)
     Specify a plane against which all geometry is clipped.

Geometry is always clipped against the boundaries of a six-plane frustum in x, y, and z.

 voidglClipPlanef(int plane, FloatBuffer equation)
     Floating-point Buffer version of glClipPlane.
 voidglClipPlanex(int plane, int[] equation, int offset)
     Fixed-point array version of glClipPlane.
 voidglClipPlanex(int plane, IntBuffer equation)
     Fixed-point Buffer version of glClipPlane.
 voidglColor4ub(byte red, byte green, byte blue, byte alpha)
     Byte version of glColor.
 voidglColorPointer(int size, int type, int stride, int offset)
     VBO version of glColorPointer.
See Also:   GL11.glBindBuffer
See Also:   GL11.glColorPointer(int size,int type,int stride,Buffer pointer)
exception:
  IllegalStateException - if VBOs are not enabled.
 voidglDeleteBuffers(int n, int[] buffers, int offset)
     Delete named buffer objects.

glDeleteBuffers deletes n buffer objects named by the elements of the array buffers.

 voidglDeleteBuffers(int n, IntBuffer buffers)
     Integer Buffer version of glDeleteBuffers.
 voidglDrawElements(int mode, int count, int type, int offset)
     VBO version of glDrawElements.
 voidglGenBuffers(int n, int[] buffers, int offset)
     Generate buffer object names.
 voidglGenBuffers(int n, IntBuffer buffers)
     Integer Buffer version of glGenBuffers.
 voidglGetBooleanv(int pname, boolean[] params, int offset)
     Boolean array version of glGet.
 voidglGetBooleanv(int pname, IntBuffer params)
     Boolean Buffer version of glGet.
 voidglGetBufferParameteriv(int target, int pname, int[] params, int offset)
     Return buffer parameter values.

glGetBufferParameter returns in params the value or values of the buffer object parameter specified as pname.

 voidglGetBufferParameteriv(int target, int pname, IntBuffer params)
     Integer Buffer version of glGetBufferParameter.
 voidglGetClipPlanef(int plane, float[] equation, int offset)
     Return the coefficients of the specified clipping plane.

glGetClipPlane returns in equation the four coefficients of the plane equation for plane.

Notes

It is always the case that GL_CLIP_PLANEi = GL_CLIP_PLANE0 + i.

If an error is generated, no change is made to the contents of equation.

 voidglGetClipPlanef(int plane, FloatBuffer equation)
     Floating-point Buffer version of glGetClipPlane.
 voidglGetClipPlanex(int plane, int[] equation, int offset)
     Fixed-point array version of glGetClipPlane.
 voidglGetClipPlanex(int plane, IntBuffer equation)
     Fixed-point Buffer version of glGetClipPlane.
 voidglGetFixedv(int pname, int[] params, int offset)
     Fixed-point array version of glGet.
 voidglGetFixedv(int pname, IntBuffer params)
     Fixed-point Buffer version of glGet.
 voidglGetFloatv(int pname, float[] params, int offset)
     Floating-point array version of glGet.
 voidglGetFloatv(int pname, FloatBuffer params)
     Floating-point Buffer version of glGet.
 voidglGetLightfv(int light, int pname, float[] params, int offset)
     Return light source parameter values.

glGetLight returns in params the value or values of a light source parameter.

 voidglGetLightfv(int light, int pname, FloatBuffer params)
     Floating-point Buffer version of glGetLight.
 voidglGetLightxv(int light, int pname, int[] params, int offset)
     Fixed-point array version of glGetLight.
 voidglGetLightxv(int light, int pname, IntBuffer params)
     Fixed-point Buffer version of glGetLight.
 voidglGetMaterialfv(int face, int pname, float[] params, int offset)
     Return material parameters values.

glGetMaterial returns in params the value or values of parameter pname of material face.

Five parameters are defined:

  • GL_AMBIENT
  • params returns four values that specify the ambient RGBA reflectance of the material.

 voidglGetMaterialfv(int face, int pname, FloatBuffer params)
     Floating-point Buffer version of glGetMaterial.
 voidglGetMaterialxv(int face, int pname, int[] params, int offset)
     Fixed-point array version of glGetMaterial.
 voidglGetMaterialxv(int face, int pname, IntBuffer params)
     Fixed-point Buffer version of glGetMaterial.
 voidglGetPointerv(int pname, Buffer[] params)
     Return the Buffer associated with the specified pointer.

glGetPointer returns pointer information in the form of a Buffer reference.

 voidglGetTexEnvfv(int env, int pname, float[] params, int offset)
     Return texture environment parameters.

glGetTexParameter returns in params selected values of a texture environment that was specified with glTexEnv.

 voidglGetTexEnvfv(int env, int pname, FloatBuffer params)
     Floating-point Buffer version of glGetTexEnv.
 voidglGetTexEnviv(int env, int pname, int[] params, int offset)
     Integer array version of glGetTexEnv.
 voidglGetTexEnviv(int env, int pname, IntBuffer params)
     Integer Buffer version of glGetTExEnv.
 voidglGetTexEnvxv(int env, int pname, int[] params, int offset)
     Fixed-point version of glGetTexEnv.
 voidglGetTexEnvxv(int env, int pname, IntBuffer params)
     Fixed-point Buffer version of glGetTexEnv.
 voidglGetTexParameterfv(int target, int pname, float[] params, int offset)
     Return texture parameter values.

glGetTexParameter returns in params the value or values of the texture parameter specified as pname.

 voidglGetTexParameterfv(int target, int pname, FloatBuffer params)
     Floating-point Buffer version of glGetTexParameter.
 voidglGetTexParameteriv(int target, int pname, int[] params, int offset)
     Integer array version of glGetTexParameter.
 voidglGetTexParameteriv(int target, int pname, IntBuffer params)
     Integer Buffer version of glGetTexParameter.
 voidglGetTexParameterxv(int target, int pname, int[] params, int offset)
     Fixed-point array version of glGetTexParameter.
 voidglGetTexParameterxv(int target, int pname, IntBuffer params)
     Fixed-point Buffer version of glGetTexParameter.
 booleanglIsBuffer(int buffer)
     Determine if a name corresponds to a buffer object.

glIsBuffer returns true if buffer is currently the name of a buffer object.

 booleanglIsEnabled(int cap)
     Test whether a capability is enabled.

glIsEnabled returns true if cap is an enabled capability and returns false otherwise.

The following capabilities are accepted for cap:

 Constant                        See function:
 GL_ALPHA_TEST                   glAlphaFunc
 GL_ARRAY_BUFFER_BINDING         glBindBuffer
 GL_BLEND                        glBlendFunc, glLogicOp
 GL_CLIP_PLANE                   glClipPlane
 GL_COLOR_ARRAY                  glColorPointer
 GL_COLOR_LOGIC_OP               glLogicOp
 GL_COLOR_MATERIAL               glColorMaterial
 GL_CULL_FACE                    glCullFace
 GL_DEPTH_TEST                   glDepthFunc, glDepthRange
 GL_DITHER                       glEnable
 GL_FOG                          glFog
 GL_LIGHT                        glLight, glLightModel
 GL_LIGHTING                     glLight, glLightModel, glMaterial
 GL_LINE_SMOOTH                  glLineWidth
 GL_MATRIX_PALETTE_OES           glMatrixMode
 GL_MATRIX_INDEX_ARRAY_OES       glEnableClientState
 GL_MULTISAMPLE                  glEnable
 GL_NORMAL_ARRAY                 glNormalPointer
 GL_NORMALIZE                    glNormal
 GL_POINT_SIZE_ARRAY_OES         glEnableClientState
 GL_POINT_SMOOTH                 glPointSize
 GL_POINT_SPRITE_OES             glEnable, glTexEnv
 GL_POLYGON_OFFSET_FILL          glPolygonOffset
 GL_RESCALE_NORMAL               glEnable
 GL_SAMPLE_ALPHA_TO_COVERAGE     glEnable
 GL_SAMPLE_ALPHA_TO_ONE          glEnable
 GL_SAMPLE_COVERAGE              glEnable
 GL_SCISSOR_TEST                 glScissor
 GL_STENCIL_TEST                 glStencilFunc, glStencilOp
 GL_TEXTURE_2D                   glTexImage2D
 GL_TEXTURE_COORD_ARRAY          glTexCoordPointer
 GL_WEIGHT_ARRAY_OES             glEnableClientState
 GL_VERTEX_ARRAY                 glVertexPointer
 

Notes

If an error is generated, glIsEnabled returns 0.

Errors

GL_INVALID_ENUM is generated if cap is not an accepted value.
Parameters:
  cap - Specifies a symbolic constant indicating a GL capability.

 booleanglIsTexture(int texture)
     Determine if a name corresponds to a texture.

glIsTexture returns true if texture is currently the name of a texture.

 voidglNormalPointer(int type, int stride, int offset)
     VBO version of glNormalPointer.
 voidglPointParameterf(int pname, float param)
     Specify parameters for point rasterization.

glPointParameter assigns values to point parameters.

glPointParameter takes two arguments.

 voidglPointParameterfv(int pname, float[] params, int offset)
     Specify parameters for point rasterization (array version).

glPointParameter assigns values to point parameters.

glPointParameter takes two arguments.

 voidglPointParameterfv(int pname, FloatBuffer params)
     Floating-point Buffer version of glPointParameter.
 voidglPointParameterx(int pname, int param)
     Fixed-point version of glPointParameter.
 voidglPointParameterxv(int pname, int[] params, int offset)
     Fixed-point array version of glPointParameter.
 voidglPointParameterxv(int pname, IntBuffer params)
     Fixed-point Buffer version of glPointParameterfv.
 voidglPointSizePointerOES(int type, int stride, Buffer pointer)
     (OES_point_size_array extension) Define an array of point sizes.

glPointSizePointer specifies the location and data of an array of point sizes to use when rendering points.

 voidglPointSizePointerOES(int type, int stride, int offset)
     (OES_point_size_array extension) VBO version of glPointSizePointerOES.
 voidglTexCoordPointer(int size, int type, int stride, int offset)
     VBO version of glTexCoordPointer.
 voidglTexEnvi(int target, int pname, int param)
     Integer version of glTexEnv.
 voidglTexEnviv(int target, int pname, int[] params, int offset)
     Integer array version of glTexEnv.
 voidglTexEnviv(int target, int pname, IntBuffer params)
     Integer Buffer version of glTexEnvfv.
 voidglTexParameterfv(int target, int pname, float[] params, int offset)
     Floating-point array version of glTexParameter.
 voidglTexParameterfv(int target, int pname, FloatBuffer params)
     Floating-point Buffer version of glTexParameter.
 voidglTexParameteri(int target, int pname, int param)
     Integer version of glTexParameter.
 voidglTexParameteriv(int target, int pname, int[] params, int offset)
     Integer array version of glTexParameter.
 voidglTexParameteriv(int target, int pname, IntBuffer params)
     Integer Buffer version of glTexParameter.
 voidglTexParameterxv(int target, int pname, int[] params, int offset)
     Fixed-point array version of glTexParameter.
 voidglTexParameterxv(int target, int pname, IntBuffer params)
     Fixed-point Buffer version of glTexParameter.
 voidglVertexPointer(int size, int type, int stride, int offset)
     VBO version of glVertexPointer.

Field Detail
GL_ACTIVE_TEXTURE
int GL_ACTIVE_TEXTURE(Code)
OpenGL ES 1.1 constant.



GL_ADD_SIGNED
int GL_ADD_SIGNED(Code)
OpenGL ES 1.1 constant.



GL_ALPHA_SCALE
int GL_ALPHA_SCALE(Code)
OpenGL ES 1.1 constant.



GL_ALPHA_TEST_FUNC
int GL_ALPHA_TEST_FUNC(Code)
OpenGL ES 1.1 constant.



GL_ALPHA_TEST_REF
int GL_ALPHA_TEST_REF(Code)
OpenGL ES 1.1 constant.



GL_ARRAY_BUFFER
int GL_ARRAY_BUFFER(Code)
OpenGL ES 1.1 constant.



GL_ARRAY_BUFFER_BINDING
int GL_ARRAY_BUFFER_BINDING(Code)
OpenGL ES 1.1 constant.



GL_BLEND_DST
int GL_BLEND_DST(Code)
OpenGL ES 1.1 constant.



GL_BLEND_SRC
int GL_BLEND_SRC(Code)
OpenGL ES 1.1 constant.



GL_BUFFER_ACCESS
int GL_BUFFER_ACCESS(Code)
OpenGL ES 1.1 constant.



GL_BUFFER_SIZE
int GL_BUFFER_SIZE(Code)
OpenGL ES 1.1 constant.



GL_BUFFER_USAGE
int GL_BUFFER_USAGE(Code)
OpenGL ES 1.1 constant.



GL_CLIENT_ACTIVE_TEXTURE
int GL_CLIENT_ACTIVE_TEXTURE(Code)
OpenGL ES 1.1 constant.



GL_CLIP_PLANE0
int GL_CLIP_PLANE0(Code)
OpenGL ES 1.1 constant.



GL_CLIP_PLANE1
int GL_CLIP_PLANE1(Code)
OpenGL ES 1.1 constant.



GL_CLIP_PLANE2
int GL_CLIP_PLANE2(Code)
OpenGL ES 1.1 constant.



GL_CLIP_PLANE3
int GL_CLIP_PLANE3(Code)
OpenGL ES 1.1 constant.



GL_CLIP_PLANE4
int GL_CLIP_PLANE4(Code)
OpenGL ES 1.1 constant.



GL_CLIP_PLANE5
int GL_CLIP_PLANE5(Code)
OpenGL ES 1.1 constant.



GL_COLOR_ARRAY_BUFFER_BINDING
int GL_COLOR_ARRAY_BUFFER_BINDING(Code)
OpenGL ES 1.1 constant.



GL_COLOR_ARRAY_POINTER
int GL_COLOR_ARRAY_POINTER(Code)
OpenGL ES 1.1 constant.



GL_COLOR_ARRAY_SIZE
int GL_COLOR_ARRAY_SIZE(Code)
OpenGL ES 1.1 constant.



GL_COLOR_ARRAY_STRIDE
int GL_COLOR_ARRAY_STRIDE(Code)
OpenGL ES 1.1 constant.



GL_COLOR_ARRAY_TYPE
int GL_COLOR_ARRAY_TYPE(Code)
OpenGL ES 1.1 constant.



GL_COLOR_CLEAR_VALUE
int GL_COLOR_CLEAR_VALUE(Code)
OpenGL ES 1.1 constant.



GL_COLOR_WRITEMASK
int GL_COLOR_WRITEMASK(Code)
OpenGL ES 1.1 constant.



GL_COMBINE
int GL_COMBINE(Code)
OpenGL ES 1.1 constant.



GL_COMBINE_ALPHA
int GL_COMBINE_ALPHA(Code)
OpenGL ES 1.1 constant.



GL_COMBINE_RGB
int GL_COMBINE_RGB(Code)
OpenGL ES 1.1 constant.



GL_CONSTANT
int GL_CONSTANT(Code)
OpenGL ES 1.1 constant.



GL_COORD_REPLACE_OES
int GL_COORD_REPLACE_OES(Code)
Constant for use with glTexEnv (OES_point_sprite extension).



GL_CULL_FACE_MODE
int GL_CULL_FACE_MODE(Code)
OpenGL ES 1.1 constant.



GL_CURRENT_COLOR
int GL_CURRENT_COLOR(Code)
OpenGL ES 1.1 constant.



GL_CURRENT_NORMAL
int GL_CURRENT_NORMAL(Code)
OpenGL ES 1.1 constant.



GL_CURRENT_TEXTURE_COORDS
int GL_CURRENT_TEXTURE_COORDS(Code)
OpenGL ES 1.1 constant.



GL_DEPTH_CLEAR_VALUE
int GL_DEPTH_CLEAR_VALUE(Code)
OpenGL ES 1.1 constant.



GL_DEPTH_FUNC
int GL_DEPTH_FUNC(Code)
OpenGL ES 1.1 constant.



GL_DEPTH_RANGE
int GL_DEPTH_RANGE(Code)
OpenGL ES 1.1 constant.



GL_DEPTH_WRITEMASK
int GL_DEPTH_WRITEMASK(Code)
OpenGL ES 1.1 constant.



GL_DOT3_RGB
int GL_DOT3_RGB(Code)
OpenGL ES 1.1 constant.



GL_DOT3_RGBA
int GL_DOT3_RGBA(Code)
OpenGL ES 1.1 constant.



GL_DYNAMIC_DRAW
int GL_DYNAMIC_DRAW(Code)
OpenGL ES 1.1 constant.



GL_ELEMENT_ARRAY_BUFFER
int GL_ELEMENT_ARRAY_BUFFER(Code)
OpenGL ES 1.1 constant.



GL_ELEMENT_ARRAY_BUFFER_BINDING
int GL_ELEMENT_ARRAY_BUFFER_BINDING(Code)
OpenGL ES 1.1 constant.



GL_FRONT_FACE
int GL_FRONT_FACE(Code)
OpenGL ES 1.1 constant.



GL_GENERATE_MIPMAP
int GL_GENERATE_MIPMAP(Code)
OpenGL ES 1.1 constant.



GL_GENERATE_MIPMAP_HINT
int GL_GENERATE_MIPMAP_HINT(Code)
OpenGL ES 1.1 constant.



GL_INTERPOLATE
int GL_INTERPOLATE(Code)
OpenGL ES 1.1 constant.



GL_LINE_WIDTH
int GL_LINE_WIDTH(Code)
OpenGL ES 1.1 constant.



GL_LOGIC_OP_MODE
int GL_LOGIC_OP_MODE(Code)
OpenGL ES 1.1 constant.



GL_MATRIX_MODE
int GL_MATRIX_MODE(Code)
OpenGL ES 1.1 constant.



GL_MAX_CLIP_PLANES
int GL_MAX_CLIP_PLANES(Code)
OpenGL ES 1.1 constant.



GL_MODELVIEW_MATRIX
int GL_MODELVIEW_MATRIX(Code)
OpenGL ES 1.1 constant.



GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES
int GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES(Code)
Constant for use with glGet (OES_matrix_get extension).



GL_MODELVIEW_STACK_DEPTH
int GL_MODELVIEW_STACK_DEPTH(Code)
OpenGL ES 1.1 constant.



GL_NORMAL_ARRAY_BUFFER_BINDING
int GL_NORMAL_ARRAY_BUFFER_BINDING(Code)
OpenGL ES 1.1 constant.



GL_NORMAL_ARRAY_POINTER
int GL_NORMAL_ARRAY_POINTER(Code)
OpenGL ES 1.1 constant.



GL_NORMAL_ARRAY_STRIDE
int GL_NORMAL_ARRAY_STRIDE(Code)
OpenGL ES 1.1 constant.



GL_NORMAL_ARRAY_TYPE
int GL_NORMAL_ARRAY_TYPE(Code)
OpenGL ES 1.1 constant.



GL_OPERAND0_ALPHA
int GL_OPERAND0_ALPHA(Code)
OpenGL ES 1.1 constant.



GL_OPERAND0_RGB
int GL_OPERAND0_RGB(Code)
OpenGL ES 1.1 constant.



GL_OPERAND1_ALPHA
int GL_OPERAND1_ALPHA(Code)
OpenGL ES 1.1 constant.



GL_OPERAND1_RGB
int GL_OPERAND1_RGB(Code)
OpenGL ES 1.1 constant.



GL_OPERAND2_ALPHA
int GL_OPERAND2_ALPHA(Code)
OpenGL ES 1.1 constant.



GL_OPERAND2_RGB
int GL_OPERAND2_RGB(Code)
OpenGL ES 1.1 constant.



GL_POINT_DISTANCE_ATTENUATION
int GL_POINT_DISTANCE_ATTENUATION(Code)
OpenGL ES 1.1 constant.



GL_POINT_FADE_THRESHOLD_SIZE
int GL_POINT_FADE_THRESHOLD_SIZE(Code)
OpenGL ES 1.1 constant.



GL_POINT_SIZE
int GL_POINT_SIZE(Code)
OpenGL ES 1.1 constant.



GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES
int GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES(Code)
Constant for use with glGet (OES_point_size_array extension).



GL_POINT_SIZE_ARRAY_OES
int GL_POINT_SIZE_ARRAY_OES(Code)
Constant for use with glEnableClientState and glDisableClientState (OES_point_size_array extension).



GL_POINT_SIZE_ARRAY_POINTER_OES
int GL_POINT_SIZE_ARRAY_POINTER_OES(Code)
Constant for use with glGetPointer (OES_point_size_array extension).



GL_POINT_SIZE_ARRAY_STRIDE_OES
int GL_POINT_SIZE_ARRAY_STRIDE_OES(Code)
Constant for use with glGet (OES_point_size_array extension).



GL_POINT_SIZE_ARRAY_TYPE_OES
int GL_POINT_SIZE_ARRAY_TYPE_OES(Code)
Constant for use with glGet (OES_point_size_array extension).



GL_POINT_SIZE_MAX
int GL_POINT_SIZE_MAX(Code)
OpenGL ES 1.1 constant.



GL_POINT_SIZE_MIN
int GL_POINT_SIZE_MIN(Code)
OpenGL ES 1.1 constant.



GL_POINT_SPRITE_OES
int GL_POINT_SPRITE_OES(Code)
Constant for use with glTexEnv and glEnable (OES_point_sprite extension).



GL_POLYGON_OFFSET_FACTOR
int GL_POLYGON_OFFSET_FACTOR(Code)
OpenGL ES 1.1 constant.



GL_POLYGON_OFFSET_UNITS
int GL_POLYGON_OFFSET_UNITS(Code)
OpenGL ES 1.1 constant.



GL_PREVIOUS
int GL_PREVIOUS(Code)
OpenGL ES 1.1 constant.



GL_PRIMARY_COLOR
int GL_PRIMARY_COLOR(Code)
OpenGL ES 1.1 constant.



GL_PROJECTION_MATRIX
int GL_PROJECTION_MATRIX(Code)
OpenGL ES 1.1 constant.



GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES
int GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES(Code)
Constant for use with glGet (OES_matrix_get extension).



GL_PROJECTION_STACK_DEPTH
int GL_PROJECTION_STACK_DEPTH(Code)
OpenGL ES 1.1 constant.



GL_RGB_SCALE
int GL_RGB_SCALE(Code)
OpenGL ES 1.1 constant.



GL_SAMPLES
int GL_SAMPLES(Code)
OpenGL ES 1.1 constant.



GL_SAMPLE_BUFFERS
int GL_SAMPLE_BUFFERS(Code)
OpenGL ES 1.1 constant.



GL_SAMPLE_COVERAGE_INVERT
int GL_SAMPLE_COVERAGE_INVERT(Code)
OpenGL ES 1.1 constant.



GL_SAMPLE_COVERAGE_VALUE
int GL_SAMPLE_COVERAGE_VALUE(Code)
OpenGL ES 1.1 constant.



GL_SCISSOR_BOX
int GL_SCISSOR_BOX(Code)
OpenGL ES 1.1 constant.



GL_SHADE_MODEL
int GL_SHADE_MODEL(Code)
OpenGL ES 1.1 constant.



GL_SRC0_ALPHA
int GL_SRC0_ALPHA(Code)
OpenGL ES 1.1 constant.



GL_SRC0_RGB
int GL_SRC0_RGB(Code)
OpenGL ES 1.1 constant.



GL_SRC1_ALPHA
int GL_SRC1_ALPHA(Code)
OpenGL ES 1.1 constant.



GL_SRC1_RGB
int GL_SRC1_RGB(Code)
OpenGL ES 1.1 constant.



GL_SRC2_ALPHA
int GL_SRC2_ALPHA(Code)
OpenGL ES 1.1 constant.



GL_SRC2_RGB
int GL_SRC2_RGB(Code)
OpenGL ES 1.1 constant.



GL_STATIC_DRAW
int GL_STATIC_DRAW(Code)
OpenGL ES 1.1 constant.



GL_STENCIL_CLEAR_VALUE
int GL_STENCIL_CLEAR_VALUE(Code)
OpenGL ES 1.1 constant.



GL_STENCIL_FAIL
int GL_STENCIL_FAIL(Code)
OpenGL ES 1.1 constant.



GL_STENCIL_FUNC
int GL_STENCIL_FUNC(Code)
OpenGL ES 1.1 constant.



GL_STENCIL_PASS_DEPTH_FAIL
int GL_STENCIL_PASS_DEPTH_FAIL(Code)
OpenGL ES 1.1 constant.



GL_STENCIL_PASS_DEPTH_PASS
int GL_STENCIL_PASS_DEPTH_PASS(Code)
OpenGL ES 1.1 constant.



GL_STENCIL_REF
int GL_STENCIL_REF(Code)
OpenGL ES 1.1 constant.



GL_STENCIL_VALUE_MASK
int GL_STENCIL_VALUE_MASK(Code)
OpenGL ES 1.1 constant.



GL_STENCIL_WRITEMASK
int GL_STENCIL_WRITEMASK(Code)
OpenGL ES 1.1 constant.



GL_SUBTRACT
int GL_SUBTRACT(Code)
OpenGL ES 1.1 constant.



GL_TEXTURE_BINDING_2D
int GL_TEXTURE_BINDING_2D(Code)
OpenGL ES 1.1 constant.



GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING
int GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING(Code)
OpenGL ES 1.1 constant.



GL_TEXTURE_COORD_ARRAY_POINTER
int GL_TEXTURE_COORD_ARRAY_POINTER(Code)
OpenGL ES 1.1 constant.



GL_TEXTURE_COORD_ARRAY_SIZE
int GL_TEXTURE_COORD_ARRAY_SIZE(Code)
OpenGL ES 1.1 constant.



GL_TEXTURE_COORD_ARRAY_STRIDE
int GL_TEXTURE_COORD_ARRAY_STRIDE(Code)
OpenGL ES 1.1 constant.



GL_TEXTURE_COORD_ARRAY_TYPE
int GL_TEXTURE_COORD_ARRAY_TYPE(Code)
OpenGL ES 1.1 constant.



GL_TEXTURE_MATRIX
int GL_TEXTURE_MATRIX(Code)
OpenGL ES 1.1 constant.



GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES
int GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES(Code)
Constant for use with glGet (OES_matrix_get extension).



GL_TEXTURE_STACK_DEPTH
int GL_TEXTURE_STACK_DEPTH(Code)
OpenGL ES 1.1 constant.



GL_VERTEX_ARRAY_BUFFER_BINDING
int GL_VERTEX_ARRAY_BUFFER_BINDING(Code)
OpenGL ES 1.1 constant.



GL_VERTEX_ARRAY_POINTER
int GL_VERTEX_ARRAY_POINTER(Code)
OpenGL ES 1.1 constant.



GL_VERTEX_ARRAY_SIZE
int GL_VERTEX_ARRAY_SIZE(Code)
OpenGL ES 1.1 constant.



GL_VERTEX_ARRAY_STRIDE
int GL_VERTEX_ARRAY_STRIDE(Code)
OpenGL ES 1.1 constant.



GL_VERTEX_ARRAY_TYPE
int GL_VERTEX_ARRAY_TYPE(Code)
OpenGL ES 1.1 constant.



GL_VIEWPORT
int GL_VIEWPORT(Code)
OpenGL ES 1.1 constant.



GL_WRITE_ONLY
int GL_WRITE_ONLY(Code)
OpenGL ES 1.1 constant.





Method Detail
glBindBuffer
void glBindBuffer(int target, int buffer)(Code)
Bind a named buffer to a target.

glBindBuffer lets you create or use a named buffer. Calling glBindBuffer with target set to GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER and buffer set to the buffer name, binds the buffer name to the target.

Buffer names are unsigned integers. The value 0 is reserved for GL.

When a buffer is bound to a target, any previous binding for that target is automatically broken.

If an unused buffer name is specified, a buffer object is created. The resulting buffer object is a new state vector, initialized with a zero-sized memory buffer, and with the following state values.

GL_BUFFER_SIZE initialized to 0.

GL_BUFFER_USAGE initialized to GL_STATIC_DRAW.

GL_BUFFER_ACCESS initialized to GL_WRITE_ONLY.

glBindBuffer may also be used to bind an existing buffer object. If the bind is successful no change is made to the state of the newly bound buffer object.

While a buffer is bound, GL operations on the target to which it is bound affect the bound buffer object, and queries of the target to which a buffer object is bound return state from the bound object.

Notes

In the initial state the reserved name zero is bound to GL_ARRAY_BUFFER and GL_ELEMENT_ARRAY_BUFFER. There is no buffer object corresponding to the name zero, so client attempts to modify or query buffer object state for the target GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER while zero is bound will generate GL errors.

While a buffer object is bound, any GL operations on that object affect any other bindings of that object.

Errors

GL_INVALID_ENUM is generated if target is not one of the allowable values.
Parameters:
  target - Specifies the target to which the buffer isbound. Which must be GL_ARRAY_BUFFER orGL_ELEMENT_ARRAY_BUFFER.
Parameters:
  buffer - Specifies the name of a buffer.




glBufferData
void glBufferData(int target, int size, Buffer data, int usage)(Code)
Creates and initializes the data store of a buffer object. glBufferData lets you create and initialize the data store of a buffer object.

If data is non-null, then the source data is copied to the buffer object’s data store. If data is null, then the contents of the buffer object’s data store are undefined.

The options for usage are:

  • GL_STATIC_DRAW
  • Where the data store contents will be specified once by the application, and used many times as the source for GL drawing commands.

  • GL_DYNAMIC_DRAW
  • Where the data store contents will be respecified repeatedly by the application, and used many times as the source for GL drawing commands.

glBufferData deletes any existing data store, and sets the values of the buffer object’s state variables thus:

GL_BUFFER_SIZE initialized to size.

GL_BUFFER_USAGE initialized to usage.

GL_BUFFER_ACCESS initialized to GL_WRITE_ONLY.

Clients must align data elements consistent with the requirements of the client platform, with an additional base-level requirement that an offset within a buffer to a datum comprising N basic machine units be a multiple of N.

Notes

usage is provided as a performance hint only. The specified usage value does not constrain the actual usage pattern of the data store.

Errors

GL_INVALID_ENUM is generated if target is not one of the allowable values.

GL_INVALID_ENUM is generated if usage is not one of the allowable values.

GL_OUT_OF_MEMORY is generated if the GL is unable to create a data store of the requested size.
Parameters:
  target - Specifies the buffer object target, which must beGL_ARRAY_BUFFER orGL_ELEMENT_ARRAY_BUFFER.
Parameters:
  size - Specifies the size of the data store in basic machineunits.
Parameters:
  data - Specifies the source data in client memory.
Parameters:
  usage - Specifies the expected application usage pattern ofthe data store. Accepted values are GL_STATIC_DRAWand GL_DYNAMIC_DRAW.
exception:
  IllegalArgumentException - if data isnon-null but is not a direct buffer.




glBufferSubData
void glBufferSubData(int target, int offset, int size, Buffer data)(Code)
Modifies some or all of the data contained in a buffer object's data store.

glBufferSubData lets you modify some or all of the data contained in a buffer object's data store.

Errors

GL_INVALID_ENUM is generated if target is not one of the allowable values.

GL_INVALID_VALUE is generated if offset or size is less than zero, or if offset + size is greater than the value of GL_BUFFER_SIZE.
Parameters:
  target - Specifies the buffer object target. Must beGL_ARRAY_BUFFER orGL_ELEMENT_ARRAY_BUFFER.
Parameters:
  offset - Specifies the starting offset of the data to bereplaced in bytes.
Parameters:
  size - Specifies the size of the data to be replaced in bytes.
Parameters:
  data - Specifies a region of client memory sizebytes in length, containing the data that replace the specifiedbuffer range.
exception:
  IllegalArgumentException - if data isnull.




glClipPlanef
void glClipPlanef(int plane, float[] equation, int offset)(Code)
Specify a plane against which all geometry is clipped.

Geometry is always clipped against the boundaries of a six-plane frustum in x, y, and z. glClipPlane allows the specification of additional planes, not necessarily perpendicular to the x, y, or z axis, against which all geometry is clipped. To determine the maximum number of additional clipping planes, call glGet with argument GL_MAX_CLIP_PLANES. All implementations support at least one such clipping planes. Because the resulting clipping region is the intersection of the defined half-spaces, it is always convex.

glClipPlane specifies a half-space using a four-component plane equation. When glClipPlane is called, equation is transformed by the inverse of the modelview matrix and stored in the resulting eye coordinates. Subsequent changes to the modelview matrix have no effect on the stored plane-equation components. If the dot product of the eye coordinates of a vertex with the stored plane equation components is positive or zero, the vertex is in with respect to that clipping plane. Otherwise, it is out.

To enable and disable clipping planes, call glEnable and glDisable with the argument GL_CLIP_PLANEi, where i is the plane number.

All clipping planes are initially defined as (0, 0, 0, 0) in eye coordinates and are disabled.

Notes

It is always the case that GL_CLIP_PLANEi = GL_CLIP_PLANE0 + i.

Errors

GL_INVALID_ENUM is generated if plane is not an accepted value.

Associated Gets

glGetClipPlane, glIsEnabled with argument GL_CLIP_PLANEi.
Parameters:
  plane - Specifies which clipping plane is beingpositioned. Symbolic names of the formGL_CLIP_PLANEi where 0 < i are accepted.
Parameters:
  equation - Specifies an array of four values. These valuesare interpreted as a plane equation.
Parameters:
  offset - the starting offset within theequation array.
exception:
  IllegalArgumentException - if equation isnull.
exception:
  IllegalArgumentException - if offset isless than 0.
exception:
  IllegalArgumentException - ifequation.length - offset is less than 4.




glClipPlanef
void glClipPlanef(int plane, FloatBuffer equation)(Code)
Floating-point Buffer version of glClipPlane.
See Also:   GL11.glClipPlanef(int plane,float[] equation,int offset)
exception:
  IllegalArgumentException - if equation isnull.
exception:
  IllegalArgumentException - ifequation.remaining() is less than 4.



glClipPlanex
void glClipPlanex(int plane, int[] equation, int offset)(Code)
Fixed-point array version of glClipPlane.
See Also:   GL11.glClipPlanef(int plane,float[] equation,int offset)
exception:
  IllegalArgumentException - if equation isnull.
exception:
  IllegalArgumentException - if offset isless than 0.
exception:
  IllegalArgumentException - ifequation.length - offset is less than 4.



glClipPlanex
void glClipPlanex(int plane, IntBuffer equation)(Code)
Fixed-point Buffer version of glClipPlane.
See Also:   GL11.glClipPlanef(int plane,float[] equation,int offset)
exception:
  IllegalArgumentException - if equation isnull.
exception:
  IllegalArgumentException - ifequation.remaining() is less than 4.



glColor4ub
void glColor4ub(byte red, byte green, byte blue, byte alpha)(Code)
Byte version of glColor. The bytes are interpreted as unsigned values by bitwise ANDing them with the value 0xff.
See Also:   GL11.glColor4f(float red,float green,float blue,float alpha)



glColorPointer
void glColorPointer(int size, int type, int stride, int offset)(Code)
VBO version of glColorPointer.
See Also:   GL11.glBindBuffer
See Also:   GL11.glColorPointer(int size,int type,int stride,Buffer pointer)
exception:
  IllegalStateException - if VBOs are not enabled.
exception:
  ArrayIndexOutOfBoundsException - if offsetis less than 0 or greater than or equal to the length of thecurrently bound buffer.



glDeleteBuffers
void glDeleteBuffers(int n, int[] buffers, int offset)(Code)
Delete named buffer objects.

glDeleteBuffers deletes n buffer objects named by the elements of the array buffers. After a buffer object is deleted, it has no contents, and its name is free for reuse.

glDeleteBuffers silently ignores zero and names that do not correspond to existing buffer objects.

Notes

If a buffer object is deleted while it is bound, all bindings to that object in the current context (i.e., in the thread that called glDeleteBuffers) are reset to zero. Bindings to that buffer in other contexts and other threads are not affected, but attempting to use a deleted buffer in another thread produces undefined results, including but not limited to possible GL errors and rendering corruption. Using a deleted buffer in another context or thread may not, however, result in program termination.

Errors

GL_INVALID_VALUE is generated if n is negative.
Parameters:
  n - Specifies the number of buffer objects to be deleted.
Parameters:
  buffers - Specifies an array of buffer object names to bedeleted.
Parameters:
  offset - the starting offset within thebuffers array.
exception:
  IllegalArgumentException - if buffers isnull.
exception:
  IllegalArgumentException - if offset isless than 0.
exception:
  IllegalArgumentException - ifbuffers.length - offset is less than n.




glDeleteBuffers
void glDeleteBuffers(int n, IntBuffer buffers)(Code)
Integer Buffer version of glDeleteBuffers.
See Also:   GL11.glDeleteBuffers(int n,int[] buffers,int offset)
exception:
  IllegalArgumentException - if buffers isnull.
exception:
  IllegalArgumentException - ifbuffers.remaining() is less than n.



glDrawElements
void glDrawElements(int mode, int count, int type, int offset)(Code)
VBO version of glDrawElements.
See Also:   GL11.glBindBuffer
See Also:   GL11.glDrawElements(int mode,int count,int type,Buffer indices)
exception:
  IllegalStateException - if the most recent call toglBindBuffer for theGL_ELEMENT_ARRAY_BUFFER target had abuffer parameter of 0 (i.e., an index buffer is notbound).
exception:
  ArrayIndexOutOfBoundsException - if any index in thesequence of indices from offset to offset +count - 1 would result in a reference to an entry outsideof the currently bound index or data (vertex, color, normal,texture coordinate array, weight, matrix index, or point size)array, where indices refers to the set of valuesbound to the GL_ELEMENT_ARRAY_BUFFER target.



glGenBuffers
void glGenBuffers(int n, int[] buffers, int offset)(Code)
Generate buffer object names.

glGenBuffers returns n buffer object names in buffers.

These names are marked as used, for the purposes of glGenBuffers only, but they acquire buffer state only when they are first bound, just as if they were unused.

Errors

GL_INVALID_VALUE is generated if n is negative.
Parameters:
  n - Specifies the number of buffer object names to be generated.
Parameters:
  buffers - Specifies an array in which the generated bufferobject names are stored.
Parameters:
  offset - the starting offset within thebuffers array.
exception:
  IllegalArgumentException - if buffers isnull.
exception:
  IllegalArgumentException - if offset isless than 0.
exception:
  IllegalArgumentException - ifbuffers.length - offset is less than n.




glGenBuffers
void glGenBuffers(int n, IntBuffer buffers)(Code)
Integer Buffer version of glGenBuffers.
See Also:   GL11.glGenBuffers(int n,int[] buffers,int offset)
exception:
  IllegalArgumentException - if buffers isnull.
exception:
  IllegalArgumentException - ifbuffers.remaining() is less than n.



glGetBooleanv
void glGetBooleanv(int pname, boolean[] params, int offset)(Code)
Boolean array version of glGet.
See Also:   GL11.glGetIntegerv(int pname,int[] params,int offset)
exception:
  IllegalArgumentException - if params isnull.
exception:
  IllegalArgumentException - if offset isless than 0.
exception:
  IllegalArgumentException - if params.length -offset is smaller than the number of values required bythe parameter.



glGetBooleanv
void glGetBooleanv(int pname, IntBuffer params)(Code)
Boolean Buffer version of glGet. A value of 0 represents false and a value of 1 represents true.
See Also:   GL11.glGetIntegerv(int pname,int[] params,int offset)
exception:
  IllegalArgumentException - if params isnull.
exception:
  IllegalArgumentException - ifparams.remaining() is smaller than the number ofvalues required by the parameter.



glGetBufferParameteriv
void glGetBufferParameteriv(int target, int pname, int[] params, int offset)(Code)
Return buffer parameter values.

glGetBufferParameter returns in params the value or values of the buffer object parameter specified as pname. target defines the target buffer object, which must be GL_ARRAY_BUFFER.

  • GL_BUFFER_SIZE
  • Returns the size of the data store in bytes.

  • GL_BUFFER_USAGE
  • Returns the expected application usage pattern of the data store. Possible values are:

  • GL_STATIC_DRAW
  • Where the data store contents will be specified once by the application, and used many times as the source for GL drawing commands.

  • GL_DYNAMIC_DRAW
  • Where the data store contents will be respecified repeatedly by the application, and used many times as the source for GL drawing commands.

  • GL_BUFFER_ACCESS
  • Returns the access capability for the data store. Will always be GL_WRITE_ONLY.

Errors

GL_INVALID_ENUM is generated if target or pname is not one of the accepted defined values.
Parameters:
  target - Specifies the buffer object target. Which must beGL_ARRAY_BUFFER.
Parameters:
  pname - Specifies the symbolic name of a buffer objectparameter. Which can be either GL_BUFFER_SIZE,GL_BUFFER_USAGE, or GL_BUFFER_ACCESS.
Parameters:
  params - returns the buffer object parameters.
exception:
  IllegalArgumentException - if params isnull.
exception:
  IllegalArgumentException - if offset isless than 0.
exception:
  IllegalArgumentException - if params.length -offset is smaller than the number of values required bythe parameter.




glGetBufferParameteriv
void glGetBufferParameteriv(int target, int pname, IntBuffer params)(Code)
Integer Buffer version of glGetBufferParameter.
See Also:   GL11.glGetBufferParameteriv(int target,int pname,int[] params,int offset)
exception:
  IllegalArgumentException - if params isnull.
exception:
  IllegalArgumentException - ifparams.remaining() is smaller than the number ofvalues required by the parameter.



glGetClipPlanef
void glGetClipPlanef(int plane, float[] equation, int offset)(Code)
Return the coefficients of the specified clipping plane.

glGetClipPlane returns in equation the four coefficients of the plane equation for plane.

Notes

It is always the case that GL_CLIP_PLANEi = GL_CLIP_PLANE0 + i.

If an error is generated, no change is made to the contents of equation.

Errors

GL_INVALID_ENUM is generated if plane is not an accepted value.
Parameters:
  plane - Specifies a clipping plane. The number of clippingplanes depends on the implementation, but at least six clippingplanes are supported. They are identified by symbolic names ofthe form GL_CLIP_PLANEi where 0 <i < GL_MAX_CLIP_PLANES
Parameters:
  equation - Returns four values that are the coefficients ofthe plane equation of plane in eye coordinates. The initial valueis (0, 0, 0, 0).
Parameters:
  offset - the starting offset within theequation array.
exception:
  IllegalArgumentException - if equation isnull.
exception:
  IllegalArgumentException - if offset isless than 0.
exception:
  IllegalArgumentException - ifequation.length - offset is less than 4.




glGetClipPlanef
void glGetClipPlanef(int plane, FloatBuffer equation)(Code)
Floating-point Buffer version of glGetClipPlane.
See Also:   GL11.glGetClipPlanef(int plane,float[] equation,int offset)
exception:
  IllegalArgumentException - if equation isnull.
exception:
  IllegalArgumentException - ifequation.remaining() is less than 4.



glGetClipPlanex
void glGetClipPlanex(int plane, int[] equation, int offset)(Code)
Fixed-point array version of glGetClipPlane.
See Also:   GL11.glGetClipPlanef(int plane,float[] equation,int offset)
exception:
  IllegalArgumentException - if equation isnull.
exception:
  IllegalArgumentException - if offset isless than 0.
exception:
  IllegalArgumentException - if equation.length -offset is less than 4.



glGetClipPlanex
void glGetClipPlanex(int plane, IntBuffer equation)(Code)
Fixed-point Buffer version of glGetClipPlane.
See Also:   GL11.glGetClipPlanef(int plane,float[] equation,int offset)
exception:
  IllegalArgumentException - if equation isnull.
exception:
  IllegalArgumentException - ifequation.remaining() is less than 4.



glGetFixedv
void glGetFixedv(int pname, int[] params, int offset)(Code)
Fixed-point array version of glGet.
See Also:   GL11.glGetIntegerv(int pname,int[] params,int offset)
exception:
  IllegalArgumentException - if params isnull.
exception:
  IllegalArgumentException - if offset isless than 0.
exception:
  IllegalArgumentException - if params.length -offset is smaller than the number of values required bythe parameter.



glGetFixedv
void glGetFixedv(int pname, IntBuffer params)(Code)
Fixed-point Buffer version of glGet.
See Also:   GL11.glGetIntegerv(int pname,int[] params,int offset)
exception:
  IllegalArgumentException - if params isnull.
exception:
  IllegalArgumentException - ifparams.remaining() is smaller than the number ofvalues required by the parameter.



glGetFloatv
void glGetFloatv(int pname, float[] params, int offset)(Code)
Floating-point array version of glGet.
See Also:   GL11.glGetIntegerv(int pname,int[] params,int offset)
exception:
  IllegalArgumentException - if params isnull.
exception:
  IllegalArgumentException - if offset isless than 0.
exception:
  IllegalArgumentException - if params.length -offset is smaller than the number of values required bythe parameter.



glGetFloatv
void glGetFloatv(int pname, FloatBuffer params)(Code)
Floating-point Buffer version of glGet.
See Also:   GL11.glGetIntegerv(int pname,int[] params,int offset)
exception:
  IllegalArgumentException - if params isnull.
exception:
  IllegalArgumentException - ifparams.remaining() is smaller than the number ofvalues required by the parameter.



glGetLightfv
void glGetLightfv(int light, int pname, float[] params, int offset)(Code)
Return light source parameter values.

glGetLight returns in params the value or values of a light source parameter. light names the light and is a symbolic name of the form GL_LIGHTi for 0 < i < GL_MAX_LIGHTS where GL_MAX_LIGHTS is an implementation dependent constant that is greater than or equal to eight. pname specifies one of ten light source parameters, again by symbolic name. The ten light parameters are defined:

  • GL_AMBIENT
  • params returns four values that specify the ambient RGBA intensity of the light. Both fixed-point and floating-point values are mapped directly. Neither fixed-point nor floating-point values are clamped. The initial ambient light intensity is (0, 0, 0, 1).

  • GL_DIFFUSE
  • params returns four values that specify the diffuse RGBA intensity of the light. Both fixed-point and floating-point values are mapped directly. Neither fixed-point nor floating-point values are clamped. The initial value for GL_LIGHT0 is (1, 1, 1, 1). For other lights, the initial value is (0, 0, 0, 0).

  • GL_SPECULAR
  • params returns four values that specify the specular RGBA intensity of the light. Both fixed-point and floating-point values are mapped directly. Neither fixed-point nor floating-point values are clamped. The initial value for GL_LIGHT0 is (1, 1, 1, 1). For other lights, the initial value is (0, 0, 0, 0).

  • GL_EMISSION
  • params returns four values representing the emitted light intensity of the material. Both fixed-point and floating-point values are mapped directly. The initial value is (0, 0, 0, 1).

  • GL_SPOT_DIRECTION
  • params returns three values that specify the direction of the light in homogeneous object coordinates. Both fixed-point and floating-point values are mapped directly. Neither fixed-point nor floating-point values are clamped. The initial direction is (0, 0, -1).

  • GL_SPOT_EXPONENT
  • params returns a single value that specifies the intensity distribution of the light. Fixed-point and floating-point values are mapped directly. Only values in the range [0, 128] are accepted. The initial spot exponent is 0.

  • GL_SPOT_CUTOFF
  • params returns a single value that specifies the maximum spread angle of a light source. Fixed-point and floating-point values are mapped directly. Only values in the range [0, 90] and the special value 180 are accepted. If the angle between the direction of the light and the direction from the light to the vertex being lighted is greater than the spot cutoff angle, the light is completely masked. Otherwise, its intensity is controlled by the spot exponent and the attenuation factors. The initial spot cutoff is 180.

  • GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, GL_QUADRATIC_ATTENUATION
  • params returns a single value that specifies one of the three light attenuation factors. Fixed-point and floating-point values are mapped directly. Only nonnegative values are accepted. If the light is positional, rather than directional, its intensity is attenuated by the reciprocal of the sum of the constant factor, the linear factor times the distance between the light and the vertex being lighted, and the quadratic factor times the square of the same distance. The initial attenuation factors are (1, 0, 0).

Notes

It is always the case that GL_LIGHTi = GL_LIGHT0 + i.

If an error is generated, no change is made to the contents of params.

Errors

GL_INVALID_ENUM is generated if light or pname is not an accepted value.
Parameters:
  light - Specifies a light source. The number of possiblelights depends on the implementation, but at least eight lightsare supported. They are identified by symbolic names of the formGL_LIGHTi where 0 < i .
Parameters:
  pname - Specifies a light source parameter forlight. Accepted symbolic names are GL_AMBIENT,GL_DIFFUSE, GL_SPECULAR,GL_EMISSION, GL_SPOT_DIRECTION,GL_SPOT_EXPONENT, GL_SPOT_CUTOFF,GL_CONSTANT_ATTENUATION,GL_LINEAR_ATTENUATION, andGL_QUADRATIC_ATTENUATION.
Parameters:
  params - returns the requested data.
Parameters:
  offset - the starting offset within theparams array.
exception:
  IllegalArgumentException - if params isnull.
exception:
  IllegalArgumentException - if offset isless than 0.
exception:
  IllegalArgumentException - if params.length -offset is smaller than the number of values required bythe parameter.




glGetLightfv
void glGetLightfv(int light, int pname, FloatBuffer params)(Code)
Floating-point Buffer version of glGetLight.
See Also:   GL11.glGetLightfv(int light,int pname,float[] params,int offset)
exception:
  IllegalArgumentException - if params isnull.
exception:
  IllegalArgumentException - ifparams.remaining() is smaller than the number ofvalues required by the parameter.



glGetLightxv
void glGetLightxv(int light, int pname, int[] params, int offset)(Code)
Fixed-point array version of glGetLight.
See Also:   GL11.glGetLightfv(int light,int pname,float[] params,int offset)
exception:
  IllegalArgumentException - if params isnull.
exception:
  IllegalArgumentException - if offset isless than 0.
exception:
  IllegalArgumentException - if params.length -offset is smaller than the number of values required bythe parameter.



glGetLightxv
void glGetLightxv(int light, int pname, IntBuffer params)(Code)
Fixed-point Buffer version of glGetLight.
See Also:   GL11.glGetLightfv(int light,int pname,float[] params,int offset)
exception:
  IllegalArgumentException - if params isnull.
exception:
  IllegalArgumentException - ifparams.remaining() is smaller than the number ofvalues required by the parameter.



glGetMaterialfv
void glGetMaterialfv(int face, int pname, float[] params, int offset)(Code)
Return material parameters values.

glGetMaterial returns in params the value or values of parameter pname of material face.

Five parameters are defined:

  • GL_AMBIENT
  • params returns four values that specify the ambient RGBA reflectance of the material. The values are not clamped. The initial ambient reflectance is (0.2, 0.2, 0.2, 1.0).

  • GL_DIFFUSE
  • params returns four values that specify the diffuse RGBA reflectance of the material. The values are not clamped. The initial diffuse reflectance is (0.8, 0.8, 0.8, 1.0).

  • GL_SPECULAR
  • params returns four values that specify the specular RGBA reflectance of the material. The values are not clamped. The initial specular reflectance is (0, 0, 0, 1).

  • GL_EMISSION
  • params returns four values that specify the RGBA emitted light intensity of the material. The values are not clamped. The initial emission intensity is (0, 0, 0, 1).

  • GL_SHININESS
  • params returns a single value that specifies the RGBA specular exponent of the material. The initial specular exponent is 0.

Notes

If an error is generated, no change is made to the contents of params.

Errors

GL_INVALID_ENUM is generated if face or pname is not an accepted value.
Parameters:
  face - Specifies which of the two materials is beingqueried. GL_FRONT or GL_BACK areaccepted, representing the front and back materials,respectively.
Parameters:
  pname - Specifies the material parameter to return. Acceptedsymbolic names are GL_AMBIENT,GL_DIFFUSE, GL_SPECULAR,GL_EMISSION, and GL_SHININESS.
Parameters:
  params - returns the requested data.
Parameters:
  offset - the starting offset within theparams array.
exception:
  IllegalArgumentException - if params isnull.
exception:
  IllegalArgumentException - if offset isless than 0.
exception:
  IllegalArgumentException - if params.length -offset is smaller than the number of values required bythe parameter.



glGetMaterialfv
void glGetMaterialfv(int face, int pname, FloatBuffer params)(Code)
Floating-point Buffer version of glGetMaterial.
See Also:   GL11.glGetMaterialfv(int face,int pname,float[] params,int offset)
exception:
  IllegalArgumentException - if params isnull.
exception:
  IllegalArgumentException - ifparams.remaining() is smaller than the number ofvalues required by the parameter.



glGetMaterialxv
void glGetMaterialxv(int face, int pname, int[] params, int offset)(Code)
Fixed-point array version of glGetMaterial.
See Also:   GL11.glGetMaterialfv(int face,int pname,float[] params,int offset)
exception:
  IllegalArgumentException - if params isnull.
exception:
  IllegalArgumentException - if offset isless than 0.
exception:
  IllegalArgumentException - if params.length -offset is smaller than the number of values required bythe parameter.



glGetMaterialxv
void glGetMaterialxv(int face, int pname, IntBuffer params)(Code)
Fixed-point Buffer version of glGetMaterial.
See Also:   GL11.glGetMaterialfv(int face,int pname,float[] params,int offset)
exception:
  IllegalArgumentException - if params isnull.
exception:
  IllegalArgumentException - ifparams.remaining() is smaller than the number ofvalues required by the parameter.



glGetPointerv
void glGetPointerv(int pname, Buffer[] params)(Code)
Return the Buffer associated with the specified pointer.

glGetPointer returns pointer information in the form of a Buffer reference. pname is a symbolic constant indicating the pointer to be returned, and params is an array of Buffers in which the returned data will be placed in element 0.

Notes

The pointers are all client-side state.

The initial value for each pointer is null.

Errors

GL_INVALID_ENUM is generated if pname is not an accepted value.
Parameters:
  pname - Specifies the array or buffer pointer to bereturned. Accepted symbolic names areGL11.GL_COLOR_ARRAY_POINTER,GL11.GL_NORMAL_ARRAY_POINTER,GL11.GL_TEXTURE_COORD_ARRAY_POINTER,GL11.GL_VERTEX_ARRAY_POINTER,GL11.GL_POINT_SIZE_ARRAY_POINTER_OES,GL11Ext.GL_MATRIX_INDEX_ARRAY_POINTER_OES, andGL11Ext.GL_WEIGHT_ARRAY_POINTER_OES.
Parameters:
  params - a non-null array of Bufferscontaining at least one element.
exception:
  IllegalArgumentException - if params isnull or has length less than 1.




glGetTexEnvfv
void glGetTexEnvfv(int env, int pname, float[] params, int offset)(Code)
Return texture environment parameters.

glGetTexParameter returns in params selected values of a texture environment that was specified with glTexEnv. target specifies a texture environment. Currently, only one texture environment is defined and supported: GL_TEXTURE_ENV.

pname names a specific texture environment parameter, as follows:

  • GL_TEXTURE_ENV_MODE
  • params returns the single-valued texture environment mode, a symbolic constant. The initial value is GL_MODULATE.

  • GL_TEXTURE_ENV_COLOR
  • params returns four fixed or floating-point values that are the texture environment color. The initial value is (0, 0, 0, 0).

    Notes

    If an error is generated, no change is made to the contents of params.

    Errors

    GL_INVALID_ENUM is generated if target or pname is not one of the accepted defined values.
    Parameters:
      env - Specifies a texture environment, which must beGL_TEXTURE_ENV.
    Parameters:
      pname - Specifies the symbolic name of a texture environmentparameter. pname can be one of the following:GL_TEXTURE_ENV_MODE,GL_TEXTURE_ENV_COLOR,GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T,or GL_GENERATE_MIPMAP.
    Parameters:
      params - returns the requested data.
    Parameters:
      offset - the starting offset within theparams array.
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - if offset isless than 0.
    exception:
      IllegalArgumentException - if params.length -offset is smaller than the number of values required bythe parameter.




    glGetTexEnvfv
    void glGetTexEnvfv(int env, int pname, FloatBuffer params)(Code)
    Floating-point Buffer version of glGetTexEnv.
    See Also:   GL11.glGetTexEnvfv(int env,int pname,float[] params,int offset)
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - ifparams.remaining() is smaller than the number ofvalues required by the parameter.



    glGetTexEnviv
    void glGetTexEnviv(int env, int pname, int[] params, int offset)(Code)
    Integer array version of glGetTexEnv.
    See Also:   GL11.glGetTexEnvfv(int env,int pname,float[] params,int offset)
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - if offset isless than 0.
    exception:
      IllegalArgumentException - if params.length -offset is smaller than the number of values required bythe parameter.



    glGetTexEnviv
    void glGetTexEnviv(int env, int pname, IntBuffer params)(Code)
    Integer Buffer version of glGetTExEnv.
    See Also:   GL11.glGetTexEnvfv(int env,int pname,float[] params,int offset)
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - ifparams.remaining() is smaller than the number ofvalues required by the parameter.



    glGetTexEnvxv
    void glGetTexEnvxv(int env, int pname, int[] params, int offset)(Code)
    Fixed-point version of glGetTexEnv.
    See Also:   GL11.glGetTexEnvfv(int env,int pname,float[] params,int offset)
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - if offset isless than 0.
    exception:
      IllegalArgumentException - if params.length -offset is smaller than the number of values required bythe parameter.



    glGetTexEnvxv
    void glGetTexEnvxv(int env, int pname, IntBuffer params)(Code)
    Fixed-point Buffer version of glGetTexEnv.
    See Also:   GL11.glGetTexEnvfv(int env,int pname,float[] params,int offset)
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - ifparams.remaining() is smaller than the number ofvalues required by the parameter.



    glGetTexParameterfv
    void glGetTexParameterfv(int target, int pname, float[] params, int offset)(Code)
    Return texture parameter values.

    glGetTexParameter returns in params the value or values of the texture parameter specified as pname. target defines the target texture, which must be GL_TEXTURE_2D which specifies two-dimensional texturing. pname accepts the same symbols as glTexParameter, with the same interpretations:

    • GL_TEXTURE_MIN_FILTER
    • Returns the texture minifying function. Which can one of the following: GL_NEAREST, GL_LINEAR, GL_NEAREST_MIPMAP_NEAREST, GL_LINEAR_MIPMAP_NEAREST, GL_NEAREST_MIPMAP_LINEAR, or GL_LINEAR_MIPMAP_LINEAR. The initial value is GL_NEAREST_MIPMAP_LINEAR.

    • GL_TEXTURE_MAG_FILTER
    • Returns the texture magnification function. Which can be either GL_NEAREST or GL_LINEAR. The initial value is GL_LINEAR.

    • GL_TEXTURE_WRAP_S
    • Returns the wrap parameter for texture coordinate s. Which can be either: GL_CLAMP, GL_CLAMP_TO_EDGE, or GL_REPEAT. The initial value is GL_REPEAT.

    • GL_TEXTURE_WRAP_T
    • Returns the wrap parameter for texture coordinate t. Which can be either: GL_CLAMP, GL_CLAMP_TO_EDGE, or GL_REPEAT. The initial value is GL_REPEAT.

    • GL_GENERATE_MIPMAP
    • Returns the automatic mipmap generation parameter. The initial value is GL_FALSE.

    Notes

    If an error is generated, no change is made to the contents of params.

    Errors

    GL_INVALID_ENUM is generated if target or pname is not one of the accepted defined values.
    Parameters:
      target - Specifies the target texture, which must beGL_TEXTURE_2D.
    Parameters:
      pname - Specifies the symbolic name of a textureparameter. pname can be one of the following:GL_TEXTURE_MIN_FILTER,GL_TEXTURE_MAG_FILTER,GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T,or GL_GENERATE_MIPMAP.
    Parameters:
      params - returns the texture parameters.
    Parameters:
      offset - the starting offset within theparams array.
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - if offset isless than 0.
    exception:
      IllegalArgumentException - if params.length -offset is smaller than the number of values required bythe parameter.




    glGetTexParameterfv
    void glGetTexParameterfv(int target, int pname, FloatBuffer params)(Code)
    Floating-point Buffer version of glGetTexParameter.
    See Also:   GL11.glGetTexParameterfv(int target,int pname,float[] params,int offset)
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - ifparams.remaining() is smaller than the number ofvalues required by the parameter.



    glGetTexParameteriv
    void glGetTexParameteriv(int target, int pname, int[] params, int offset)(Code)
    Integer array version of glGetTexParameter.
    See Also:   GL11.glGetTexParameterfv(int target,int pname,float[] params,int offset)
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - if offset isless than 0.
    exception:
      IllegalArgumentException - if params.length -offset is smaller than the number of values required bythe parameter.



    glGetTexParameteriv
    void glGetTexParameteriv(int target, int pname, IntBuffer params)(Code)
    Integer Buffer version of glGetTexParameter.
    See Also:   GL11.glGetTexParameterfv(int target,int pname,float[] params,int offset)
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - ifparams.remaining() is smaller than the number ofvalues required by the parameter.



    glGetTexParameterxv
    void glGetTexParameterxv(int target, int pname, int[] params, int offset)(Code)
    Fixed-point array version of glGetTexParameter.
    See Also:   GL11.glGetTexParameterfv(int target,int pname,float[] params,int offset)
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - if offset isless than 0.
    exception:
      IllegalArgumentException - if params.length -offset is smaller than the number of values required bythe parameter.



    glGetTexParameterxv
    void glGetTexParameterxv(int target, int pname, IntBuffer params)(Code)
    Fixed-point Buffer version of glGetTexParameter.
    See Also:   GL11.glGetTexParameterfv(int target,int pname,float[] params,int offset)
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - ifparams.remaining() is smaller than the number ofvalues required by the parameter.



    glIsBuffer
    boolean glIsBuffer(int buffer)(Code)
    Determine if a name corresponds to a buffer object.

    glIsBuffer returns true if buffer is currently the name of a buffer object. If buffer is zero, or is a non-zero value that is not currently the name of a buffer object, glIsBuffer returns false.
    Parameters:
      buffer - Specifies a value that may be the name of a buffer object. true if buffer is the name of abuffer object.




    glIsEnabled
    boolean glIsEnabled(int cap)(Code)
    Test whether a capability is enabled.

    glIsEnabled returns true if cap is an enabled capability and returns false otherwise.

    The following capabilities are accepted for cap:

     Constant                        See function:
     GL_ALPHA_TEST                   glAlphaFunc
     GL_ARRAY_BUFFER_BINDING         glBindBuffer
     GL_BLEND                        glBlendFunc, glLogicOp
     GL_CLIP_PLANE                   glClipPlane
     GL_COLOR_ARRAY                  glColorPointer
     GL_COLOR_LOGIC_OP               glLogicOp
     GL_COLOR_MATERIAL               glColorMaterial
     GL_CULL_FACE                    glCullFace
     GL_DEPTH_TEST                   glDepthFunc, glDepthRange
     GL_DITHER                       glEnable
     GL_FOG                          glFog
     GL_LIGHT                        glLight, glLightModel
     GL_LIGHTING                     glLight, glLightModel, glMaterial
     GL_LINE_SMOOTH                  glLineWidth
     GL_MATRIX_PALETTE_OES           glMatrixMode
     GL_MATRIX_INDEX_ARRAY_OES       glEnableClientState
     GL_MULTISAMPLE                  glEnable
     GL_NORMAL_ARRAY                 glNormalPointer
     GL_NORMALIZE                    glNormal
     GL_POINT_SIZE_ARRAY_OES         glEnableClientState
     GL_POINT_SMOOTH                 glPointSize
     GL_POINT_SPRITE_OES             glEnable, glTexEnv
     GL_POLYGON_OFFSET_FILL          glPolygonOffset
     GL_RESCALE_NORMAL               glEnable
     GL_SAMPLE_ALPHA_TO_COVERAGE     glEnable
     GL_SAMPLE_ALPHA_TO_ONE          glEnable
     GL_SAMPLE_COVERAGE              glEnable
     GL_SCISSOR_TEST                 glScissor
     GL_STENCIL_TEST                 glStencilFunc, glStencilOp
     GL_TEXTURE_2D                   glTexImage2D
     GL_TEXTURE_COORD_ARRAY          glTexCoordPointer
     GL_WEIGHT_ARRAY_OES             glEnableClientState
     GL_VERTEX_ARRAY                 glVertexPointer
     

    Notes

    If an error is generated, glIsEnabled returns 0.

    Errors

    GL_INVALID_ENUM is generated if cap is not an accepted value.
    Parameters:
      cap - Specifies a symbolic constant indicating a GL capability. true if the given capability is enabled.




    glIsTexture
    boolean glIsTexture(int texture)(Code)
    Determine if a name corresponds to a texture.

    glIsTexture returns true if texture is currently the name of a texture. If texture is zero, or is a non-zero value that is not currently the name of a texture, or if an error occurs, glIsTexture returns false.
    Parameters:
      texture - Specifies a value that may be the name of a texture. true if texture is the name of atexture object.




    glNormalPointer
    void glNormalPointer(int type, int stride, int offset)(Code)
    VBO version of glNormalPointer.
    See Also:   GL11.glBindBuffer
    See Also:   GL11.glNormalPointer(int type,int stride,Buffer pointer)
    exception:
      IllegalStateException - if VBOs are not enabled.
    exception:
      ArrayIndexOutOfBoundsException - if offsetis less than 0 or greater than or equal to the length of thecurrently bound buffer.



    glPointParameterf
    void glPointParameterf(int pname, float param)(Code)
    Specify parameters for point rasterization.

    glPointParameter assigns values to point parameters.

    glPointParameter takes two arguments. pname specifies which of several parameters will be modified. param specifies what value will be assigned to the specified parameter.

    The parameters that can be specified using glPointParameter, and their interpretations are as follows:

    • GL_POINT_SIZE_MIN
    • param specifies the lower bound to which the derived point size is clamped.

    • GL_POINT_SIZE_MAX
    • param specifies the upper bound to which the derived point size is clamped.

    • GL_POINT_FADE_THRESHOLD_SIZE
    • param specifies to the point fade threshold.

    Notes

    If the point size lower bound is greater than the upper bound, then the point size after clamping is undefined.

    Errors

    GL_INVALID_ENUM is generated if pname is not an accepted value.

    GL_INVALID_VALUE is generated if assigned values for

    GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, or GL_POINT_FADE_THRESHOLD_SIZE are less then zero.
    Parameters:
      pname - Specifies the single-valued parameter to beupdated. Can be either GL_POINT_SIZE_MIN,GL_POINT_SIZE_MAX, orGL_POINT_FADE_THRESHOLD_SIZE.
    Parameters:
      param - Specifies the value that the parameter will be setto.




    glPointParameterfv
    void glPointParameterfv(int pname, float[] params, int offset)(Code)
    Specify parameters for point rasterization (array version).

    glPointParameter assigns values to point parameters.

    glPointParameter takes two arguments. pname specifies which of several parameters will be modified. params specifies what values will be assigned to the specified parameter.

    The parameters that can be specified using glPointParameter, and their interpretations are as follows:

    • GL_POINT_SIZE_MIN
    • params contains the lower bound to which the derived point size is clamped.

    • GL_POINT_SIZE_MAX
    • params contains the upper bound to which the derived point size is clamped.

    • GL_POINT_FADE_THRESHOLD_SIZE
    • params contains the point fade threshold.

    • GL_POINT_DISTANCE_ATTENUATION
    • params contains the distance attenuation function coefficients a, b, and c.

    Notes

    If the point size lower bound is greater than the upper bound, then the point size after clamping is undefined.

    Errors

    GL_INVALID_ENUM is generated if pname is not an accepted value.

    GL_INVALID_VALUE is generated if assigned values for

    GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, or GL_POINT_FADE_THRESHOLD_SIZE are less then zero.
    Parameters:
      pname - Specifies the parameter to be updated. Can be eitherGL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX,GL_POINT_FADE_THRESHOLD_SIZE, orGL_POINT_DISTANCE_ATTENUATION.
    Parameters:
      params - Specifies an array of values thatpname will be set to.
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - if offset isless than 0.
    exception:
      IllegalArgumentException - if params.length -offset is smaller than the number of values required bythe parameter.




    glPointParameterfv
    void glPointParameterfv(int pname, FloatBuffer params)(Code)
    Floating-point Buffer version of glPointParameter.
    See Also:   GL11.glPointParameterfv(int pname,float[] params,int offset)
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - ifparams.remaining() is smaller than the number ofvalues required by the parameter.



    glPointParameterx
    void glPointParameterx(int pname, int param)(Code)
    Fixed-point version of glPointParameter.
    See Also:   GL11.glPointParameterf(int pname,float param)



    glPointParameterxv
    void glPointParameterxv(int pname, int[] params, int offset)(Code)
    Fixed-point array version of glPointParameter.
    See Also:   GL11.glPointParameterfv(int pname,float[] params,int offset)
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - if offset isless than 0.
    exception:
      IllegalArgumentException - if params.length -offset is smaller than the number of values required bythe parameter.



    glPointParameterxv
    void glPointParameterxv(int pname, IntBuffer params)(Code)
    Fixed-point Buffer version of glPointParameterfv.
    See Also:   GL11.glPointParameterfv(int pname,float[] params,int offset)
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - ifparams.remaining() is smaller than the number ofvalues required by the parameter.



    glPointSizePointerOES
    void glPointSizePointerOES(int type, int stride, Buffer pointer)(Code)
    (OES_point_size_array extension) Define an array of point sizes.

    glPointSizePointer specifies the location and data of an array of point sizes to use when rendering points. type is the data type of the coordinates. stride specifies the byte stride from one point size to the next, allowing vertices and attributes to be packed into a single array or stored in separate arrays. (Single-array storage may be more efficient on some implementations.)

    The point sizes supplied in the point size arrays will be the sizes used to render both points and point sprites.

    Distance-based attenuation works in conjunction with GL_POINT_SIZE_ARRAY_OES. If distance-based attenuation is enabled the point size from the point size array will be attenuated as defined by glPointParameter, to compute the final point size.

    When a point size array is specified, type, stride, and pointer are saved as client-side state.

    If the point size array is enabled, it is used to control the sizes used to render points and point sprites. To enable and disable the point size array, call glEnableClientState and glDisableClientState with the argument GL_POINT_SIZE_ARRAY_OES. The point size array is initially disabled.

    Notes

    If point size array is enabled, the point size defined by glPointSize is ignored.

    glPointSizePointer is typically implemented on the client side.

    Errors

    GL_INVALID_ENUM is generated if type is is not an accepted value.

    GL_INVALID_VALUE is generated if stride is negative.
    Parameters:
      type - Specifies the data type of each point size in thearray. Symbolic constants GL_FIXED andGL_FLOAT are accepted. The initial value isGL_FLOAT.
    Parameters:
      stride - Specifies the byte offset between consecutive pointsizes. If stride is 0, the point sizes areunderstood to be tightly packed in the array. The initial valueis 0.
    Parameters:
      pointer - Specifies a Buffer containing thepoint sizes starting at the first vertex in the array. Theinitial value is 0.
    exception:
      IllegalArgumentException - if pointer isnull.
    exception:
      IllegalStateException - if VBOs are enabled.




    glPointSizePointerOES
    void glPointSizePointerOES(int type, int stride, int offset)(Code)
    (OES_point_size_array extension) VBO version of glPointSizePointerOES.
    See Also:   GL11.glPointSizePointerOES(int type,int stride,Buffer pointer)
    exception:
      IllegalStateException - if VBOs are not enabled.



    glTexCoordPointer
    void glTexCoordPointer(int size, int type, int stride, int offset)(Code)
    VBO version of glTexCoordPointer.
    See Also:   GL11.glBindBuffer
    See Also:   GL11.glTexCoordPointer(int size,int type,int stride,Buffer pointer)
    exception:
      IllegalStateException - if VBOs are not enabled.
    exception:
      ArrayIndexOutOfBoundsException - if offsetis less than 0 or greater than or equal to the length of thecurrently bound buffer.



    glTexEnvi
    void glTexEnvi(int target, int pname, int param)(Code)
    Integer version of glTexEnv.
    See Also:   GL11.glTexEnvf(int target,int pname,float param)



    glTexEnviv
    void glTexEnviv(int target, int pname, int[] params, int offset)(Code)
    Integer array version of glTexEnv.
    See Also:   GL11.glTexEnvfv(int target,int pname,float[] params,int offset)
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - if offset isless than 0.
    exception:
      IllegalArgumentException - if params.length -offset is smaller than the number of values required bythe parameter.



    glTexEnviv
    void glTexEnviv(int target, int pname, IntBuffer params)(Code)
    Integer Buffer version of glTexEnvfv.
    See Also:   GL11.glTexEnvfv(int target,int pname,float[] params,int offset)
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - ifparams.remaining() is smaller than the number ofvalues required by the parameter.



    glTexParameterfv
    void glTexParameterfv(int target, int pname, float[] params, int offset)(Code)
    Floating-point array version of glTexParameter.
    See Also:   GL11.glTexParameterf(int target,int pname,float param)
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - if offset isless than 0.
    exception:
      IllegalArgumentException - if params.length -offset is smaller than the number of values required bythe parameter.



    glTexParameterfv
    void glTexParameterfv(int target, int pname, FloatBuffer params)(Code)
    Floating-point Buffer version of glTexParameter.
    See Also:   GL11.glTexParameterf(int target,int pname,float param)
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - ifparams.remaining() is smaller than the number ofvalues required by the parameter.



    glTexParameteri
    void glTexParameteri(int target, int pname, int param)(Code)
    Integer version of glTexParameter.
    See Also:   GL11.glTexParameterf(int target,int pname,float param)



    glTexParameteriv
    void glTexParameteriv(int target, int pname, int[] params, int offset)(Code)
    Integer array version of glTexParameter.
    See Also:   GL11.glTexParameterf(int target,int pname,float param)
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - if offset isless than 0.
    exception:
      IllegalArgumentException - if params.length -offset is smaller than the number of values required bythe parameter.



    glTexParameteriv
    void glTexParameteriv(int target, int pname, IntBuffer params)(Code)
    Integer Buffer version of glTexParameter.
    See Also:   GL11.glTexParameterf(int target,int pname,float param)
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - ifparams.remaining() is smaller than the number ofvalues required by the parameter.



    glTexParameterxv
    void glTexParameterxv(int target, int pname, int[] params, int offset)(Code)
    Fixed-point array version of glTexParameter.
    See Also:   GL11.glTexParameterf(int target,int pname,float param)
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - if offset isless than 0.
    exception:
      IllegalArgumentException - if params.length -offset is smaller than the number of values required bythe parameter.



    glTexParameterxv
    void glTexParameterxv(int target, int pname, IntBuffer params)(Code)
    Fixed-point Buffer version of glTexParameter.
    See Also:   GL11.glTexParameterf(int target,int pname,float param)
    exception:
      IllegalArgumentException - if params isnull.
    exception:
      IllegalArgumentException - ifparams.remaining() is smaller than the number ofvalues required by the parameter.



    glVertexPointer
    void glVertexPointer(int size, int type, int stride, int offset)(Code)
    VBO version of glVertexPointer.
    See Also:   GL11.glBindBuffer
    See Also:   GL11.glVertexPointer(int size,int type,int stride,Buffer pointer)
    exception:
      IllegalStateException - if VBOs are not enabled.
    exception:
      ArrayIndexOutOfBoundsException - if offsetis less than 0 or greater than or equal to the length of thecurrently bound buffer.



    www.java2java.com | Contact Us
    Copyright 2009 - 12 Demo Source and Support. All rights reserved.
    All other trademarks are property of their respective owners.