RenderTarget
From GiderosMobile
Supported platforms:
Available since: Gideros 2013.06
Description
RenderTarget is a texture on which provided Sprite hierarchy can be rendered. It can be used in any case in which Texture can be used.{|- | style="width: 50%;"|
Methods
RenderTarget.new - Creates new RenderTarget object
RenderTarget:clear - Clears rendered texture
RenderTarget:draw - Renders provided object
RenderTarget:getPixel - Returns single pixels color and alpha channel
RenderTarget:getPixels - Returns buffer containing color and alpha data from provided rectangle
RenderTarget:save - save contents of RenderTarget as image
| style="width: 50%;"|
Events
Constants
|}