Struct nannou::ui::backend::glium::glium::texture::depth_texture1d_array::DepthTexture1dArrayLayer [−][src]
pub struct DepthTexture1dArrayLayer<'t>(_, _);
Represents a single layer of a DepthTexture1dArray
.
Can be obtained by calling DepthTexture1dArray::layer()
.
Methods
impl<'t> DepthTexture1dArrayLayer<'t>
[src]
impl<'t> DepthTexture1dArrayLayer<'t>
pub fn width(&self) -> u32
[src]
pub fn width(&self) -> u32
Returns the width of that image.
pub fn get_texture(&self) -> &'t DepthTexture1dArray
[src]
pub fn get_texture(&self) -> &'t DepthTexture1dArray
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<DepthTexture1dArrayLayerMipmap<'t>>
[src]
pub fn mipmap(&self, level: u32) -> Option<DepthTexture1dArrayLayerMipmap<'t>>
Access a single mipmap level of this layer.
pub fn main_level(&self) -> DepthTexture1dArrayLayerMipmap<'t>
[src]
pub fn main_level(&self) -> DepthTexture1dArrayLayerMipmap<'t>
Access the main mipmap level of this layer.
Trait Implementations
impl<'t> Clone for DepthTexture1dArrayLayer<'t>
[src]
impl<'t> Clone for DepthTexture1dArrayLayer<'t>
fn clone(&self) -> DepthTexture1dArrayLayer<'t>
[src]
fn clone(&self) -> DepthTexture1dArrayLayer<'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 DepthTexture1dArrayLayer<'t>
[src]
impl<'t> Copy for DepthTexture1dArrayLayer<'t>
Auto Trait Implementations
impl<'t> !Send for DepthTexture1dArrayLayer<'t>
impl<'t> !Send for DepthTexture1dArrayLayer<'t>
impl<'t> !Sync for DepthTexture1dArrayLayer<'t>
impl<'t> !Sync for DepthTexture1dArrayLayer<'t>