Example usage for org.lwjgl.opengl GL20 glVertexAttrib2f

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

Introduction

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

Prototype

public static void glVertexAttrib2f(@NativeType("GLuint") int index, @NativeType("GLfloat") float v0,
        @NativeType("GLfloat") float v1) 

Source Link

Document

Specifies the value of a generic vertex attribute.

Usage

From source file:processing.lwjgl.PLWJGL.java

License:Open Source License

public void vertexAttrib2f(int index, float value0, float value1) {
    GL20.glVertexAttrib2f(index, value0, value1);
}

From source file:processing.lwjgl.PLWJGL.java

License:Open Source License

public void vertexAttrib2fv(int index, FloatBuffer values) {
    GL20.glVertexAttrib2f(index, values.get(), values.get());
}

From source file:processing.opengl.PLWJGL.java

License:Open Source License

@Override
public void vertexAttrib2f(int index, float value0, float value1) {
    GL20.glVertexAttrib2f(index, value0, value1);
}

From source file:processing.opengl.PLWJGL.java

License:Open Source License

@Override
public void vertexAttrib2fv(int index, FloatBuffer values) {
    GL20.glVertexAttrib2f(index, values.get(), values.get());
}

From source file:tk.ivybits.engine.gl.GL.java

License:Open Source License

public static void glVertexAttrib2f(int a, float b, float c) {
    GL20.glVertexAttrib2f(a, b, c);
}