Example usage for org.lwjgl.opengl GL20 glUniform2fv

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

Introduction

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

Prototype

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

Source Link

Document

Array version of: #glUniform2fv Uniform2fv

Usage

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

License:Apache License

public void glUniform2fv(int location, int count, FloatBuffer v) {
    GL20.glUniform2fv(location, v);
}

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

License:Apache License

public void glUniform2fv(int location, int count, float[] v, int offset) {
    GL20.glUniform2fv(location, toFloatBuffer(v, offset, count << 1));
}