Package arc.graphics.g2d
Class QueueBatch
java.lang.Object
arc.graphics.g2d.Batch
arc.graphics.g2d.SpriteBatch
arc.graphics.g2d.SortedSpriteBatch
arc.graphics.g2d.QueueBatch
- All Implemented Interfaces:
Disposable
Stores sprites and draws them with a delay.
-
Field Summary
Fields inherited from class arc.graphics.g2d.SortedSpriteBatch
flushing, numRequests, requests, requestZ, sort
Fields inherited from class arc.graphics.g2d.SpriteBatch
SPRITE_SIZE, VERTEX_SIZE, vertices
Fields inherited from class arc.graphics.g2d.Batch
apply, blending, color, colorPacked, combinedMatrix, customShader, idx, lastTexture, mesh, mixColor, mixColorPacked, ownsShader, projectionMatrix, shader, sortAscending, transformMatrix, z
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
flush()
void
setBlending
(Blending blending) protected void
setSort
(boolean sort) Enables or disables Z-sorting.protected void
Methods inherited from class arc.graphics.g2d.SortedSpriteBatch
draw, draw, draw, expandRequests, flushRequests, setShader, sortRequestsStandard, sortRequestsThreaded
Methods inherited from class arc.graphics.g2d.SpriteBatch
createShader
Methods inherited from class arc.graphics.g2d.Batch
dispose, getBlending, getColor, getMixColor, getPackedColor, getPackedMixColor, getProjection, getShader, getTransform, setColor, setColor, setMixColor, setMixColor, setPackedColor, setPackedMixColor, setProjection, setShader, setSortAscending, setTransform, setupMatrices, switchTexture, z
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface arc.util.Disposable
isDisposed
-
Constructor Details
-
QueueBatch
public QueueBatch()
-
-
Method Details
-
setBlending
- Overrides:
setBlending
in classSortedSpriteBatch
-
flush
public void flush()- Overrides:
flush
in classSortedSpriteBatch
-
setSort
protected void setSort(boolean sort) Description copied from class:Batch
Enables or disables Z-sorting. Flushes the batch. Only does something on supported batches.- Overrides:
setSort
in classSortedSpriteBatch
-
sortRequests
protected void sortRequests()- Overrides:
sortRequests
in classSortedSpriteBatch
-