Example usage for org.lwjgl.opengl GL20 glVertexAttrib4f

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

Introduction

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

Prototype

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

Source Link

Document

Specifies the value of a generic vertex attribute.

Usage

From source file:processing.lwjgl.PGL.java

License:Open Source License

public void vertexAttrib4f(int loc, float value0, float value1, float value2, float value3) {
    GL20.glVertexAttrib4f(loc, value0, value1, value2, value3);
}

From source file:processing.lwjgl.PLWJGL.java

License:Open Source License

public void vertexAttrib4f(int index, float value0, float value1, float value2, float value3) {
    GL20.glVertexAttrib4f(index, value0, value1, value2, value3);
}

From source file:processing.lwjgl.PLWJGL.java

License:Open Source License

public void vertexAttri4fv(int index, FloatBuffer values) {
    GL20.glVertexAttrib4f(index, values.get(), values.get(), values.get(), values.get());
}

From source file:processing.opengl.PLWJGL.java

License:Open Source License

@Override
public void vertexAttrib4f(int index, float value0, float value1, float value2, float value3) {
    GL20.glVertexAttrib4f(index, value0, value1, value2, value3);
}

From source file:processing.opengl.PLWJGL.java

License:Open Source License

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

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

License:Open Source License

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