Trait carbide_core::mesh::mesh::ImageDimensions[][src]

pub trait ImageDimensions {
    fn dimensions(&self) -> [u32; 2];
}

Images within the given image map must know their dimensions in pixels.

Required methods

fn dimensions(&self) -> [u32; 2][src]

The dimensions of the image in pixels.

Loading content...

Implementors

Loading content...