Struct gfx_core::pso::ColorInfo [] [src]

pub struct ColorInfo {
    pub mask: ColorMask,
    pub color: Option<BlendChannel>,
    pub alpha: Option<BlendChannel>,
}

Color output configuration of the PSO.

Fields

Color channel mask

Optional color blending

Optional alpha blending

Trait Implementations

impl PartialEq for ColorInfo
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for ColorInfo
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Eq for ColorInfo
[src]

impl Debug for ColorInfo
[src]

Formats the value using the given formatter.

impl Copy for ColorInfo
[src]

impl Clone for ColorInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<ColorMask> for ColorInfo
[src]

Performs the conversion.

impl From<Blend> for ColorInfo
[src]

Performs the conversion.