FabGL
ESP32 Display Controller and Graphics Library

◆ setRawPixel()

void setRawPixel ( int  x,
int  y,
uint8_t  rgb 
)
inline

Sets a raw pixel prepared using VGAController.createRawPixel.

A raw pixel (or raw color) is a byte (uint8_t) that contains color information and synchronization signals.

Parameters
xHorizontal pixel position
yVertical pixel position
rgbRaw pixel color

Example:

// Set color of pixel at 100, 100
VGAController.setRawPixel(100, 100, VGAController.createRawPixel(RGB222(3, 0, 0));

Definition at line 193 of file vgacontroller.h.