Difference between revisions of "SpriteBatch"

Line 7: Line 7:
 
}}
 
}}
 
== Functions ==
 
== Functions ==
{{#ask: [[Category:Functions]] [[parent::SpriteBatch]] OR [[parent::Drawable]] OR [[parent::Object]] [[Since::<071]]
+
{{#ask: [[Category:Functions]] [[parent::SpriteBatch||Drawable||Object]] [[Since::<071]]
 
| headers=hide
 
| headers=hide
 
| ?Description
 
| ?Description

Revision as of 17:41, 25 March 2011

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