Enum 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> Copy for DepthAttachment<'a>
[src]

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Builds the DepthAttachment.