SpriteBatch

Store geometry in a buffer, and draw it in one call.

Constructors

love.graphics.newSpriteBatchCreates a new SpriteBatch.

Functions

Object:typeGets the type of the object as a string.
Object:typeOfChecks whether an object is of a certain type.
SpriteBatch:addAdds a sprite to the batch.
SpriteBatch:addqAdds a Quad to the batch.
SpriteBatch:clearRemoves all sprites from the buffer.

Supertypes

Drawable Object

See Also


Other Languages