Home | History | Annotate | Download | only in renderers

Lines Matching refs:Batch

19 import static com.badlogic.gdx.graphics.g2d.Batch.C1;
20 import static com.badlogic.gdx.graphics.g2d.Batch.C2;
21 import static com.badlogic.gdx.graphics.g2d.Batch.C3;
22 import static com.badlogic.gdx.graphics.g2d.Batch.C4;
23 import static com.badlogic.gdx.graphics.g2d.Batch.U1;
24 import static com.badlogic.gdx.graphics.g2d.Batch.U2;
25 import static com.badlogic.gdx.graphics.g2d.Batch.U3;
26 import static com.badlogic.gdx.graphics.g2d.Batch.U4;
27 import static com.badlogic.gdx.graphics.g2d.Batch.V1;
28 import static com.badlogic.gdx.graphics.g2d.Batch.V2;
29 import static com.badlogic.gdx.graphics.g2d.Batch.V3;
30 import static com.badlogic.gdx.graphics.g2d.Batch.V4;
31 import static com.badlogic.gdx.graphics.g2d.Batch.X1;
32 import static com.badlogic.gdx.graphics.g2d.Batch.X2;
33 import static com.badlogic.gdx.graphics.g2d.Batch.X3;
34 import static com.badlogic.gdx.graphics.g2d.Batch.X4;
35 import static com.badlogic.gdx.graphics.g2d.Batch.Y1;
36 import static com.badlogic.gdx.graphics.g2d.Batch.Y2;
37 import static com.badlogic.gdx.graphics.g2d.Batch.Y3;
38 import static com.badlogic.gdx.graphics.g2d.Batch.Y4;
43 import com.badlogic.gdx.graphics.g2d.Batch;
65 protected Batch batch;
86 public Batch getBatch () {
87 return batch;
102 this.batch = new SpriteBatch();
106 public BatchTiledMapRenderer (TiledMap map, Batch batch) {
107 this(map, 1.0f, batch);
110 public BatchTiledMapRenderer (TiledMap map, float unitScale, Batch batch) {
114 this.batch = batch;
120 batch.setProjectionMatrix(camera.combined);
128 batch.setProjectionMatrix(projection);
181 final Color batchColor = batch.getColor();
234 batch.draw(region.getTexture(), vertices, 0, NUM_VERTICES);
241 batch.begin();
246 batch.end();
252 batch.dispose();