struct PixelData

Defined at line 55 of file ../../src/graphics/display/testing/software-compositor/pixel.h

A Pixel (or texels for textures) represents a color on a specific point

on the dot-matrix display. It may contain one or multiple channels (color

components).

PixelData stores the raw byte representation of channel values of a pixel

(i.e. pixel data) without caring about the internal channel representation

or the pixel format.

Public Members

array data

Public Methods

PixelData FromRaw (std::span<const uint8_t> raw)

static

Defined at line 15 of file ../../src/graphics/display/testing/software-compositor/pixel.cc

PixelData Convert (PixelFormat from, PixelFormat to)

Defined at line 22 of file ../../src/graphics/display/testing/software-compositor/pixel.cc