javax.media.opengl
Interface GLRunnable


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.


Method Summary
 void run(GLAutoDrawable drawable)
          Called by the drawable to initiate one-shot OpenGL commands by the client, like GLEventListener.display(GLAutoDrawable).
 

Method Detail

run

void run(GLAutoDrawable drawable)
Called by the drawable to initiate one-shot OpenGL commands by the client, like GLEventListener.display(GLAutoDrawable).



Copyright 2010 JogAmp Community.