Struct gfx::texture::Info []

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

Texture storage descriptor.

Fields

Methods

impl Info

Get image info for a given mip.

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

Trait Implementations

impl Debug for Info

Formats the value using the given formatter.

impl PartialOrd<Info> for Info

impl PartialEq<Info> for Info

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

This method tests for !=.

impl Ord for Info

impl Hash for Info

impl Eq for Info

impl Copy for Info

impl Clone for Info

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more