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.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_BUFFER_OBJECT_EXT
Accepted by the |
| public static final int | GL_PROGRAM_OBJECT_EXT
Accepted by the |
| public static final int | GL_PROGRAM_PIPELINE_OBJECT_EXT
Accepted by the |
| public static final int | GL_QUERY_OBJECT_EXT
Accepted by the |
| public static final int | GL_SHADER_OBJECT_EXT
Accepted by the |
| public static final int | GL_VERTEX_ARRAY_OBJECT_EXT
Accepted by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static String | |
| public static void | glGetObjectLabelEXT(int type, int object, int[] length, ByteBuffer label)
Array version of: |
| public static void | |
| public static void | |
| public static native void | |
| public static native void |
| GL_BUFFER_OBJECT_EXT | back to summary |
|---|---|
| public static final int GL_BUFFER_OBJECT_EXT Accepted by the | |
| GL_PROGRAM_OBJECT_EXT | back to summary |
|---|---|
| public static final int GL_PROGRAM_OBJECT_EXT Accepted by the | |
| GL_PROGRAM_PIPELINE_OBJECT_EXT | back to summary |
|---|---|
| public static final int GL_PROGRAM_PIPELINE_OBJECT_EXT Accepted by the | |
| GL_QUERY_OBJECT_EXT | back to summary |
|---|---|
| public static final int GL_QUERY_OBJECT_EXT Accepted by the | |
| GL_SHADER_OBJECT_EXT | back to summary |
|---|---|
| public static final int GL_SHADER_OBJECT_EXT Accepted by the | |
| GL_VERTEX_ARRAY_OBJECT_EXT | back to summary |
|---|---|
| public static final int GL_VERTEX_ARRAY_OBJECT_EXT Accepted by the | |
| EXTDebugLabel | back to summary |
|---|---|
| protected EXTDebugLabel() | |
| glGetObjectLabelEXT | back to summary |
|---|---|
| public static void glGetObjectLabelEXT(int type, int object, IntBuffer length, ByteBuffer label) | |
| glGetObjectLabelEXT | back to summary |
|---|---|
public static String glGetObjectLabelEXT(int type, int object, int bufSize)
| |
| glGetObjectLabelEXT | back to summary |
|---|---|
| public static void glGetObjectLabelEXT(int type, int object, int[] length, ByteBuffer label) Array version of: | |
| glLabelObjectEXT | back to summary |
|---|---|
| public static void glLabelObjectEXT(int type, int object, ByteBuffer label) | |
| glLabelObjectEXT | back to summary |
|---|---|
| public static void glLabelObjectEXT(int type, int object, CharSequence label) | |
| nglGetObjectLabelEXT | back to summary |
|---|---|
| public static native void nglGetObjectLabelEXT(int type, int object, int bufSize, long length, long label) | |
| nglLabelObjectEXT | back to summary |
|---|---|
| public static native void nglLabelObjectEXT(int type, int object, int length, long label) | |