Class DebugGL3

All Implemented Interfaces:
GLLightingFunc, GLMatrixFunc, GLPointerFunc, GL, GL2, GL2ES1, GL2ES2, GL2ES3, GL2GL3, GL3, GL3bc, GL3ES3, GL4, GL4bc, GL4ES3, GLBase

public class DebugGL3 extends DebugGL4bc

Composable pipeline which wraps an underlying GL implementation, providing error checking after each OpenGL method call. If an error occurs, causes a GLException to be thrown at exactly the point of failure.

Sample code which installs this pipeline, manual:

     gl = drawable.setGL(new DebugGL(drawable.getGL()));
 
For automatic instantiation see GLPipelineFactory.create(String, Class, GL, Object[]).

  • Constructor Details

    • DebugGL3

      public DebugGL3(GL3 downstream)