Skip to content

slint::Gray8Pixel Struct

struct Gray8Pixel;
C++
#include <slint.h>
C++

A grayscale pixel: a single luminance channel encoded as 8 bits.

uint8_t slint::Gray8Pixel::luminance

The luminance, between 0 (black) and 255 (white).


© 2026 SixtyFPS GmbH