public final class GLTracer
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
Constructor and Description |
---|
GLTracer(java.lang.Object obj,
IntMap<java.lang.String> constMap) |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
createDesktopGlTracer(java.lang.Object glInterface,
java.lang.Class<?>... glInterfaceClasses)
Creates a tracer implementation that wraps OpenGL 2+.
|
static java.lang.Object |
createGlesTracer(java.lang.Object glInterface,
java.lang.Class<?>... glInterfaceClasses)
Creates a tracer implementation that wraps OpenGL ES 2.
|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
public GLTracer(java.lang.Object obj, IntMap<java.lang.String> constMap)
public static java.lang.Object createGlesTracer(java.lang.Object glInterface, java.lang.Class<?>... glInterfaceClasses)
glInterface
- OGL object to wrapglInterfaceClasses
- The interface(s) to implementpublic static java.lang.Object createDesktopGlTracer(java.lang.Object glInterface, java.lang.Class<?>... glInterfaceClasses)
glInterface
- OGL object to wrapglInterfaceClasses
- The interface(s) to implementpublic java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Throwable