SpriteBatch

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

Contents

Constructors

love.graphics.newSpriteBatch Creates a new SpriteBatch object.

Functions

Object:type Gets the type of the object as a string.
Object:typeOf Checks whether an object is of a certain type.
SpriteBatch:add Add a sprite to the batch.
SpriteBatch:addq Add a Quad to the batch.
SpriteBatch:clear Removes all sprites from the buffer.

Supertypes

Drawable Object

See Also


Other Languages

Personal tools