Example usage for org.lwjgl.opengl KHRDebug glDebugMessageInsert

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

Introduction

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

Prototype

public static void glDebugMessageInsert(@NativeType("GLenum") int source, @NativeType("GLenum") int type,
        @NativeType("GLuint") int id, @NativeType("GLenum") int severity,
        @NativeType("GLchar const *") CharSequence message) 

Source Link

Document

This function can be called by applications and third-party libraries to generate their own messages, such as ones containing timestamp information or signals about specific render system events.

Usage

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

License:Open Source License

public static void glDebugMessageInsert(int a, int b, int c, int d, ByteBuffer e) {
    if (GLContext.getCapabilities().GL_KHR_debug)
        KHRDebug.glDebugMessageInsert(a, b, c, d, e);
}

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

License:Open Source License

public static void glDebugMessageInsert(int a, int b, int c, int d, CharSequence e) {
    if (GLContext.getCapabilities().GL_KHR_debug)
        KHRDebug.glDebugMessageInsert(a, b, c, d, e);
}