Example usage for org.lwjgl.opengl GL20 glUniform2iv

List of usage examples for org.lwjgl.opengl GL20 glUniform2iv

Introduction

In this page you can find the example usage for org.lwjgl.opengl GL20 glUniform2iv.

Prototype

public static void glUniform2iv(@NativeType("GLint") int location, @NativeType("GLint const *") int[] value) 

Source Link

Document

Array version of: #glUniform2iv Uniform2iv

Usage

From source file:com.badlogic.gdx.backends.jglfw.JglfwGL20.java

License:Apache License

public void glUniform2iv(int location, int count, IntBuffer v) {
    GL20.glUniform2iv(location, v);
}

From source file:com.badlogic.gdx.backends.lwjgl3.Lwjgl3GL20.java

License:Apache License

public void glUniform2iv(int location, int count, int[] v, int offset) {
    GL20.glUniform2iv(location, toIntBuffer(v, offset, count << 1));
}