Example usage for org.lwjgl.opengl GL11 glArrayElement

List of usage examples for org.lwjgl.opengl GL11 glArrayElement

Introduction

In this page you can find the example usage for org.lwjgl.opengl GL11 glArrayElement.

Prototype

public static native void glArrayElement(@NativeType("GLint") int i);

Source Link

Document

Transfers the ith element of every enabled, non-instanced array, and the first element of every enabled, instanced array to the GL.

Usage

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

License:Open Source License

public static void glArrayElement(int a) {
    GL11.glArrayElement(a);
}