/* */ public static void glShaderSourceARB(int shader, CharSequence string) { /* 112 */ ContextCapabilities caps = GLContext.getCapabilities(); /* 113 */ long function_pointer = caps.glShaderSourceARB; /* 114 */ BufferChecks.checkFunctionAddress(function_pointer); /* 115 */ nglShaderSourceARB( shader, 1, APIUtil.getBuffer(caps, string), string.length(), function_pointer); /* */ }
/** Overloads glDebugMessageInsertARB. */ public static void glDebugMessageInsertARB( int source, int type, int id, int severity, CharSequence buf) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glDebugMessageInsertARB; BufferChecks.checkFunctionAddress(function_pointer); nglDebugMessageInsertARB( source, type, id, severity, buf.length(), APIUtil.getBuffer(buf), 0, function_pointer); }
/* */ public static void glShaderSourceARB(int shader, CharSequence[] strings) /* */ { /* 120 */ ContextCapabilities caps = GLContext.getCapabilities(); /* 121 */ long function_pointer = caps.glShaderSourceARB; /* 122 */ BufferChecks.checkFunctionAddress(function_pointer); /* 123 */ BufferChecks.checkArray(strings); /* 124 */ nglShaderSourceARB3( shader, strings.length, APIUtil.getBuffer(caps, strings), APIUtil.getLengths(caps, strings), function_pointer); /* */ }