OpenTTD Source 20250312-master-gcdcc6b491d
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 33 of file spriteloader.hpp.

Field Documentation

◆ a

uint8_t SpriteLoader::CommonPixel::a = 0

Alpha-channel.

Definition at line 37 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 36 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 35 of file spriteloader.hpp.

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

◆ m

uint8_t SpriteLoader::CommonPixel::m = 0

◆ r

uint8_t SpriteLoader::CommonPixel::r = 0

Red-channel.

Definition at line 34 of file spriteloader.hpp.

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


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