com.metsci.glimpse.gl
Interface GLSimpleListener

All Known Implementing Classes:
GLCapabilityLogger, GLLayoutPainter, GLSimpleListenerAbstract

public interface GLSimpleListener

A substitute for GLEventListener that is easy to use from SWT as well as Swing/AWT.


Method Summary
 void display(javax.media.opengl.GLContext context)
           
 void displayChanged(javax.media.opengl.GLContext context, boolean modeChanged, boolean deviceChanged)
           
 void dispose(javax.media.opengl.GLContext context)
          Free GPU and CPU memory associated with this this context.
 GLListenerInfo getInfo()
          Returns diagnostics which can include things such as estimated memory usage.
 void init(javax.media.opengl.GLContext context)
           
 boolean isDisposed()
          Whether this listener has been disposed, making it unavailable for use.
 void reshape(javax.media.opengl.GLContext context, int x, int y, int width, int height)
           
 

Method Detail

init

void init(javax.media.opengl.GLContext context)

display

void display(javax.media.opengl.GLContext context)

reshape

void reshape(javax.media.opengl.GLContext context,
             int x,
             int y,
             int width,
             int height)

displayChanged

void displayChanged(javax.media.opengl.GLContext context,
                    boolean modeChanged,
                    boolean deviceChanged)

dispose

void dispose(javax.media.opengl.GLContext context)
Free GPU and CPU memory associated with this this context.


isDisposed

boolean isDisposed()
Whether this listener has been disposed, making it unavailable for use.


getInfo

GLListenerInfo getInfo()
Returns diagnostics which can include things such as estimated memory usage.



Copyright © 2012 Metron, Inc.. All Rights Reserved.