Struct ColorDepth
sealed struct ColorDepth
Display hardware may use different video quantization ranges, which are important for
ensuring that video signals are accurately represented and displayed. These ranges deal
with how color and brightness levels are encoded and transmitted. The quantization range
can also be affected by the bit depth of the video signal. Common bit depths include 8-bit,
10-bit, and 12-bit, with higher bit depths allowing for finer gradations in color and
brightness. Below is all possible color depths in a display. System would always try to choose
the highest supported color depth not exceeding the requested one i.e it may fall back
to lower ones if necessary to keep the system functional. COLORDEPTH_X means, system
would try to use X if X is supported otherwise choose a lower color depth but will never
choose one above X. Please see [IDisplayManager#setColorDepth].
Fields
Constants
COLORDEPTH_UNKNOWN
Unknown color depth typeColorDepth={1}
COLORDEPTH_AUTO
Color depth type is automatic i.e display server is free to choose any. This is default.ColorDepth={2}
COLORDEPTH_8
display server is free to choose any color depth up to 8 bits per channel.ColorDepth={3}
COLORDEPTH_10
display server is free to choose any color depth up to 10 bits per channel.ColorDepth={4}
COLORDEPTH_12
display server is free to choose any color depth up to 12 bits per channel.ColorDepth={5}

