[][src]Trait amethyst_rendy::palette::white_point::WhitePoint

pub trait WhitePoint {
    fn get_xyz<Wp, T>() -> Xyz<Wp, T>
    where
        T: Component + Float,
        Wp: WhitePoint
; }

WhitePoint defines the Xyz color co-ordinates for a given white point.

A white point (often referred to as reference white or target white in technical documents) is a set of tristimulus values or chromaticity coordinates that serve to define the color "white" in image capture, encoding, or reproduction.

Custom white points can be easily defined on an empty struct with the tristimulus values and can be used in place of the ones defined in this library.

Required methods

fn get_xyz<Wp, T>() -> Xyz<Wp, T> where
    T: Component + Float,
    Wp: WhitePoint

Get the Xyz chromacity co-ordinates for the white point.

Loading content...

Implementors

impl WhitePoint for A[src]

impl WhitePoint for B[src]

impl WhitePoint for C[src]

impl WhitePoint for D50[src]

impl WhitePoint for D50Degree10[src]

impl WhitePoint for D55[src]

impl WhitePoint for D55Degree10[src]

impl WhitePoint for D65[src]

impl WhitePoint for D65Degree10[src]

impl WhitePoint for D75[src]

impl WhitePoint for D75Degree10[src]

impl WhitePoint for E[src]

impl WhitePoint for F11[src]

impl WhitePoint for F2[src]

impl WhitePoint for F7[src]

Loading content...