This repository has been archived by the owner on Feb 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GL2.java
103 lines (53 loc) · 2.08 KB
/
GL2.java
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
package com.github.opengrabeso.jaagl;
import java.nio.Buffer;
public interface GL2 extends GL, GL2GL3 {
int GL_LIGHTING();
void glPushAttrib(int attribMask);
int GL_PROJECTION();
int GL_MODELVIEW();
void glBlendFunc(int gl_src_alpha, int gl_one_minus_src_alpha);
void glTexEnvi(int gl_texture_env, int gl_texture_env_mode, int gl_modulate);
void glMatrixMode(int gl_projection);
void glPushMatrix();
void glLoadIdentity();
void glOrtho(int i, int width, int i1, int height, int i2, int i3);
void glScalef(float x, float y, float z);
void glTranslatef(float x, float y, float z);
void glPopMatrix();
void glPopAttrib();
void glColor4f(float r, float g, float b, float a);
int GL_ENABLE_BIT();
int GL_TEXTURE_BIT();
int GL_TRANSFORM_BIT();
int GL_INTENSITY();
int GL_LUMINANCE();
int GL_TEXTURE_ENV();
int GL_TEXTURE_ENV_MODE();
int GL_MODULATE();
long GL_ALL_CLIENT_ATTRIB_BITS();
int GL_SCISSOR_BIT();
void glPushClientAttrib(int gl_all_client_attrib_bits);
void glEnableClientState(int gl_vertex_array);
void glVertexPointer(int floatsPerPoint, int gl_float, int stride, int pointOffset);
void glVertexPointer(int floatsPerPoint, int gl_float, int stride, Buffer buffer);
void glTexCoordPointer(int floatsPerCoord, int gl_float, int stride, int coordOffset);
int GL_QUADS();
void glPopClientAttrib();
void glBegin(int gl_quads);
void glTexCoord2f(float sx1, float sy2);
void glVertex3f(float x, float y, float z);
void glVertex2i(int dx1, int dy2);
void glEnd();
int GL_POLYGON();
void glDisableClientState(int gl_vertex_array);
int GL_LINE_STIPPLE();
void glLineStipple(int i, short mask);
int GL_MODELVIEW_MATRIX();
int GL_LINE_BIT();
int GL_POINT_BIT();
void glColor4ub(byte b, byte b1, byte b2, byte b3);
void glRasterPos2i(int x2, int y2);
int GL_COLOR();
void glCopyPixels(int x1, int y1, int width, int height, int gl_color);
void glLoadMatrixf(float[] matrix, int i);
}