Enum glium::framebuffer::DepthStencilAttachment [] [src]

pub enum DepthStencilAttachment<'a> {
    Texture(TextureAnyImage<'a>),
    RenderBuffer(&'a DepthStencilRenderBuffer),
}

Describes an attachment for a depth and stencil buffer.

Variants

Texture

A texture.

RenderBuffer

A render buffer.

Trait Implementations

Derived Implementations

impl<'a> Clone for DepthStencilAttachment<'a>

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

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

impl<'a> Copy for DepthStencilAttachment<'a>