Struct glium::texture::unsigned_cubemap::UnsignedCubemapImage
[−]
[src]
pub struct UnsignedCubemapImage<'t>(_, _);
Represents a single image of a mipmap level of a layer of UnsignedCubemap.
Methods
impl<'t> UnsignedCubemapImage<'t>[src]
pub fn width(&self) -> u32[src]
Returns the width of that image.
pub fn height(&self) -> u32[src]
Returns the height of that image.
pub fn dimensions(&self) -> u32[src]
Returns the dimension of that image.
Trait Implementations
impl<'t> Copy for UnsignedCubemapImage<'t>[src]
impl<'t> Clone for UnsignedCubemapImage<'t>[src]
fn clone(&self) -> UnsignedCubemapImage<'t>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<'t> Into<TextureAnyImage<'t>> for UnsignedCubemapImage<'t>[src]
fn into(self) -> TextureAnyImage<'t>[src]
Performs the conversion.
impl<'t> ToColorAttachment<'t> for UnsignedCubemapImage<'t>[src]
fn to_color_attachment(self) -> ColorAttachment<'t>[src]
Builds the ColorAttachment.