Struct glium::texture::depth_texture2d_multisample_array::DepthTexture2dMultisampleArrayLayerMipmap
[−]
[src]
pub struct DepthTexture2dMultisampleArrayLayerMipmap<'t>(_, _);
Represents a single layer of a mipmap level of a DepthTexture2dMultisampleArray
.
Methods
impl<'t> DepthTexture2dMultisampleArrayLayerMipmap<'t>
[src]
fn width(&self) -> u32
Returns the width of that image.
fn height(&self) -> u32
Returns the height of that image.
fn samples(&self) -> u32
Returns the number of samples of that image.
fn dimensions(&self) -> (u32, u32)
Returns the width and height of that image.
Trait Implementations
impl<'t> Clone for DepthTexture2dMultisampleArrayLayerMipmap<'t>
[src]
fn clone(&self) -> DepthTexture2dMultisampleArrayLayerMipmap<'t>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'t> Copy for DepthTexture2dMultisampleArrayLayerMipmap<'t>
[src]
impl<'t> Into<TextureAnyImage<'t>> for DepthTexture2dMultisampleArrayLayerMipmap<'t>
[src]
fn into(self) -> TextureAnyImage<'t>
Performs the conversion.
impl<'t> ToDepthAttachment<'t> for DepthTexture2dMultisampleArrayLayerMipmap<'t>
[src]
fn to_depth_attachment(self) -> DepthAttachment<'t>
Builds the DepthAttachment
.