Package org.lwjgl.opengles
Class EXTDebugLabel
- java.lang.Object
-
- org.lwjgl.opengles.EXTDebugLabel
-
public class EXTDebugLabel extends java.lang.ObjectNative bindings to the EXT_debug_label extension.This extension defines a mechanism for OpenGL and OpenGL ES applications to label their objects (textures, buffers, shaders, etc.) with a descriptive string.
When profiling or debugging such an application within a debugger or profiler it is difficult to identify resources from their object names. Even when the resource itself is viewed it can be problematic to differentiate between similar resources. Attaching a label to an object helps obviate this difficulty.
The intended purpose of this is purely to improve the user experience within OpenGL and OpenGL ES development tools.
-
-
Field Summary
Fields Modifier and Type Field Description static intGL_BUFFER_OBJECT_EXT
GL_PROGRAM_OBJECT_EXT
GL_PROGRAM_PIPELINE_OBJECT_EXT
GL_QUERY_OBJECT_EXT
GL_SHADER_OBJECT_EXT
GL_VERTEX_ARRAY_OBJECT_EXTAccepted by thetypeparameter of LabelObjectEXT and GetObjectLabelEXT.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringglGetObjectLabelEXT(int type, int object, int bufSize)static voidglGetObjectLabelEXT(int type, int object, int[] length, java.nio.ByteBuffer label)Array version of:GetObjectLabelEXTstatic voidglGetObjectLabelEXT(int type, int object, java.nio.IntBuffer length, java.nio.ByteBuffer label)static voidglLabelObjectEXT(int type, int object, java.lang.CharSequence label)static voidglLabelObjectEXT(int type, int object, java.nio.ByteBuffer label)static voidnglGetObjectLabelEXT(int type, int object, int bufSize, long length, long label)static voidnglLabelObjectEXT(int type, int object, int length, long label)
-
-
-
Field Detail
-
GL_BUFFER_OBJECT_EXT, GL_SHADER_OBJECT_EXT, GL_PROGRAM_OBJECT_EXT, GL_VERTEX_ARRAY_OBJECT_EXT, GL_QUERY_OBJECT_EXT, GL_PROGRAM_PIPELINE_OBJECT_EXT
Accepted by thetypeparameter of LabelObjectEXT and GetObjectLabelEXT.
-
-
Method Detail
-
nglLabelObjectEXT
public static void nglLabelObjectEXT(int type, int object, int length, long label)
-
glLabelObjectEXT
public static void glLabelObjectEXT(int type, int object, java.nio.ByteBuffer label)
-
glLabelObjectEXT
public static void glLabelObjectEXT(int type, int object, java.lang.CharSequence label)
-
nglGetObjectLabelEXT
public static void nglGetObjectLabelEXT(int type, int object, int bufSize, long length, long label)
-
glGetObjectLabelEXT
public static void glGetObjectLabelEXT(int type, int object, java.nio.IntBuffer length, java.nio.ByteBuffer label)
-
glGetObjectLabelEXT
public static java.lang.String glGetObjectLabelEXT(int type, int object, int bufSize)
-
glGetObjectLabelEXT
public static void glGetObjectLabelEXT(int type, int object, int[] length, java.nio.ByteBuffer label)Array version of:GetObjectLabelEXT
-
-