Examples of glUniform1f()


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

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

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

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

  }

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

  /** 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.glUniform1f()

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

  /** 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.