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

A texture.

A render buffer.

Trait Implementations

impl<'a> ToDepthAttachment<'a> for DepthAttachment<'a>
[src]

Builds the DepthAttachment.

impl<'a> Clone for DepthAttachment<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Copy for DepthAttachment<'a>
[src]

Auto Trait Implementations

impl<'a> !Send for DepthAttachment<'a>

impl<'a> !Sync for DepthAttachment<'a>