FabGL
ESP32 Display Controller and Graphics Library

◆ getBitsPerChannel()

uint8_t getBitsPerChannel ( )
inlineinherited

Gets number of bits allocated for each channel.

Number of bits depends by which begin() initializer has been called.

Returns
1 (8 colors) or 2 (64 colors).

Definition at line 272 of file vgabasecontroller.h.