Draw one texture by specifying a shader
texture | Specifies the texture to use for drawing |
shader | Specifies the shader to use for drawing |
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).