Example usage for org.lwjgl.opengl GL42 glDrawElementsInstancedBaseVertexBaseInstance

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

Introduction

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

Prototype

public static void glDrawElementsInstancedBaseVertexBaseInstance(@NativeType("GLenum") int mode,
        @NativeType("GLsizei") int count, @NativeType("GLenum") int type,
        @NativeType("void const *") long indices, @NativeType("GLsizei") int primcount,
        @NativeType("GLint") int basevertex, @NativeType("GLuint") int baseinstance) 

Source Link

Document

Renders multiple instances of a set of primitives from array data with a per-element offset.

Usage

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

License:Open Source License

public static void glDrawElementsInstancedBaseVertexBaseInstance(int a, int b, int c, long d, int e, int f,
        int g) {//from   w  w w  . j  a v  a 2s  .  c  o  m
    GL42.glDrawElementsInstancedBaseVertexBaseInstance(a, b, c, d, e, f, g);
}