Function tetra::graphics::set_texture
source · Expand description
Sets the texture that is currently being used for rendering.
If the texture is different from the one that is currently in use, this will trigger a
flush
to the graphics hardware - try to avoid texture swapping as
much as you can.