Skip to content

Sprite4bpp

Struct

Source: Renderer.h

Description

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

Properties

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

Released under the MIT License.