1 // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) 2 3 public static native int glGetDebugMessageLog( 4 int count, 5 int bufSize, 6 int[] sources, 7 int sourcesOffset, 8 int[] types, 9 int typesOffset, 10 int[] ids, 11 int idsOffset, 12 int[] severities, 13 int severitiesOffset, 14 int[] lengths, 15 int lengthsOffset, 16 byte[] messageLog, 17 int messageLogOffset); 18 19 // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) 20 21 public static native int glGetDebugMessageLog( 22 int count, 23 java.nio.IntBuffer sources, 24 java.nio.IntBuffer types, 25 java.nio.IntBuffer ids, 26 java.nio.IntBuffer severities, 27 java.nio.IntBuffer lengths, 28 java.nio.ByteBuffer messageLog); 29 30 // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) 31 32 public static native String[] glGetDebugMessageLog( 33 int count, 34 int[] sources, 35 int sourcesOffset, 36 int[] types, 37 int typesOffset, 38 int[] ids, 39 int idsOffset, 40 int[] severities, 41 int severitiesOffset); 42 43 // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) 44 45 public static native String[] glGetDebugMessageLog( 46 int count, 47 java.nio.IntBuffer sources, 48 java.nio.IntBuffer types, 49 java.nio.IntBuffer ids, 50 java.nio.IntBuffer severities); 51 52