SpriteBatch

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

Contents

Functions

SpriteBatch:add Add a sprite to the batch.
SpriteBatch:addq Add a Quad to the batch.
SpriteBatch:clear Removes all sprites from the buffer.


Object:type Gets the type of the object as a string.
Object:typeOf Checks whether an object is of a certain type.

Supertypes

Drawable Object

See Also

Other Languages

Personal tools