The graphics device used to draw the texture.
The source texture to be drawn. Accessible as
uniform sampler2D * source in shader.
Optionaltarget: RenderTargetThe destination render target. Defaults to the frame buffer.
Optionalshader: ShaderThe optional custom shader used for rendering the texture.
Optionalrect: Vec4The viewport rectangle to use for the
texture, in pixels. Defaults to fullscreen (0, 0, target.width, target.height).
OptionalscissorRect: Vec4The scissor rectangle to use for
the texture, in pixels. Defaults to fullscreen (0, 0, target.width, target.height).
Draws a texture in screen-space. Mostly used by post-effects.