Struct gfx::format::Swizzle [] [src]

pub struct Swizzle(pub ChannelSource, pub ChannelSource, pub ChannelSource, pub ChannelSource);

Channel swizzle configuration for the resource views. Note: It's not currently mirrored at compile-time, thus providing less safety and convenience.

Methods

impl Swizzle
[src]

Create a new swizzle where each channel is unmapped.

Trait Implementations

impl PartialOrd<Swizzle> for Swizzle
[src]

impl Copy for Swizzle
[src]

impl Ord for Swizzle
[src]

impl PartialEq<Swizzle> for Swizzle
[src]

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

This method tests for !=.

impl Eq for Swizzle
[src]

impl Hash for Swizzle
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Swizzle
[src]

Formats the value using the given formatter.

impl Clone for Swizzle
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more