Skip to content

Sprite2bpp

Struct

Source: Renderer.h

Description

Sprite descriptor for 2bpp (4-color) multi-color sprites.

Properties

NameTypeDescription
uint8_tconstPointer to 2bpp bitmap data.
ColorconstPointer to color palette (max 4 colors).
widthuint8_tSprite width in pixels.
heightuint8_tSprite height in pixels.
paletteSizeuint8_tNumber of colors in the palette.

Released under the MIT License.