Example usage for org.lwjgl.opengl KHRDebug glGetObjectLabel

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

Introduction

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

Prototype

@NativeType("void")
public static String glGetObjectLabel(@NativeType("GLenum") int identifier, @NativeType("GLuint") int name,
        @NativeType("GLsizei") int bufSize) 

Source Link

Document

Retrieves the label of a named object identified within a namespace.

Usage

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

License:Open Source License

public static String glGetObjectLabel(int a, int b, int c) {
    return (GLContext.getCapabilities().GL_KHR_debug) ? KHRDebug.glGetObjectLabel(a, b, c) : "";
}