javax.media.opengl.TraceGL2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jogl-all Show documentation
Show all versions of jogl-all Show documentation
Java™ Binding for the OpenGL® API
package javax.media.opengl;
import java.io.PrintStream;
/**
*
* Composable pipeline which wraps an underlying {@link GL} implementation,
* providing tracing information to a user-specified {@link java.io.PrintStream}
* before and after each OpenGL method call.
*
*
* Sample code which installs this pipeline, manual:
*
* gl = drawable.setGL(new TraceGL(drawable.getGL(), System.err));
*
* For automatic instantiation see {@link GLPipelineFactory#create(String, Class, GL, Object[])}.
*
*/
public class TraceGL2 extends TraceGL4bc {
public TraceGL2(GL2 downstream, PrintStream stream) {
super((GL4bc)downstream, stream);
}
}