Canvas.drawTexture

Function/Meaning

Draw two textures by specifying a shader

Type
Canvasclassmethod of
Syntax
drawTexture(texture:Texture, texture2:Texture, shader:ShaderProgram)
Arguments
texture

Specifies the texture to use for drawing

texture2

Specifies the second texture to use for drawing

shader

Specifies the shader to use for drawing

Return value
None (void)
Explanation

The position, scaling, and rotation are specified by matrix.
It doesn't matter if you specify the Offscreen class as well as the Texture class for the texture.
If you specify an Offscreen class, it is assumed that the Offscreen class has been removed from the renderTarget (so that it does not cycle).