javax.media.opengl
public interface GLRunnable
Declares one-shot OpenGL commands usable for injection into a GLAutoDrawable
,
via GLAutoDrawable.invoke(boolean, javax.media.opengl.GLRunnable)
.
GLAutoDrawable
executes these commands within it's GLAutoDrawable.display()
method while the OpenGL context is current.
This might be useful to inject OpenGL commands from an I/O event listener.
Modifier and Type | Method and Description |
---|---|
boolean |
run(GLAutoDrawable drawable)
Called by the drawable to initiate one-shot OpenGL commands by the
client, like
GLEventListener.display(GLAutoDrawable) . |
boolean run(GLAutoDrawable drawable)
GLEventListener.display(GLAutoDrawable)
.drawable
- the associated drawable the implementation shall useGLAutoDrawable.display()
will
issue another GLEventListener.display(GLAutoDrawable)
call. Otherwise true.Copyright 2010 JogAmp Community.