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
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
createDesktopGlTracer
(Object glInterface, Class<?>... glInterfaceClasses) Creates a tracer implementation that wraps OpenGL 2+.static Object
createGlesTracer
(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:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-