Struct nannou::ui::backend::glium::glium::texture::integral_cubemap_array::IntegralCubemapArrayLayer [−][src]
pub struct IntegralCubemapArrayLayer<'t>(_, _);
Represents a single layer of a IntegralCubemapArray
.
Can be obtained by calling IntegralCubemapArray::layer()
.
Methods
impl<'t> IntegralCubemapArrayLayer<'t>
[src]
impl<'t> IntegralCubemapArrayLayer<'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.
pub fn get_texture(&self) -> &'t IntegralCubemapArray
[src]
pub fn get_texture(&self) -> &'t IntegralCubemapArray
Returns the corresponding texture.
pub fn get_layer(&self) -> u32
[src]
pub fn get_layer(&self) -> u32
Returns the layer index.
pub fn get_mipmap_levels(&self) -> u32
[src]
pub fn get_mipmap_levels(&self) -> u32
Returns the number of mipmap levels of the texture.
The minimum value is 1, since there is always a main texture.
pub fn mipmap(&self, level: u32) -> Option<IntegralCubemapArrayLayerMipmap<'t>>
[src]
pub fn mipmap(&self, level: u32) -> Option<IntegralCubemapArrayLayerMipmap<'t>>
Access a single mipmap level of this layer.
pub fn main_level(&self) -> IntegralCubemapArrayLayerMipmap<'t>
[src]
pub fn main_level(&self) -> IntegralCubemapArrayLayerMipmap<'t>
Access the main mipmap level of this layer.
Trait Implementations
impl<'t> Clone for IntegralCubemapArrayLayer<'t>
[src]
impl<'t> Clone for IntegralCubemapArrayLayer<'t>
fn clone(&self) -> IntegralCubemapArrayLayer<'t>
[src]
fn clone(&self) -> IntegralCubemapArrayLayer<'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> Copy for IntegralCubemapArrayLayer<'t>
[src]
impl<'t> Copy for IntegralCubemapArrayLayer<'t>
Auto Trait Implementations
impl<'t> !Send for IntegralCubemapArrayLayer<'t>
impl<'t> !Send for IntegralCubemapArrayLayer<'t>
impl<'t> !Sync for IntegralCubemapArrayLayer<'t>
impl<'t> !Sync for IntegralCubemapArrayLayer<'t>