Examples of glUniform4i()


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

   * @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);
  }

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

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

  }

  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);
  }

  /** Sets the uniform with the given name. Throws an IllegalArgumentException in case it is not called in between a
   * {@link #begin()}/{@link #end()} block.
   *
 
View Full Code Here

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

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

  /** Sets the uniform with the given name. Throws an IllegalArgumentException in case it is not called in between a
   * {@link #begin()}/{@link #end()} block.
   *
 
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.