Examples of DefaultTextureBinder


Examples of com.badlogic.gdx.graphics.g3d.utils.DefaultTextureBinder

  }
 
  /** Construct a ModelBatch, using this constructor makes you responsible for calling context.begin() and contact.end() yourself.
   * @param shaderProvider The {@link ShaderProvider} to use. */
  public ModelBatch(ShaderProvider shaderProvider) {
    this(new RenderContext(new DefaultTextureBinder(DefaultTextureBinder.WEIGHTED, 1)),
        true,
        shaderProvider,
        new DefaultRenderableSorter());
  }
View Full Code Here

Examples of com.badlogic.gdx.graphics.g3d.utils.DefaultTextureBinder

    this(new DefaultShaderProvider(vertexShader, fragmentShader));
  }
 
  /** Construct a ModelBatch with the default implementation */
  public ModelBatch() {
    this(new RenderContext(new DefaultTextureBinder(DefaultTextureBinder.ROUNDROBIN, 1)),
        true,
        Gdx.graphics.isGL20Available() ? new DefaultShaderProvider() : new GLES10ShaderProvider(),
        new DefaultRenderableSorter());
  }
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.