Enum vulkano::image::ComponentSwizzle [] [src]

pub enum ComponentSwizzle {
    Identity,
    Zero,
    One,
    Red,
    Green,
    Blue,
    Alpha,
}

Describes the value that an individual component must return when being accessed.

Variants

Returns the value that this component should normally have.

Always return zero.

Always return one.

Returns the value of the first component.

Returns the value of the second component.

Returns the value of the third component.

Returns the value of the fourth component.

Trait Implementations

impl Copy for ComponentSwizzle
[src]

impl Clone for ComponentSwizzle
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ComponentSwizzle
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for ComponentSwizzle
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for ComponentSwizzle
[src]

impl Default for ComponentSwizzle
[src]

[src]

Returns the "default value" for a type. Read more