/** Alternative version of: {@link #glGetPerfMonitorCountersAMD GetPerfMonitorCountersAMD} */ public static void glGetPerfMonitorCountersAMD( int group, IntBuffer numCounters, IntBuffer maxActiveCounters, IntBuffer counters) { if (LWJGLUtil.CHECKS) { checkBuffer(numCounters, 1); checkBuffer(maxActiveCounters, 1); } nglGetPerfMonitorCountersAMD( group, memAddress(numCounters), memAddress(maxActiveCounters), counters.remaining(), memAddress(counters)); }
/** IntBuffer version of: {@link #glBufferData BufferData} */ public static void glBufferData(int target, IntBuffer data, int usage) { nglBufferData(target, data.remaining() << 2, memAddress(data), usage); }
/** Alternative version of: {@link #glGenBuffers GenBuffers} */ public static void glGenBuffers(IntBuffer buffers) { nglGenBuffers(buffers.remaining(), memAddress(buffers)); }
/** GL_UNSIGNED_INT version of: {@link #glDrawRangeElements DrawRangeElements} */ public static void glDrawRangeElements(int mode, int start, int end, IntBuffer indices) { if (LWJGLUtil.CHECKS) GLChecks.ensureBufferObject(GL15.GL_ELEMENT_ARRAY_BUFFER_BINDING, false); nglDrawRangeElements( mode, start, end, indices.remaining(), GL11.GL_UNSIGNED_INT, memAddress(indices)); }
/** Alternative version of: {@link #eglSwapBuffersWithDamageEXT SwapBuffersWithDamageEXT} */ public static boolean eglSwapBuffersWithDamageEXT(long dpy, long surface, IntBuffer rects) { return neglSwapBuffersWithDamageEXT( dpy, surface, memAddressSafe(rects), rects == null ? 0 : rects.remaining()); }
public static void glUniform4uivEXT(int location, IntBuffer value) { nglUniform4uivEXT(location, value.remaining() >> 2, memAddress(value)); }
/** Alternative version of: {@link #glScissorArrayv ScissorArrayv} */ public static void glScissorArrayv(int first, IntBuffer v) { nglScissorArrayv(first, v.remaining() >> 2, memAddress(v)); }
/** Alternative version of: {@link #wglGetGPUIDsAMD GetGPUIDsAMD} */ public static int wglGetGPUIDsAMD(IntBuffer ids) { return nwglGetGPUIDsAMD(ids == null ? 0 : ids.remaining(), memAddressSafe(ids)); }
/** Alternative version of: {@link #glGetActiveUniformsiv GetActiveUniformsiv} */ public static void glGetActiveUniformsiv( int program, IntBuffer uniformIndices, int pname, IntBuffer params) { if (LWJGLUtil.CHECKS) checkBuffer(params, uniformIndices.remaining()); nglGetActiveUniformsiv( program, uniformIndices.remaining(), memAddress(uniformIndices), pname, memAddress(params)); }
/** * Alternative version of: {@link #glUniformSubroutinesui(int, int, java.nio.ByteBuffer) * UniformSubroutinesui} */ public static void glUniformSubroutinesu(int shadertype, IntBuffer indices) { nglUniformSubroutinesuiv(shadertype, indices.remaining(), memAddress(indices)); }
/** * Alternative version of: {@link #glGetPerfMonitorCounterDataAMD GetPerfMonitorCounterDataAMD} */ public static void glGetPerfMonitorCounterDataAMD( int monitor, int pname, IntBuffer data, IntBuffer bytesWritten) { if (LWJGLUtil.CHECKS) if (bytesWritten != null) checkBuffer(bytesWritten, 1); nglGetPerfMonitorCounterDataAMD( monitor, pname, data.remaining(), memAddress(data), memAddressSafe(bytesWritten)); }
/** * Alternative version of: {@link #glSelectPerfMonitorCountersAMD SelectPerfMonitorCountersAMD} */ public static void glSelectPerfMonitorCountersAMD( int monitor, boolean enable, int group, IntBuffer counterList) { nglSelectPerfMonitorCountersAMD( monitor, enable, group, counterList.remaining(), memAddress(counterList)); }
/** Alternative version of: {@link #glDeletePerfMonitorsAMD DeletePerfMonitorsAMD} */ public static void glDeletePerfMonitorsAMD(IntBuffer monitors) { nglDeletePerfMonitorsAMD(monitors.remaining(), memAddress(monitors)); }
/** IntBuffer version of: {@link #glGetBufferSubData GetBufferSubData} */ public static void glGetBufferSubData(int target, long offset, IntBuffer data) { nglGetBufferSubData(target, offset, data.remaining() << 2, memAddress(data)); }
/** GL_UNSIGNED_INT version of: {@link #wglGetGPUInfoAMD GetGPUInfoAMD} */ public static int wglGetGPUInfoAMD(int id, int property, IntBuffer data) { return nwglGetGPUInfoAMD( id, property, GL11.GL_UNSIGNED_INT, data.remaining(), memAddress(data)); }
/** Alternative version of: {@link #glDeleteQueries DeleteQueries} */ public static void glDeleteQueries(IntBuffer ids) { nglDeleteQueries(ids.remaining(), memAddress(ids)); }
/** Alternative version of: {@link #glGetPerfMonitorGroupsAMD GetPerfMonitorGroupsAMD} */ public static void glGetPerfMonitorGroupsAMD(IntBuffer numGroups, IntBuffer groups) { if (LWJGLUtil.CHECKS) if (numGroups != null) checkBuffer(numGroups, 1); nglGetPerfMonitorGroupsAMD( memAddressSafe(numGroups), groups == null ? 0 : groups.remaining(), memAddressSafe(groups)); }