Struct gfx::tex::Descriptor []

pub struct Descriptor {
    pub kind: Kind,
    pub levels: u8,
    pub format: SurfaceType,
    pub bind: Bind,
    pub usage: Usage,
}

Texture storage descriptor.

Fields

Methods

impl Descriptor

Get image info for a given mip.

Get the raw image info for a given mip and a channel type.

Trait Implementations

impl Eq for Descriptor

impl Ord for Descriptor

impl PartialEq<Descriptor> for Descriptor

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

This method tests for !=.

impl PartialOrd<Descriptor> for Descriptor

impl Hash for Descriptor

impl Copy for Descriptor

impl Clone for Descriptor

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Descriptor

Formats the value using the given formatter.