Struct gfx::texture::Info [] [src]

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
[src]

Get image info for a given mip.

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

Trait Implementations

impl PartialOrd<Info> for Info
[src]

impl Copy for Info
[src]

impl Ord for Info
[src]

impl PartialEq<Info> for Info
[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 Info
[src]

impl Hash for Info
[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 Info
[src]

Formats the value using the given formatter.

impl Clone for Info
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more