Examples of glUniform4f()


Examples of com.badlogic.gdx.graphics.GL20.glUniform4f()

   * @param value4 the fourth value */
  public void setUniformf (String name, float value1, float value2, float value3, float value4) {
    GL20 gl = Gdx.gl20;
    checkManaged();
    int location = fetchUniformLocation(name);
    gl.glUniform4f(location, value1, value2, value3, value4);
  }

  public void setUniformf (int location, float value1, float value2, float value3, float value4) {
    GL20 gl = Gdx.gl20;
    checkManaged();
View Full Code Here

Examples of com.badlogic.gdx.graphics.GL20.glUniform4f()

  }

  public void setUniformf (int location, float value1, float value2, float value3, float value4) {
    GL20 gl = Gdx.gl20;
    checkManaged();
    gl.glUniform4f(location, value1, value2, value3, value4);
  }

  public void setUniform1fv (String name, float[] values, int offset, int length) {
    GL20 gl = Gdx.gl20;
    checkManaged();
View Full Code Here

Examples of com.badlogic.gdx.graphics.GL20.glUniform4f()

   * @param value4 the fourth value */
  public void setUniformf (String name, float value1, float value2, float value3, float value4) {
    GL20 gl = Gdx.graphics.getGL20();
    checkManaged();
    int location = fetchUniformLocation(name);
    gl.glUniform4f(location, value1, value2, value3, value4);
  }

  public void setUniform1fv (String name, float[] values, int offset, int length) {
    GL20 gl = Gdx.graphics.getGL20();
    checkManaged();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.