Enum glium::framebuffer::DepthAttachment [] [src]

pub enum DepthAttachment<'a> {
    Texture(TextureAnyImage<'a>),
    RenderBuffer(&'a DepthRenderBuffer),
}

Describes an attachment for a depth buffer.

Variants

Texture

A texture.

RenderBuffer

A render buffer.

Trait Implementations

Derived Implementations

impl<'a> Clone for DepthAttachment<'a>

fn clone(&self) -> DepthAttachment<'a>

fn clone_from(&mut self, source: &Self)

impl<'a> Copy for DepthAttachment<'a>