Struct gfx::texture::ResourceDesc []

pub struct ResourceDesc {
    pub channel: ChannelType,
    pub layer: Option<u16>,
    pub min: u8,
    pub max: u8,
    pub swizzle: Swizzle,
}

Texture resource view descriptor.

Fields

Trait Implementations

impl PartialEq<ResourceDesc> for ResourceDesc

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

This method tests for !=.

impl Clone for ResourceDesc

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for ResourceDesc

impl PartialOrd<ResourceDesc> for ResourceDesc

impl Copy for ResourceDesc

impl Debug for ResourceDesc

Formats the value using the given formatter.

impl Hash for ResourceDesc

impl Ord for ResourceDesc