{{newin|[[11.0]]|110|type=function}}
Immediately renders any pending automatically batched draws.

LÖVE will call this function internally as needed when most state is changed, so it is not necessary to manually call it.

The current batch will be automatically flushed by [[love.graphics]] state changes (except for the transform stack and the current [[love.graphics.setColor|color]]), as well as [[Shader:send]] and methods on [[Texture]]s which change their state. Using a different Image in consecutive [[love.graphics.draw]] calls will also flush the current batch.

[[SpriteBatch]]es, [[ParticleSystem]]s, [[Mesh]]es, and [[Text]] objects do their own batching and do not affect automatic batching of other draws, aside from flushing the current batch when they're drawn.
== Function ==
=== Synopsis ===
<source lang="lua">
love.graphics.flushBatch( )
</source>
=== Arguments ===
None.
=== Returns ===
Nothing.

== See Also ==
* [[parent::love.graphics]]
[[Category:Functions]]
{{#set:Sub-Category=Drawing}}
{{#set:Description=Immediately renders any pending automatically batched draws.}}
== Other Languages ==
{{i18n|love.graphics.flushBatch}}