Package com.badlogic.gdx.graphics

Examples of com.badlogic.gdx.graphics.GL20


   * @param name the name of the uniform
   * @param value1 the first value
   * @param value2 the second value
   * @param value3 the third value */
  public void setUniformi (String name, int value1, int value2, int value3) {
    GL20 gl = Gdx.gl20;
    checkManaged();
    int location = fetchUniformLocation(name);
    gl.glUniform3i(location, value1, value2, value3);
  }
View Full Code Here


    int location = fetchUniformLocation(name);
    gl.glUniform3i(location, value1, value2, value3);
  }

  public void setUniformi (int location, int value1, int value2, int value3) {
    GL20 gl = Gdx.gl20;
    checkManaged();
    gl.glUniform3i(location, value1, value2, value3);
  }
View Full Code Here

   * @param value1 the first value
   * @param value2 the second value
   * @param value3 the third value
   * @param value4 the fourth value */
  public void setUniformi (String name, int value1, int value2, int value3, int value4) {
    GL20 gl = Gdx.gl20;
    checkManaged();
    int location = fetchUniformLocation(name);
    gl.glUniform4i(location, value1, value2, value3, value4);
  }
View Full Code Here

    int location = fetchUniformLocation(name);
    gl.glUniform4i(location, value1, value2, value3, value4);
  }

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

   * {@link #begin()}/{@link #end()} block.
   *
   * @param name the name of the uniform
   * @param value the value */
  public void setUniformf (String name, float value) {
    GL20 gl = Gdx.gl20;
    checkManaged();
    int location = fetchUniformLocation(name);
    gl.glUniform1f(location, value);
  }
View Full Code Here

    int location = fetchUniformLocation(name);
    gl.glUniform1f(location, value);
  }

  public void setUniformf (int location, float value) {
    GL20 gl = Gdx.gl20;
    checkManaged();
    gl.glUniform1f(location, value);
  }
View Full Code Here

   *
   * @param name the name of the uniform
   * @param value1 the first value
   * @param value2 the second value */
  public void setUniformf (String name, float value1, float value2) {
    GL20 gl = Gdx.gl20;
    checkManaged();
    int location = fetchUniformLocation(name);
    gl.glUniform2f(location, value1, value2);
  }
View Full Code Here

    int location = fetchUniformLocation(name);
    gl.glUniform2f(location, value1, value2);
  }

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

   * @param name the name of the uniform
   * @param value1 the first value
   * @param value2 the second value
   * @param value3 the third value */
  public void setUniformf (String name, float value1, float value2, float value3) {
    GL20 gl = Gdx.gl20;
    checkManaged();
    int location = fetchUniformLocation(name);
    gl.glUniform3f(location, value1, value2, value3);
  }
View Full Code Here

    int location = fetchUniformLocation(name);
    gl.glUniform3f(location, value1, value2, value3);
  }

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

TOP

Related Classes of com.badlogic.gdx.graphics.GL20

Copyright © 2018 www.massapicom. 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.