FabGL
ESP32 Display Controller and Graphics Library

◆ PixelFormat

enum class PixelFormat : uint8_t
strong

This enum defines a pixel format.

Enumerator
Undefined 

Undefined pixel format

Native 

Native device pixel format

Mask 

1 bit per pixel. 0 = transparent, 1 = opaque (color must be specified apart)

RGBA2222 

8 bit per pixel: AABBGGRR (bit 7=A 6=A 5=B 4=B 3=G 2=G 1=R 0=R). AA = 0 fully transparent, AA = 3 fully opaque. Each color channel can have values from 0 to 3 (maxmum intensity).

RGBA8888 

32 bits per pixel: RGBA (R=byte 0, G=byte1, B=byte2, A=byte3). Minimum value for each channel is 0, maximum is 255.

Definition at line 444 of file displaycontroller.h.