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:com.badlogic.gdx.backends.jglfw.JglfwGL20.java

License:Apache License

public void glVertexAttrib2f(int indx, float x, float y) {
    GL20.glVertexAttrib2f(indx, x, y);
}

From source file:com.badlogic.gdx.backends.lwjgl.LwjglGL20.java

License:Apache License

public void glVertexAttrib2fv(int indx, FloatBuffer values) {
    GL20.glVertexAttrib2f(indx, values.get(), values.get());
}

From source file:io.root.gfx.glutils.GL.java

License:Apache License

public static void glVertexAttrib2f(int indx, float x, float y) {
    GL20.glVertexAttrib2f(indx, x, y);
}

From source file:io.root.gfx.glutils.GL.java

License:Apache License

public static void glVertexAttrib2fv(int indx, FloatBuffer values) {
    GL20.glVertexAttrib2f(indx, values.get(), values.get());
}

From source file:net.smert.frameworkgl.opengl.OpenGL2.java

License:Apache License

public void vertexAttrib(int index, float x, float y) {
    GL20.glVertexAttrib2f(index, x, y);
}

From source file:org.oscim.gdx.LwjglGL20.java

License:Apache License

public void vertexAttrib2f(int indx, float x, float y) {
    GL20.glVertexAttrib2f(indx, x, y);
}

From source file:org.oscim.gdx.LwjglGL20.java

License:Apache License

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

From source file:playn.java.JavaGL20.java

License:Apache License

@Override
public void glVertexAttrib2f(int indx, float x, float y) {
    GL20.glVertexAttrib2f(indx, x, y);
}

From source file:playn.java.JavaGL20.java

License:Apache License

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

From source file:processing.lwjgl.PGL.java

License:Open Source License

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