Draw a single texture
texture | Specifies the texture to use for drawing |
It is drawn with the defaultShader.
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).