2 releases

0.1.1 Apr 29, 2024
0.1.0 Apr 21, 2024

#289 in Emulators

MIT license

14KB
326 lines

Osiris/Display

Work in progress.

Provides a display layer for an Osiris machine.

This crate provides :

  • Base types to manipulate displays :
    • A Pixel struct which represents an ARGB value on 16 bits (4 bits per color with a 4 bits alpha channel),
    • A Image struct which represents a surface which is drawable and on which we can draw,
    • A Sprite struct which is an Image which can move on a screen, and,
  • And more evolved utilities :
    • A Screen struct and a ScreenMemory which can be displayed or drawn on,
    • A CachedSprite struct for sprites managed by :
    • The Gpu, which is a facade to operate images in an Osiris machine.

License

Dependencies

~86KB