Enum vulkano::image::Dimensions [] [src]

pub enum Dimensions {
    Dim1d {
        width: u32,
    },
    Dim1dArray {
        width: u32,
        array_layers: u32,
    },
    Dim2d {
        width: u32,
        height: u32,
    },
    Dim2dArray {
        width: u32,
        height: u32,
        array_layers: u32,
    },
    Dim3d {
        width: u32,
        height: u32,
        depth: u32,
    },
    Cubemap {
        size: u32,
    },
    CubemapArray {
        size: u32,
        array_layers: u32,
    },
}

Variants

Fields of Dim1d

Fields of Dim1dArray

Fields of Dim2d

Fields of Dim2dArray

Fields of Dim3d

Fields of Cubemap

Fields of CubemapArray

Methods

impl Dimensions
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Builds the corresponding ImageDimensions.

[src]

Builds the corresponding ViewType.

[src]

Returns the total number of texels for an image of these dimensions.

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

[src]

Formats the value using the given formatter. Read more

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

Auto Trait Implementations

impl Send for Dimensions

impl Sync for Dimensions