Class Batch
java.lang.Object
org.collebol.engine.gui.graphics.renderer.Batch
The Batch class represents a collection of items to be rendered with a specific texture;
Its allows adding items with specific positions, scales rotation and origin point.
This class is useful for batching multiple renderable items together to optimize rendering performance.
Usage:
Batch batch = new Batch(textureid);
batch.addItem(position, zoom, rotation, origin);
- Since:
- 1.0-dev
- Author:
- ColleBol - contact@collebol.org
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Batch
public Batch(int textureid)
-
-
Method Details
-
getTexture
public int getTexture() -
getItems