SpriteBatch (Русский)

Накопление геометрии в буфере, которая может быть нарисована за один вызов.

Функции

Canvas Off-screen render target.
Framebuffer Off-screen render target.
Image Drawable image type.
ParticleSystem Used to create cool effects, like fire.
SpriteBatch Store geometry in a buffer, and draw it in one call.
SpriteBatch:add Adds a sprite to the batch.
SpriteBatch:addq Adds a Quad to the batch.
SpriteBatch:bind Binds the SpriteBatch to the memory.
SpriteBatch:clear Removes all sprites from the buffer.
SpriteBatch:getImage Returns the image used by the SpriteBatch.
SpriteBatch:set Changes a sprite in the batch.
SpriteBatch:setColor Sets the color that will be used for the next add or set operations.
SpriteBatch:setImage Replaces the image used for the sprites.
SpriteBatch:setq Changes a sprite with a quad in the batch.
SpriteBatch:unbind Unbinds the SpriteBatch.

Базовый тип

Drawable

Смотрите также

Другие языки

Personal tools