Example usage for org.lwjgl.opengl GL20 glUniform1fv

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

Introduction

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

Prototype

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

Source Link

Document

Array version of: #glUniform1fv Uniform1fv

Usage

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

License:Apache License

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

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

License:Apache License

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

From source file:net.smert.frameworkgl.opengl.helpers.ShaderUniformHelper.java

License:Apache License

public void setUniform(int uniformID, FloatBuffer values) {
    GL20.glUniform1fv(uniformID, values);
}