Enum nannou::ui::backend::glium::glium::texture::Dimensions [] [src]

pub enum Dimensions {
    Texture1d {
        width: u32,
    },
    Texture1dArray {
        width: u32,
        array_size: u32,
    },
    Texture2d {
        width: u32,
        height: u32,
    },
    Texture2dArray {
        width: u32,
        height: u32,
        array_size: u32,
    },
    Texture2dMultisample {
        width: u32,
        height: u32,
        samples: u32,
    },
    Texture2dMultisampleArray {
        width: u32,
        height: u32,
        array_size: u32,
        samples: u32,
    },
    Texture3d {
        width: u32,
        height: u32,
        depth: u32,
    },
    Cubemap {
        dimension: u32,
    },
    CubemapArray {
        dimension: u32,
        array_size: u32,
    },
}

Type of a texture.

Variants

Fields of Texture1d

Fields of Texture1dArray

Fields of Texture2d

Fields of Texture2dArray

Fields of Texture2dMultisample

Fields of Texture2dMultisampleArray

Fields of Texture3d

Fields of Cubemap

Fields of CubemapArray

Trait Implementations

impl Copy for Dimensions
[src]

impl Clone for Dimensions
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<Dimensions> for Dimensions
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for Dimensions
[src]

[src]

Formats the value using the given formatter.

impl Eq for Dimensions
[src]