Data Fields

sprite_t Struct Reference
[2D Graphics]

Sprite structure. More...

#include <graphics.h>

Data Fields

uint16_t width
 Width in pixels.
uint16_t height
 Height in pixels.
uint8_t bitdepth
 Bit depth expressed in bytes.
uint8_t format
 Sprite format.
uint8_t hslices
 Number of horizontal slices for spritemaps.
uint8_t vslices
 Number of vertical slices for spritemaps.
uint32_t data [0]
 Start of graphics data.

Detailed Description

Sprite structure.

Field Documentation

Bit depth expressed in bytes.

A 32 bit sprite would have a value of '4' here

Sprite format.

Currently unused

The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines