@Override public void beginBatch(final BlendMode blendMode, final int textureId) { batches.add(batchPool.allocate()); currentBatch = batches.get(batches.size() - 1); currentBatch.begin(blendMode, getTextureAtlas(textureId)); }
@Nonnull private Batch createNewBatch() { return batchPool.allocate(); }
@Nonnull private CoreBatch createNewBatch() { return batchPool.allocate(); }