Example usage for org.lwjgl.opengl ARBShaderObjects glUniform4iARB

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

Introduction

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

Prototype

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

Source Link

Document

ivec4 version of #glUniform4fARB Uniform4fARB .

Usage

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

License:Open Source License

private static void updateShaderUniform(final ShaderVariableInt4 shaderUniform) {
    ARBShaderObjects.glUniform4iARB(shaderUniform.variableID, shaderUniform.value1, shaderUniform.value2,
            shaderUniform.value3, shaderUniform.value4);
}