FabGL
ESP32 Display Controller and Graphics Library

◆ getScanline()

uint8_t* getScanline ( int  y)
inlineinherited

Gets a raw scanline pointer.

A raw scanline must be filled with raw pixel colors. Use VGAController.createRawPixel to create raw pixel colors. A raw pixel (or raw color) is a byte (uint8_t) that contains color information and synchronization signals. Pixels are arranged in 32 bit packes as follows: pixel 0 = byte 2, pixel 1 = byte 3, pixel 2 = byte 0, pixel 3 = byte 1 : pixel : 0 1 2 3 4 5 6 7 8 9 10 11 ...etc... byte : 2 3 0 1 6 7 4 5 10 11 8 9 ...etc... dword : 0 1 2 ...etc...

Parameters
yVertical scanline position (0 = top row)

Definition at line 287 of file vgabasecontroller.h.