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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
public static final int GL_NVIDIA_PLATFORM_BINARY_NV = 0x890B;
/**
* Emulated FixedFunction matrix bit, enables PVM matrix functionality,
* referenced below.
*
* <br>Enabled by default.
*
* @see #enableFixedFunctionEmulationMode
* @see #disableFixedFunctionEmulationMode
* @see #getEnabledFixedFunctionEmulationModes
* @see #GL_MODELVIEW
* @see #GL_PROJECTION
* @see #glPopMatrix()
* @see #glPushMatrix()
* @see #glLoadIdentity()
* @see #glLoadMatrixf(java.nio.FloatBuffer)
* @see #glMatrixMode(int)
* @see #glMultMatrixf(java.nio.FloatBuffer)
* @see #glTranslatef(float, float, float)
* @see #glRotatef(float, float, float, float)
* @see #glScalef(float, float, float)
* @see #glOrthof(float, float, float, float, float, float)
* @see #glFrustumf(float, float, float, float, float, float)
* @see #glPopMatrix()
* @see #glPushMatrix()
* @see #glLoadIdentity()
* @see #glLoadMatrixf(java.nio.FloatBuffer)
* @see #glMatrixMode(int)
* @see #glMultMatrixf(java.nio.FloatBuffer)
* @see #glTranslatef(float, float, float)
* @see #glRotatef(float, float, float, float)
* @see #glScalef(float, float, float)
* @see #glOrthof(float, float, float, float, float, float)
* @see #glFrustumf(float, float, float, float, float, float)
*/
public static final int FIXED_EMULATION_MATRIX = (1 << 0) ;
/**
* Emulated FixedFunction vertex color bit, enables vertex|color arrays ,
* referenced below.
*
* <br>Disabled by default.
*
* @see #enableFixedFunctionEmulationMode
* @see #disableFixedFunctionEmulationMode
* @see #getEnabledFixedFunctionEmulationModes
* @see #GL_VERTEX_ARRAY
* @see #GL_NORMAL_ARRAY
* @see #GL_COLOR_ARRAY
* @see #GL_TEXTURE_COORD_ARRAY
* @see #glEnableClientState(int);
* @see #glVertexPointer(int, int, int, Buffer);
* @see #glVertexPointer(int, int, int, long);
* @see #glColorPointer(int, int, int, Buffer);
* @see #glColorPointer(int, int, int, long);
* @see #glNormalPointer(int, int, int, Buffer);
* @see #glNormalPointer(int, int, int, long);
* @see #glTexCoordPointer(int, int, int, Buffer);
* @see #glTexCoordPointer(int, int, int, long);
* @see #glDrawArrays(int, int, int);
*/
public static final int FIXED_EMULATION_VERTEXCOLORTEXTURE = (1 << 1) ;
/**
* Emulated FixedFunction implementation.
* @see #disableFixedFunctionEmulationMode
* @see #getEnabledFixedFunctionEmulationModes
*/
public void enableFixedFunctionEmulationMode(int mode);
/**
* Emulated FixedFunction implementation.
* @see #enableFixedFunctionEmulationMode
* @see #getEnabledFixedFunctionEmulationModes
*/
public void disableFixedFunctionEmulationMode(int mode);
/**
* Emulated FixedFunction matrix implementation.
* @see #enableFixedFunctionEmulationMode
*/
public int getEnabledFixedFunctionEmulationModes();
/**
* Emulated FixedFunction matrix implementation.
*
* Fetches the internal matrix of matrixName.
* @param matrixName GL_MODELVIEW or GL_PROJECTION
* @see #getEnabledFixedFunctionEmulationModes
* @see #enableFixedFunctionEmulationMode
* @see #disableFixedFunctionEmulationMode
*/
public PMVMatrix getPMVMatrix();
/**
* Emulated FixedFunction matrix implementation.
*
* Fetches the internal matrix of matrixName.
* @param matrixName GL_MODELVIEW or GL_PROJECTION
* @see #enableFixedFunctionEmulationMode
* @see #disableFixedFunctionEmulationMode
* @see #getEnabledFixedFunctionEmulationModes
*/
public FloatBuffer glGetMatrixf(int matrixName);
/**
* Emulated FixedFunction matrix implementation.
*
* Fetches the internal matrix of matrixName.
* @param matrixName GL_MODELVIEW or GL_PROJECTION
* @see #enableFixedFunctionEmulationMode
* @see #disableFixedFunctionEmulationMode
* @see #getEnabledFixedFunctionEmulationModes
*/
public FloatBuffer glGetMatrixf();
/**
* Emulated FixedFunction matrix implementation.
*
* Fetches the internal matrix of matrixName.
* @param matrixName GL_MODELVIEW or GL_PROJECTION
* @see #enableFixedFunctionEmulationMode
* @see #disableFixedFunctionEmulationMode
* @see #getEnabledFixedFunctionEmulationModes
*/
public int glGetMatrixMode();
|