Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class EXTDebugLabel

extends Object
Class Inheritance
Imports
java.nio.*, org.lwjgl.system.*

Native 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

Modifier and TypeField and Description
public static final int
GL_BUFFER_OBJECT_EXT

Accepted by the type parameter of LabelObjectEXT and GetObjectLabelEXT.

public static final int
GL_PROGRAM_OBJECT_EXT

Accepted by the type parameter of LabelObjectEXT and GetObjectLabelEXT.

public static final int
GL_PROGRAM_PIPELINE_OBJECT_EXT

Accepted by the type parameter of LabelObjectEXT and GetObjectLabelEXT.

public static final int
GL_QUERY_OBJECT_EXT

Accepted by the type parameter of LabelObjectEXT and GetObjectLabelEXT.

public static final int
GL_SHADER_OBJECT_EXT

Accepted by the type parameter of LabelObjectEXT and GetObjectLabelEXT.

public static final int
GL_VERTEX_ARRAY_OBJECT_EXT

Accepted by the type parameter of LabelObjectEXT and GetObjectLabelEXT.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
glGetObjectLabelEXT(int type, int object, IntBuffer length, ByteBuffer label)

public static String
glGetObjectLabelEXT(int type, int object, int bufSize)

public static void
glGetObjectLabelEXT(int type, int object, int[] length, ByteBuffer label)

Array version of: GetObjectLabelEXT

public static void
glLabelObjectEXT(int type, int object, ByteBuffer label)

public static void
glLabelObjectEXT(int type, int object, CharSequence label)

public static native void
nglGetObjectLabelEXT(int type, int object, int bufSize, long length, long label)

public static native void
nglLabelObjectEXT(int type, int object, int length, long label)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_BUFFER_OBJECT_EXTback to summary
public static final int GL_BUFFER_OBJECT_EXT

Accepted by the type parameter of LabelObjectEXT and GetObjectLabelEXT.

GL_PROGRAM_OBJECT_EXTback to summary
public static final int GL_PROGRAM_OBJECT_EXT

Accepted by the type parameter of LabelObjectEXT and GetObjectLabelEXT.

GL_PROGRAM_PIPELINE_OBJECT_EXTback to summary
public static final int GL_PROGRAM_PIPELINE_OBJECT_EXT

Accepted by the type parameter of LabelObjectEXT and GetObjectLabelEXT.

GL_QUERY_OBJECT_EXTback to summary
public static final int GL_QUERY_OBJECT_EXT

Accepted by the type parameter of LabelObjectEXT and GetObjectLabelEXT.

GL_SHADER_OBJECT_EXTback to summary
public static final int GL_SHADER_OBJECT_EXT

Accepted by the type parameter of LabelObjectEXT and GetObjectLabelEXT.

GL_VERTEX_ARRAY_OBJECT_EXTback to summary
public static final int GL_VERTEX_ARRAY_OBJECT_EXT

Accepted by the type parameter of LabelObjectEXT and GetObjectLabelEXT.

Constructor Detail

EXTDebugLabelback to summary
protected EXTDebugLabel()

Method Detail

glGetObjectLabelEXTback to summary
public static void glGetObjectLabelEXT(int type, int object, IntBuffer length, ByteBuffer label)
glGetObjectLabelEXTback to summary
public static String glGetObjectLabelEXT(int type, int object, int bufSize)
Annotations
@NativeType:void
glGetObjectLabelEXTback to summary
public static void glGetObjectLabelEXT(int type, int object, int[] length, ByteBuffer label)

Array version of: GetObjectLabelEXT

glLabelObjectEXTback to summary
public static void glLabelObjectEXT(int type, int object, ByteBuffer label)
glLabelObjectEXTback to summary
public static void glLabelObjectEXT(int type, int object, CharSequence label)
nglGetObjectLabelEXTback to summary
public static native void nglGetObjectLabelEXT(int type, int object, int bufSize, long length, long label)
nglLabelObjectEXTback to summary
public static native void nglLabelObjectEXT(int type, int object, int length, long label)