2 releases
0.1.1 | Apr 29, 2024 |
---|---|
0.1.0 | Apr 21, 2024 |
#338 in Emulators
86 downloads per month
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,
- A
- And more evolved utilities :
- A
Screen
struct and aScreenMemory
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.
- A
License
- Copyright (c) 2024 Sébastien Geldreich
- License MIT
Dependencies
~86KB