ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
_RGBi Struct Reference

Structure to store color components (red, green and blue). More...

#include <ugbc.h>

Data Fields

unsigned char red
unsigned char green
unsigned char blue
unsigned char alpha
unsigned char index
char description [64]
unsigned char hardwareIndex
unsigned char used
int count

Detailed Description

Structure to store color components (red, green and blue).

This structure stores the color components (red, blue and green) of a pixel, 8 bits wide. This structure is used both to represent the retrocomputer palette and to process input data from image files.

Definition at line 432 of file ugbc.h.

Field Documentation

◆ alpha

unsigned char alpha

Definition at line 436 of file ugbc.h.

◆ blue

unsigned char blue

Definition at line 435 of file ugbc.h.

◆ count

int count

Definition at line 441 of file ugbc.h.

◆ description

char description[64]

Definition at line 438 of file ugbc.h.

◆ green

unsigned char green

Definition at line 434 of file ugbc.h.

◆ hardwareIndex

unsigned char hardwareIndex

Definition at line 439 of file ugbc.h.

◆ index

unsigned char index

Definition at line 437 of file ugbc.h.

◆ red

unsigned char red

Definition at line 433 of file ugbc.h.

◆ used

unsigned char used

Definition at line 440 of file ugbc.h.


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