Example usage for org.lwjgl.opengl KHRDebug glGetDebugMessageLog

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

Introduction

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

Prototype

@NativeType("GLuint")
public static int glGetDebugMessageLog(@NativeType("GLuint") int count,
        @Nullable @NativeType("GLenum *") int[] sources, @Nullable @NativeType("GLenum *") int[] types,
        @Nullable @NativeType("GLuint *") int[] ids, @Nullable @NativeType("GLenum *") int[] severities,
        @Nullable @NativeType("GLsizei *") int[] lengths,
        @Nullable @NativeType("GLchar *") ByteBuffer messageLog) 

Source Link

Document

Array version of: #glGetDebugMessageLog GetDebugMessageLog

Usage

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

License:Open Source License

public static int glGetDebugMessageLog(int a, IntBuffer b, IntBuffer c, IntBuffer d, IntBuffer e, IntBuffer f,
        ByteBuffer g) {/*from   w w  w  .j a va  2s  .c  om*/
    return (GLContext.getCapabilities().GL_KHR_debug) ? KHRDebug.glGetDebugMessageLog(a, b, c, d, e, f, g) : -1;
}