PicoVGA  1.0-cmake
VGA/TV display on Raspberry Pico
sSprite Struct Reference

Sprite (on change update SSPRITE_* in define.h) More...

#include <vga_layer.h>

Data Fields

u8 * img
 SSPRITE_IMG pointer to image data.
 
u8 * x0
 SSPRITE_X0 pointer to array of start of lines, or fast sprite start of lines/4.
 
u8 * w0
 SSPRITE_W0 pointer to array of length of lines, or fast sprite length of lines/4.
 
u32 keycol
 SSPRITE_KEYCOL key color.
 
s16 x
 SSPRITE_X sprite X-coordinate on the screen.
 
s16 y
 SSPRITE_Y sprite Y-coordinate on the screen.
 
u16 w
 SSPRITE_W sprite width (slow sprite: max. width 255)
 
u16 h
 SSPRITE_H sprite height.
 
u16 wb
 SSPRITE_WB sprite pitch (number of bytes between lines)
 
u16 res
 Reserved, structure align.
 

Detailed Description

Sprite (on change update SSPRITE_* in define.h)


The documentation for this struct was generated from the following file: