[−][src]Trait amethyst_rendy::palette::chromatic_adaptation::AdaptInto
Trait to convert color with one reference white point into another
Converts a color with the source white point (Swp) into the destination white point (Dwp). Uses the bradford method for conversion by default.
Required methods
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
M: TransformMatrix<Swp, Dwp, T>,
Convert the source color to the destination color using the specified method
Provided methods
fn adapt_into(self) -> D
Convert the source color to the destination color using the bradford method by default
Implementors
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
[src]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,