|
The Java™ Binding for the OpenGL® ES API v1.0.1 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.microedition.khronos.egl.EGLContext
A class encapsulating the EGL context. The class also contains
static methods used to obtain instances of the EGL
and GL interfaces.
An EGLContext is obtained from EGL using the
eglCreateContext function, and destroyed using the
eglDestroyContext function. Its main role is as a
parameter to eglMakeCurrent.
| Method Summary | |
static EGL |
getEGL()
Returns an EGL object. |
abstract GL |
getGL()
Returns a GL object associated with this EGL
context. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static EGL getEGL()
EGL object.
EGL instance.public abstract GL getGL()
GL object associated with this EGL
context.
To call extension methods, cast the returned object to the interface type that contains the methods of the extension.
GL instance that implements all
available extension interfaces.
|
Maintenance Release May 15, 2007 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||