pub struct HdrOutput {
pub sdr_white: f32,
}Expand description
vue-native fork: a window drawing high dynamic range. The scene still blends in sRGB-encoded
space, into a half-float target where AtlasTextureKind::PolychromeHdr sprites can exceed
1.0; the output is that linearised and multiplied by sdr_white.
Fields§
§sdr_white: f32SDR white in the swap chain’s linear unit: SDR white nits / 80 for Windows’ scRGB, 1.0 for macOS EDR.
Trait Implementations§
impl Copy for HdrOutput
impl StructuralPartialEq for HdrOutput
Auto Trait Implementations§
impl Forget for HdrOutput
impl Freeze for HdrOutput
impl Move for HdrOutput
impl RefUnwindSafe for HdrOutput
impl Send for HdrOutput
impl Sync for HdrOutput
impl Unpin for HdrOutput
impl UnsafeUnpin for HdrOutput
impl UnwindSafe for HdrOutput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more