SpriteBatch.draw
- void draw(string item, vec4 position, vec4 cutout, vec2 origin, float rotation, SpriteFlip flip, vec4 color)
- void draw(AtlasIndex index, vec4 position, vec4 cutout, vec2 origin, float rotation, SpriteFlip flip, vec4 color)
- void draw(Texture texture, vec4 position, vec4 cutout, vec2 origin, float rotation, SpriteFlip flip, vec4 color)
- void draw(Framebuffer fbo, vec4 position, vec4 cutout, vec2 origin, float rotation, SpriteFlip flip, vec4 color)
Draws the texture
Remember to call flush after drawing all the textures you want
Flush will automatically be called if your draws exceed the max count Flush will automatically be called if you queue an other texture