slint::Gray8Pixel Struct
struct Gray8Pixel;C++
#include <slint.h>C++
A grayscale pixel: a single luminance channel encoded as 8 bits.
Public Attributes
Section titled “Public Attributes” luminance
Section titled “ luminance”uint8_t slint::Gray8Pixel::luminance
The luminance, between 0 (black) and 255 (white).
© 2026 SixtyFPS GmbH