Enum nannou::ui::backend::glium::glium::framebuffer::DepthAttachment [−][src]
pub enum DepthAttachment<'a> { Texture(TextureAnyImage<'a>), RenderBuffer(&'a DepthRenderBuffer), }
Describes an attachment for a depth buffer.
Variants
Texture(TextureAnyImage<'a>)
A texture.
RenderBuffer(&'a DepthRenderBuffer)
A render buffer.
Trait Implementations
impl<'a> ToDepthAttachment<'a> for DepthAttachment<'a>
[src]
impl<'a> ToDepthAttachment<'a> for DepthAttachment<'a>
fn to_depth_attachment(self) -> DepthAttachment<'a>
[src]
fn to_depth_attachment(self) -> DepthAttachment<'a>
Builds the DepthAttachment
.
impl<'a> Clone for DepthAttachment<'a>
[src]
impl<'a> Clone for DepthAttachment<'a>
fn clone(&self) -> DepthAttachment<'a>
[src]
fn clone(&self) -> DepthAttachment<'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 DepthAttachment<'a>
[src]
impl<'a> Copy for DepthAttachment<'a>
Auto Trait Implementations
impl<'a> !Send for DepthAttachment<'a>
impl<'a> !Send for DepthAttachment<'a>
impl<'a> !Sync for DepthAttachment<'a>
impl<'a> !Sync for DepthAttachment<'a>