Constructor
Variables
Methods
stamp(visual:Visual, done:() ‑> Void):Void
Draws the given visual onto the render texture.
The drawing operation is not done synchronously.
It waits for the next draw stage of the app to perform it,
then calls done() when finished.
This is expected to be used with a texture autoRender
set to false
.
clear(color:Color = 0xFFFFFF, alpha:Float = 0, clipX:Float = -1, clipY:Float = -1, clipWidth:Float = -1, clipHeight:Float = -1, done:() ‑> Void):Void
Clears the texture, or a specific area of it with a fill color and alpha.
The drawing operation is not done synchronously.
It waits for the next draw stage of the app to perform it,
then calls done() when finished.
This is expected to be used with a texture autoRender
set to false
.