Example usage for org.lwjgl.opengl ARBShaderObjects glUniform3iARB

List of usage examples for org.lwjgl.opengl ARBShaderObjects glUniform3iARB

Introduction

In this page you can find the example usage for org.lwjgl.opengl ARBShaderObjects glUniform3iARB.

Prototype

public static native void glUniform3iARB(@NativeType("GLint") int location, @NativeType("GLint") int v0,
        @NativeType("GLint") int v1, @NativeType("GLint") int v2);

Source Link

Document

ivec3 version of #glUniform3fARB Uniform3fARB .

Usage

From source file:com.ardor3d.scene.state.lwjgl.shader.LwjglShaderUtil.java

License:Open Source License

private static void updateShaderUniform(final ShaderVariableInt3 shaderUniform) {
    ARBShaderObjects.glUniform3iARB(shaderUniform.variableID, shaderUniform.value1, shaderUniform.value2,
            shaderUniform.value3);//from   ww  w  .  ja v a  2  s .c om
}