Example usage for org.lwjgl.opengl GL20 glUniform3fv

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

Introduction

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

Prototype

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

Source Link

Document

Array version of: #glUniform3fv Uniform3fv

Usage

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

License:Apache License

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

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

License:Apache License

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