Struct colstodian::tonemap::PerceptualTonemapper [−][src]
pub struct PerceptualTonemapper;
Expand description
A neutral, perceptual tonemapper based on tonemapping work in Frostbite as well as my own and Tomasz Stachowiak’s research on the subject. Should be able to be extended for HDR use in the future.
Trait Implementations
type InputSpace = ICtCpPQ
type OutputSpace = ICtCpPQ
type Params = PerceptualTonemapperParams
fn tonemap(
color: impl ColorInto<Color<Self::InputSpace, Scene>>,
params: Self::Params
) -> Color<Self::OutputSpace, Display>
fn tonemap(
color: impl ColorInto<Color<Self::InputSpace, Scene>>,
params: Self::Params
) -> Color<Self::OutputSpace, Display>
Tonemap color
using params
Auto Trait Implementations
impl RefUnwindSafe for PerceptualTonemapper
impl Send for PerceptualTonemapper
impl Sync for PerceptualTonemapper
impl Unpin for PerceptualTonemapper
impl UnwindSafe for PerceptualTonemapper
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<SrcAlpha, DstAlpha> ConvertToAlphaRaw<DstAlpha> for SrcAlpha where
DstAlpha: ConvertFromAlphaRaw<SrcAlpha>,
impl<SrcAlpha, DstAlpha> ConvertToAlphaRaw<DstAlpha> for SrcAlpha where
DstAlpha: ConvertFromAlphaRaw<SrcAlpha>,