Example usage for org.lwjgl.opengl GL42 glDrawElementsInstancedBaseInstance

List of usage examples for org.lwjgl.opengl GL42 glDrawElementsInstancedBaseInstance

Introduction

In this page you can find the example usage for org.lwjgl.opengl GL42 glDrawElementsInstancedBaseInstance.

Prototype

public static void glDrawElementsInstancedBaseInstance(@NativeType("GLenum") int mode,
        @NativeType("void const *") IntBuffer indices, @NativeType("GLsizei") int primcount,
        @NativeType("GLuint") int baseinstance) 

Source Link

Document

Draws multiple instances of a set of elements with an offset applied to instanced attributes

Usage

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

License:Open Source License

public static void glDrawElementsInstancedBaseInstance(int a, ShortBuffer b, int c, int d) {
    GL42.glDrawElementsInstancedBaseInstance(a, b, c, d);
}

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

License:Open Source License

public static void glDrawElementsInstancedBaseInstance(int a, ByteBuffer b, int c, int d) {
    GL42.glDrawElementsInstancedBaseInstance(a, b, c, d);
}

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

License:Open Source License

public static void glDrawElementsInstancedBaseInstance(int a, IntBuffer b, int c, int d) {
    GL42.glDrawElementsInstancedBaseInstance(a, b, c, d);
}