FabGL
ESP32 Display Controller and Graphics Library

◆ NativePixelFormat

enum class NativePixelFormat : uint8_t
strong

This enum defines the display controller native pixel format.

Enumerator
Mono 

1 bit per pixel. 0 = black, 1 = white

SBGR2222 

8 bit per pixel: VHBBGGRR (bit 7=VSync 6=HSync 5=B 4=B 3=G 2=G 1=R 0=R). Each color channel can have values from 0 to 3 (maxmum intensity).

RGB565BE 

16 bit per pixel: RGB565 big endian.

PALETTE2 

1 bit palette (2 colors), packed as 8 pixels per byte.

PALETTE4 

2 bit palette (4 colors), packed as 4 pixels per byte.

PALETTE8 

3 bit palette (8 colors), packed as 8 pixels every 3 bytes.

PALETTE16 

4 bit palette (16 colors), packed as two pixels per byte.

Definition at line 430 of file displaycontroller.h.