|
The Java™ Binding for the OpenGL® ES API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.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 |
equals, 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.
|
Final Release, Oct 2006 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |