Package com.badlogic.gdx.graphics

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


  public void disableVertexAttribute (String name) {
    GL20 gl = Gdx.gl20;
    checkManaged();
    int location = fetchAttributeLocation(name);
    if (location == -1) return;
    gl.glDisableVertexAttribArray(location);
  }

  public void disableVertexAttribute (int location) {
    GL20 gl = Gdx.gl20;
    checkManaged();
View Full Code Here


  }

  public void disableVertexAttribute (int location) {
    GL20 gl = Gdx.gl20;
    checkManaged();
    gl.glDisableVertexAttribArray(location);
  }

  /** Enables the vertex attribute with the given name
   *
   * @param name the vertex attribute name */
 
View Full Code Here

  public void disableVertexAttribute (String name) {
    GL20 gl = Gdx.graphics.getGL20();
    checkManaged();
    int location = fetchAttributeLocation(name);
    if (location == -1) return;
    gl.glDisableVertexAttribArray(location);
  }

  /** Enables the vertex attribute with the given name
   *
   * @param name the vertex attribute name */
 
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.