Package com.badlogic.gdx.graphics.g3d.utils

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


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


    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

Related Classes of com.badlogic.gdx.graphics.g3d.utils.RenderContext

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.