1
0
Fork 0
forked from wry/wry

cmm: ignore backend luminance with the default EOTF

This commit is contained in:
Julian Orth 2025-10-15 20:59:12 +02:00
parent 091918d10a
commit 4746361cb7
5 changed files with 25 additions and 20 deletions

View file

@ -386,6 +386,10 @@ pub struct BrightnessArgs {
/// When using the default EOTF, you likely want to set this to `default`
/// and adjust the display hardware brightness setting instead.
///
/// When used with the default transfer function, the default brightness is anchored
/// at 80 cd/m^2. That is, setting this to 40 cd/m^2 makes everything appear half as
/// bright as normal and creates 50% HDR headroom.
///
/// This has no effect unless the vulkan renderer is used.
#[clap(verbatim_doc_comment, value_parser = parse_brightness)]
brightness: Brightness,