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 Clone for Dimensions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Dimensions
[src]

Formats the value using the given formatter. Read more

impl Copy for Dimensions
[src]

impl Eq for Dimensions
[src]

impl PartialEq<Dimensions> for Dimensions
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Dimensions

impl Sync for Dimensions