OpenTTD Source 20241224-master-gee860a5c8e
SpriteLoader::CommonPixel Struct Reference

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

#include <spriteloader.hpp>

Data Fields

uint8_t r
 Red-channel.
 
uint8_t g
 Green-channel.
 
uint8_t b
 Blue-channel.
 
uint8_t a
 Alpha-channel.
 
uint8_t m
 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

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

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

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

◆ r

uint8_t SpriteLoader::CommonPixel::r

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: