Sprites are 2D images that represent an object or background. Sprites are represented by two main chunks of data:
- Texture: The image made of pixels.
- Sprite Layout: The (rectangular) coordinates of the sprites on that image.
Note: The code snippets in this section explain the parts of setting up sprite rendering separately. For complete application examples, please refer to the sprites_ordered example in the examples directory.