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