Package com.jme3.renderer.opengl
Class GLTracer
java.lang.Object
com.jme3.renderer.opengl.GLTracer
- All Implemented Interfaces:
InvocationHandler
Utility class that allows tracing of OpenGL calls generated by the engine.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectcreateDesktopGlTracer(Object glInterface, Class<?>... glInterfaceClasses) Creates a tracer implementation that wraps OpenGL 2+.static ObjectcreateGlesTracer(Object glInterface, Class<?>... glInterfaceClasses) Creates a tracer implementation that wraps OpenGL ES 2.
-
Constructor Details
-
GLTracer
-
-
Method Details
-
createGlesTracer
Creates a tracer implementation that wraps OpenGL ES 2.- Parameters:
glInterface- OGL object to wrapglInterfaceClasses- The interface(s) to implement- Returns:
- A tracer that implements the given interface
-
createDesktopGlTracer
Creates a tracer implementation that wraps OpenGL 2+.- Parameters:
glInterface- OGL object to wrapglInterfaceClasses- The interface(s) to implement- Returns:
- A tracer that implements the given interface
-
invoke
- Specified by:
invokein interfaceInvocationHandler- Throws:
Throwable
-