javax.media.opengl.TraceGL4 Maven / Gradle / Ivy
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 TraceGL4 extends TraceGL4bc {
public TraceGL4(GL4 downstream, PrintStream stream) {
super((GL4bc)downstream, stream);
}
}