Enum glium::framebuffer::ColorAttachment [] [src]

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

Describes an attachment for a color buffer.

Variants

Texture

A texture.

RenderBuffer

A render buffer.

Trait Implementations

Derived Implementations

impl<'a> Clone for ColorAttachment<'a>

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

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

impl<'a> Copy for ColorAttachment<'a>