Example usage for org.lwjgl.opengl KHRDebug glObjectPtrLabel

List of usage examples for org.lwjgl.opengl KHRDebug glObjectPtrLabel

Introduction

In this page you can find the example usage for org.lwjgl.opengl KHRDebug glObjectPtrLabel.

Prototype

public static void glObjectPtrLabel(@NativeType("void *") long ptr,
        @NativeType("GLchar const *") CharSequence label) 

Source Link

Document

Labels a sync object identified by a pointer.

Usage

From source file:tk.ivybits.engine.gl.GL.java

License:Open Source License

public static void glObjectPtrLabel(PointerWrapper a, CharSequence b) {
    if (GLContext.getCapabilities().GL_KHR_debug)
        KHRDebug.glObjectPtrLabel(a, b);
}

From source file:tk.ivybits.engine.gl.GL.java

License:Open Source License

public static void glObjectPtrLabel(PointerWrapper a, ByteBuffer b) {
    if (GLContext.getCapabilities().GL_KHR_debug)
        KHRDebug.glObjectPtrLabel(a, b);
}