Struct nannou::ui::backend::glium::glium::texture::TextureAnyLayer [−][src]
pub struct TextureAnyLayer<'a> { /* fields omitted */ }
Represents a specific layer of an array texture and 3D textures.
Methods
impl<'a> TextureAnyLayer<'a>
[src]
impl<'a> TextureAnyLayer<'a>
pub fn get_texture(&self) -> &'a TextureAny
[src]
pub fn get_texture(&self) -> &'a TextureAny
Returns the texture.
pub fn get_samples(&self) -> Option<u32>
[src]
pub fn get_samples(&self) -> Option<u32>
Returns the number of samples of the texture.
pub fn get_layer(&self) -> u32
[src]
pub fn get_layer(&self) -> u32
Returns the layer of the texture.
pub fn main_level(&self) -> TextureAnyLayerMipmap<'a>
[src]
pub fn main_level(&self) -> TextureAnyLayerMipmap<'a>
Returns a structure that represents the main mipmap level of this layer of the texture.
pub fn mipmap(&self, level: u32) -> Option<TextureAnyLayerMipmap<'a>>
[src]
pub fn mipmap(&self, level: u32) -> Option<TextureAnyLayerMipmap<'a>>
Returns a structure that represents a specific mipmap of this layer of the texture.
Returns None
if out of range.
Trait Implementations
impl<'a> Clone for TextureAnyLayer<'a>
[src]
impl<'a> Clone for TextureAnyLayer<'a>
fn clone(&self) -> TextureAnyLayer<'a>
[src]
fn clone(&self) -> TextureAnyLayer<'a>
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<'a> Copy for TextureAnyLayer<'a>
[src]
impl<'a> Copy for TextureAnyLayer<'a>
Auto Trait Implementations
impl<'a> !Send for TextureAnyLayer<'a>
impl<'a> !Send for TextureAnyLayer<'a>
impl<'a> !Sync for TextureAnyLayer<'a>
impl<'a> !Sync for TextureAnyLayer<'a>