This extension adds support for features of OpenGL ES 2.0 that are missing from OpenGL 3.x. Enabling these features will ease the process of porting applications from OpenGL ES 2.0 to OpenGL.
Promoted to core in OpenGL 4..
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_FIXED
Accepted by the |
| public static final int | GL_HIGH_FLOAT
Accepted by the |
| public static final int | GL_HIGH_INT
Accepted by the |
| public static final int | GL_IMPLEMENTATION_COLOR_READ_FORMAT
Accepted by the |
| public static final int | GL_IMPLEMENTATION_COLOR_READ_TYPE
Accepted by the |
| public static final int | GL_LOW_FLOAT
Accepted by the |
| public static final int | GL_LOW_INT
Accepted by the |
| public static final int | GL_MAX_FRAGMENT_UNIFORM_VECTORS
Accepted by the |
| public static final int | GL_MAX_VARYING_VECTORS
Accepted by the |
| public static final int | GL_MAX_VERTEX_UNIFORM_VECTORS
Accepted by the |
| public static final int | GL_MEDIUM_FLOAT
Accepted by the |
| public static final int | GL_MEDIUM_INT
Accepted by the |
| public static final int | GL_NUM_SHADER_BINARY_FORMATS
Accepted by the |
| public static final int | GL_RGB565
Accepted by the |
| public static final int | GL_SHADER_BINARY_FORMATS
Accepted by the |
| public static final int | GL_SHADER_COMPILER
Accepted by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | ||
|---|---|---|---|
| public static void | glClearDepthf(float
the depth value used when the depth buffer is cleared. The initial value is 1.0f. depth)Specifies the clear value for the depth buffer | ||
| public static void | glDepthRangef(float
the mapping of the near clipping plane to window coordinates. The initial value is 0.0f. zNear, float the mapping of the far clipping plane to window coordinates. The initial value is 1.0f. zFar)Specifies mapping of depth values from normalized device coordinates to window coordinates | ||
| public static void | glGetShaderPrecisionFormat(int
the type of shader whose precision to query. One of: shadertype, int
the numeric format whose precision and range to query precisiontype, IntBuffer the address of array of two integers into which encodings of the implementation's numeric range are returned range, IntBuffer the address of an integer into which the numeric precision of the implementation is written precision)Retrieves the range and precision for numeric formats supported by the shader compiler. | ||
| public static int | glGetShaderPrecisionFormat(int
the type of shader whose precision to query. One of: shadertype, int
the numeric format whose precision and range to query precisiontype, IntBuffer the address of array of two integers into which encodings of the implementation's numeric range are returned range)Retrieves the range and precision for numeric formats supported by the shader compiler. | ||
| public static void | glGetShaderPrecisionFormat(int shadertype, int precisiontype, int[] range, int[] precision)
Array version of: | ||
| public static void | |||
| public static void | glShaderBinary(IntBuffer
an array of shader handles into which to load pre-compiled shader binaries shaders, int the format of the shader binaries contained in binaryformat, ByteBuffer binaryan array of bytes containing pre-compiled binary shader code binary)Loads pre-compiled shader binaries. | ||
| public static void | |||
| public static void | nglGetShaderPrecisionFormat(int shadertype, int precisiontype, long range, long precision)
Unsafe version of: | ||
| public static void | nglShaderBinary(int
the number of shader object handles contained in count, long shaders, int binaryformat, long binary, int shadersthe length of the array whose address is given in binary length)Unsafe version of: |
| GL_FIXED | back to summary |
|---|---|
| public static final int GL_FIXED Accepted by the | |
| GL_HIGH_FLOAT | back to summary |
|---|---|
| public static final int GL_HIGH_FLOAT Accepted by the | |
| GL_HIGH_INT | back to summary |
|---|---|
| public static final int GL_HIGH_INT Accepted by the | |
| GL_IMPLEMENTATION_COLOR_READ_FORMAT | back to summary |
|---|---|
| public static final int GL_IMPLEMENTATION_COLOR_READ_FORMAT Accepted by the | |
| GL_IMPLEMENTATION_COLOR_READ_TYPE | back to summary |
|---|---|
| public static final int GL_IMPLEMENTATION_COLOR_READ_TYPE Accepted by the | |
| GL_LOW_FLOAT | back to summary |
|---|---|
| public static final int GL_LOW_FLOAT Accepted by the | |
| GL_LOW_INT | back to summary |
|---|---|
| public static final int GL_LOW_INT Accepted by the | |
| GL_MAX_FRAGMENT_UNIFORM_VECTORS | back to summary |
|---|---|
| public static final int GL_MAX_FRAGMENT_UNIFORM_VECTORS Accepted by the | |
| GL_MAX_VARYING_VECTORS | back to summary |
|---|---|
| public static final int GL_MAX_VARYING_VECTORS Accepted by the | |
| GL_MAX_VERTEX_UNIFORM_VECTORS | back to summary |
|---|---|
| public static final int GL_MAX_VERTEX_UNIFORM_VECTORS Accepted by the | |
| GL_MEDIUM_FLOAT | back to summary |
|---|---|
| public static final int GL_MEDIUM_FLOAT Accepted by the | |
| GL_MEDIUM_INT | back to summary |
|---|---|
| public static final int GL_MEDIUM_INT Accepted by the | |
| GL_NUM_SHADER_BINARY_FORMATS | back to summary |
|---|---|
| public static final int GL_NUM_SHADER_BINARY_FORMATS Accepted by the | |
| GL_RGB565 | back to summary |
|---|---|
| public static final int GL_RGB565 Accepted by the | |
| GL_SHADER_BINARY_FORMATS | back to summary |
|---|---|
| public static final int GL_SHADER_BINARY_FORMATS Accepted by the | |
| GL_SHADER_COMPILER | back to summary |
|---|---|
| public static final int GL_SHADER_COMPILER Accepted by the | |
| ARBES2Compatibility | back to summary |
|---|---|
| protected ARBES2Compatibility() | |
| glClearDepthf | back to summary |
|---|---|
| public static void glClearDepthf(float depth) Specifies the clear value for the depth buffer
| |
| glDepthRangef | back to summary |
|---|---|
| public static void glDepthRangef(float zNear, float zFar) Specifies mapping of depth values from normalized device coordinates to window coordinates
| |
| glGetShaderPrecisionFormat | back to summary | ||
|---|---|---|---|
| public static void glGetShaderPrecisionFormat(int shadertype, int precisiontype, IntBuffer range, IntBuffer precision) Retrieves the range and precision for numeric formats supported by the shader compiler.
| |||
| glGetShaderPrecisionFormat | back to summary | ||
|---|---|---|---|
| public static int glGetShaderPrecisionFormat(int shadertype, int precisiontype, IntBuffer range) Retrieves the range and precision for numeric formats supported by the shader compiler.
| |||
| glGetShaderPrecisionFormat | back to summary |
|---|---|
| public static void glGetShaderPrecisionFormat(int shadertype, int precisiontype, int[] range, int[] precision) Array version of: | |
| glReleaseShaderCompiler | back to summary |
|---|---|
| public static void glReleaseShaderCompiler() Releases resources allocated by the shader compiler. This is a hint from the application, and does not prevent later use of the shader compiler. | |
| glShaderBinary | back to summary |
|---|---|
| public static void glShaderBinary(IntBuffer shaders, int binaryformat, ByteBuffer binary) Loads pre-compiled shader binaries.
| |
| glShaderBinary | back to summary |
|---|---|
| public static void glShaderBinary(int[] shaders, int binaryformat, ByteBuffer binary) Array version of: | |
| nglGetShaderPrecisionFormat | back to summary |
|---|---|
| public static void nglGetShaderPrecisionFormat(int shadertype, int precisiontype, long range, long precision) Unsafe version of: | |
| nglShaderBinary | back to summary |
|---|---|
| public static void nglShaderBinary(int count, long shaders, int binaryformat, long binary, int length) Unsafe version of:
| |