OpenTTD Source: Blitter_8bppOptimized::SpriteData Struct Reference

OpenTTD Source 15.3

Data Fields
Blitter_8bppOptimized::SpriteData Struct Reference

Data stored about a (single) sprite. More...

`#include <8bpp_optimized.hpp>`

## Data Fields
SpriteCollMap< uint32_t > | offset
| Offsets (from .data) to streams for different zoom levels.
uint8_t | data []
| Data, all zoomlevels.

## Detailed Description

Data stored about a (single) sprite.

Definition at line 20 of file 8bpp_optimized.hpp.

## Field Documentation

## ◆ data

uint8_t Blitter_8bppOptimized::SpriteData::data[]

Data, all zoomlevels.

Definition at line 22 of file 8bpp_optimized.hpp.

Referenced by Blitter_8bppOptimized::Draw(), and Blitter_8bppOptimized::Encode().

## ◆ offset

SpriteCollMap<uint32_t> Blitter_8bppOptimized::SpriteData::offset

Offsets (from .data) to streams for different zoom levels.

Definition at line 21 of file 8bpp_optimized.hpp.

Referenced by Blitter_8bppOptimized::Draw(), and Blitter_8bppOptimized::Encode().

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

- src/blitter/8bpp_optimized.hpp