OpenTTD Source: SpriteLoader::CommonPixel Struct Reference

OpenTTD Source 15.3

Data Fields
SpriteLoader::CommonPixel Struct Reference

Definition of a common pixel in OpenTTD's realm. More...

`#include <spriteloader.hpp>`

## Data Fields
uint8_t | r = 0
| Red-channel.
uint8_t | g = 0
| Green-channel.
uint8_t | b = 0
| Blue-channel.
uint8_t | a = 0
| Alpha-channel.
uint8_t | m = 0
| Remap-channel.

## Detailed Description

Definition of a common pixel in OpenTTD's realm.

Definition at line 48 of file spriteloader.hpp.

## Field Documentation

## ◆ a

uint8_t SpriteLoader::CommonPixel::a = 0

Alpha-channel.

Definition at line 52 of file spriteloader.hpp.

Referenced by DecodeSingleSprite(), Blitter_32bppSimple::Encode(), and OpenGLSprite::Update().

## ◆ b

uint8_t SpriteLoader::CommonPixel::b = 0

Blue-channel.

Definition at line 51 of file spriteloader.hpp.

Referenced by DecodeSingleSprite(), Blitter_32bppSimple::Encode(), and OpenGLSprite::Update().

## ◆ g

uint8_t SpriteLoader::CommonPixel::g = 0

Green-channel.

Definition at line 50 of file spriteloader.hpp.

Referenced by DecodeSingleSprite(), Blitter_32bppSimple::Encode(), and OpenGLSprite::Update().

## ◆ m

uint8_t SpriteLoader::CommonPixel::m = 0

Remap-channel.

Definition at line 53 of file spriteloader.hpp.

Referenced by DecodeSingleSprite(), Blitter_32bppSimple::Encode(), Blitter_8bppOptimized::Encode(), ReadSprite(), and OpenGLSprite::Update().

## ◆ r

uint8_t SpriteLoader::CommonPixel::r = 0

Red-channel.

Definition at line 49 of file spriteloader.hpp.

Referenced by DecodeSingleSprite(), Blitter_32bppSimple::Encode(), and OpenGLSprite::Update().

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

- src/spriteloader/spriteloader.hpp