Render a 2D texture
Texture to render
Rect of the texture on screen
How long to keep the texture visible for. A duration of 0 is 1 frame