Enum vulkano::image::ImageDimensions
[−]
[src]
pub enum ImageDimensions { Dim1d { width: u32, array_layers: u32, }, Dim2d { width: u32, height: u32, array_layers: u32, cubemap_compatible: bool, }, Dim3d { width: u32, height: u32, depth: u32, }, }
Variants
Dim1d
Fields
width: u32 | |
array_layers: u32 |
Dim2d
Fields
width: u32 | |
height: u32 | |
array_layers: u32 | |
cubemap_compatible: bool |
Dim3d
Fields
width: u32 | |
height: u32 | |
depth: u32 |
Methods
impl ImageDimensions
[src]
fn width(&self) -> u32
fn height(&self) -> u32
fn width_height(&self) -> [u32; 2]
fn depth(&self) -> u32
fn array_layers(&self) -> u32
Trait Implementations
impl Copy for ImageDimensions
[src]
impl Clone for ImageDimensions
[src]
fn clone(&self) -> ImageDimensions
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for ImageDimensions
[src]
impl PartialEq for ImageDimensions
[src]
fn eq(&self, __arg_0: &ImageDimensions) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ImageDimensions) -> bool
This method tests for !=
.