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

License:Apache License

public void glVertexAttrib4f(int indx, float x, float y, float z, float w) {
    GL20.glVertexAttrib4f(indx, x, y, z, w);
}

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

License:Apache License

public void glVertexAttrib4fv(int indx, FloatBuffer values) {
    GL20.glVertexAttrib4f(indx, values.get(), values.get(), values.get(), values.get());
}

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

License:Apache License

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

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

License:Apache License

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

From source file:net.neilcsmith.praxis.video.opengl.internal.ShaderProgram.java

License:Apache License

/** Sets the given attribute
 * //w w  w  . jav  a2  s  . c o  m
 * @param name the name of the attribute
 * @param value1 the first value
 * @param value2 the second value
 * @param value3 the third value
 * @param value4 the fourth value */
public void setAttributef(String name, float value1, float value2, float value3, float value4) {
    int location = fetchAttributeLocation(name);
    GL20.glVertexAttrib4f(location, value1, value2, value3, value4);
}

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

License:Apache License

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

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

License:Apache License

public void vertexAttrib4f(int indx, float x, float y, float z, float w) {
    GL20.glVertexAttrib4f(indx, x, y, z, w);
}

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

License:Apache License

public void vertexAttrib4fv(int indx, FloatBuffer values) {
    GL20.glVertexAttrib4f(indx, values.get(), values.get(), values.get(), values.get());
}

From source file:playn.java.JavaGL20.java

License:Apache License

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

From source file:playn.java.JavaGL20.java

License:Apache License

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