Struct glium::texture::stencil_texture2d_array::StencilTexture2dArrayLayerMipmap
[−]
[src]
pub struct StencilTexture2dArrayLayerMipmap<'t>(_, _);
Represents a single layer of a mipmap level of a StencilTexture2dArray.
Methods
impl<'t> StencilTexture2dArrayLayerMipmap<'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, u32)[src]
Returns the width and height of that image.
Trait Implementations
impl<'t> Copy for StencilTexture2dArrayLayerMipmap<'t>[src]
impl<'t> Clone for StencilTexture2dArrayLayerMipmap<'t>[src]
fn clone(&self) -> StencilTexture2dArrayLayerMipmap<'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 StencilTexture2dArrayLayerMipmap<'t>[src]
fn into(self) -> TextureAnyImage<'t>[src]
Performs the conversion.
impl<'t> ToStencilAttachment<'t> for StencilTexture2dArrayLayerMipmap<'t>[src]
fn to_stencil_attachment(self) -> StencilAttachment<'t>[src]
Builds the StencilAttachment.