Module spritebatch

Module spritebatch 

Source
Expand description

spritebatch test system

Structs§

SpriteBatch
SpriteBatch is a datastructure that handle all sprites that have the same texture. And make only 1 drawCall to draw them all. this way you can highly optimise data sended to GPU. You should use it in system where there is a lot’s of sprite that should be drawn with the same shaders and the same texture. SpriteBatch is a kind of collection that implement some iterator traits.
SpriteData
SpriteData is a structure representing transformation on a texture to become a sprite.

Enums§

BatchError