aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/jogl/gl-if-CustomJavaCode-gl2_es2.java
blob: 970a20900c4c4e1b99b04c5a438935039884cbfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
  /** Part of <code>GL_ES_VERSION_2_0</code>, <code>GL_VERSION_1_1</code>, <code>GL_VERSION_1_0</code> */
  public static final int GL_STENCIL_INDEX = 0x1901;

  /** Start: GL_ARB_ES2_compatibility functions, which are part of ES2 core as well */

  /** Entry point to C language function: 
   * <code> void {@native glReleaseShaderCompiler}(void); </code> 
   * <br>Part of <code>GL_ES_VERSION_2_0</code> and <code>GL_ARB_ES2_compatibility</code>. 
   * <br> Nop if no native implementation is available.   */
  public void glReleaseShaderCompiler();

  /** Entry point to C language function: 
   * <code> void {@native glShaderBinary}(GLint n, const GLuint *  shaders, GLenum binaryformat, const void *  binary, GLint length); </code> 
   * <br>Part of <code>GL_ES_VERSION_2_0</code> and <code>GL_ARB_ES2_compatibility</code>. 
   * <br> Throws GLException if no native implementation is available.   */
  public void glShaderBinary(int n, IntBuffer shaders, int binaryformat, Buffer binary, int length);

  /** Entry point to C language function: 
   * <code> void {@native glShaderBinary}(GLint n, const GLuint *  shaders, GLenum binaryformat, const void *  binary, GLint length); </code> 
   * <br>Part of <code>GL_ES_VERSION_2_0</code> and <code>GL_ARB_ES2_compatibility</code>. 
   * <br> Throws GLException if no native implementation is available.   */
  public void glShaderBinary(int n, int[] shaders, int shaders_offset, int binaryformat, Buffer binary, int length);

  /** Entry point to C language function: 
   * <code> void {@native glGetShaderPrecisionFormat}(GLenum shadertype, GLenum precisiontype, GLint *  range, GLint *  precision); </code> 
   * <br>Part of <code>GL_ES_VERSION_2_0</code> and <code>GL_ARB_ES2_compatibility</code>. 
   * <br> Throws GLException if no native implementation is available.   */
  public void glGetShaderPrecisionFormat(int shadertype, int precisiontype, IntBuffer range, IntBuffer precision);

  /** Entry point to C language function: 
   * <code> void {@native glGetShaderPrecisionFormat}(GLenum shadertype, GLenum precisiontype, GLint *  range, GLint *  precision); </code> 
   * <br>Part of <code>GL_ES_VERSION_2_0</code> and <code>GL_ARB_ES2_compatibility</code>. 
   * <br> Throws GLException if no native implementation is available.   */
  public void glGetShaderPrecisionFormat(int shadertype, int precisiontype, int[] range, int range_offset, int[] precision, int precision_offset);

  /** Entry point to C language function: 
   * <code> void {@native glDepthRangef}(GLclampf zNear, GLclampf zFar); </code> 
   * <br>Part of <code>GL_ES_VERSION_2_0</code> and <code>GL_ARB_ES2_compatibility</code>. 
   * <br> Calls <code> void {@native glDepthRange}(GLclampd zNear, GLclampd zFar); </code> if no native implementation is available.   */
  public void glDepthRangef(float zNear, float zFar);

  public void glDepthRange(double zNear, double zFar);

  /** Entry point to C language function: 
   * <code> void {@native glClearDepthf}(GLclampf depth); </code> 
   * <br>Part of <code>GL_ES_VERSION_2_0</code> and <code>GL_ARB_ES2_compatibility</code>. 
   * <br> Calls <code> void {@native glClearDepth}(GLclampd depth); </code> if no native implementation is available.   */
  public void glClearDepthf(float depth);

  public void glClearDepth( double depth );

  public void glVertexAttribPointer(GLArrayData array);

  public void glUniform(GLUniformData data);

  /** End: GL_ARB_ES2_compatibility functions, which are part of ES2 core as well */