Difference between revisions of "RenderTarget"
From GiderosMobile
(Created page with "__NOTOC__ '''Supported platforms:''' <br/> '''Available since:''' Gideros 2013.06<br/> === Description === RenderTarget is a texture on which provided Sprite hierarchy can be...") |
|||
Line 4: | Line 4: | ||
=== Description === | === Description === | ||
RenderTarget is a texture on which provided Sprite hierarchy can be rendered. | 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.{|- | + | It can be used in any case in which Texture can be used. |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | {|- | ||
| style="width: 50%;"| | | style="width: 50%;"| | ||
=== Methods === | === Methods === | ||
+ | [[RenderTarget.new]] - Creates new RenderTarget object<br/> | ||
+ | [[RenderTarget:clear]] - Clears rendered texture<br/> | ||
+ | [[RenderTarget:draw]] - Renders provided object<br/> | ||
+ | [[RenderTarget:getPixel]] - Returns single pixels color and alpha channel<br/> | ||
+ | [[RenderTarget:getPixels]] - Returns buffer containing color and alpha data from provided rectangle<br/> | ||
+ | [[RenderTarget:save]] - save contents of RenderTarget as image<br/> | ||
| style="width: 50%;"| | | style="width: 50%;"| | ||
=== Events === | === Events === | ||
=== Constants === | === Constants === | ||
|} | |} |
Revision as of 08:57, 23 August 2018
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.
MethodsRenderTarget.new - Creates new RenderTarget object |
EventsConstants |