org.lwjgl.opengl.EXTMultiDrawArrays Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl Show documentation
Show all versions of lwjgl Show documentation
Lighweight Java Game Library
/* MACHINE GENERATED FILE, DO NOT EDIT */
package org.lwjgl.opengl;
import org.lwjgl.*;
import java.nio.*;
public final class EXTMultiDrawArrays {
private EXTMultiDrawArrays() {}
public static void glMultiDrawArraysEXT(int mode, IntBuffer piFirst, IntBuffer piCount) {
ContextCapabilities caps = GLContext.getCapabilities();
long function_pointer = caps.glMultiDrawArraysEXT;
BufferChecks.checkFunctionAddress(function_pointer);
BufferChecks.checkDirect(piFirst);
BufferChecks.checkBuffer(piCount, piFirst.remaining());
nglMultiDrawArraysEXT(mode, MemoryUtil.getAddress(piFirst), MemoryUtil.getAddress(piCount), piFirst.remaining(), function_pointer);
}
static native void nglMultiDrawArraysEXT(int mode, long piFirst, long piCount, int piFirst_primcount, long function_pointer);
}